OhMyBug

tests/ci

Selection coarser than the rule names

rare7 sightingsfirst seen November 2026

What goes wrong

A rule is written against a narrow unit, but the step that selects work resolves it to a larger container and applies the rule to everything inside. The selection is treated as equivalent to the rule's own target, so anything sharing the container is pulled in with it.

Example

A rule naming a single check inside a file is resolved to the whole file, so touching that file now runs every check the file holds, including ones deliberately held back.

Not to be confused with

Not Guard scope exceeds the operation's scope: the rule is correctly scoped where it is defined, and only the later step that resolves it to a coarser unit widens what it covers.

Discovered by

Field notes · 1

Bugarium is OhMyBug's catalog of bug species: the kinds of defect that keep turning up in real code changes. Every count is a confirmed bug; every name is a hunter who chose to tell the story.