Skip to content

resolution: a rule that throws on every page resolves its prior findings (key absent) #999

Closed

Description

@nc9

What happens

A rule that throws an error is recorded as a <rule>-error check with status fail and no pageUrl (packages/rules/src/runner.ts ~582). In the smart-audit resolution signal it is a site-scope check, so it emits nothing. When a rule throws on every page of a run, none of its real check keys exists, the consumer reads the absent key as "no signal", and a prior finding of that rule on a re-crawled page resolves as fixed although the rule never finished. Same class as #968 (timeouts), fixed there with a rule-wide <rule>|* not-evaluated key.

Acceptance Criteria

  • When a rule throws on every crawled page, a prior finding of that rule on those pages is carried, not resolved, in the resolution signal and in the merge.
  • A rule that throws on some pages keeps carrying those pages' prior findings.
  • A test covers an all-pages throw through buildResolutionSignal and through the merge.
  • Older consumers and producers stay compatible (an old consumer ignores what it does not know and only ever carries).

Activity

  1. added
    bug
    size: S
    rules
    on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugrulessize: S

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions