You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
runner: a rule that throws on every page reports one fail per page and lowers the score; report it once as not evaluated #1291
A rule that throws is recorded by runner.ts as a <rule>-error check with status: "fail" and the rule's own severity, once per page. On a site where a rule throws on every page (seen in #1274 and #1276) a 30-page audit shows 30 fails for one defect in squirrel, and the score drops for it.
Report a throwing rule once per audit, and say it is squirrel's fault, not the page's.
Acceptance Criteria
A page rule that throws on N pages produces one <rule>-error check for the audit (with the affected pages listed), not N.
A rule error does not lower the audit score, and is reported as not evaluated (skipped with a reason), not as a page failure.
The first error message and the number of pages it hit are in the check details.
A test throws from a rule on several pages and asserts the single check and an unchanged score.
The JSON report docs describe the rule-error check.
Shipped in v0.0.144 (commits 24971bd, c13e084, 38f786f, 6e9ca14). Checked every acceptance criterion against current main: a rule that throws is reported once as not evaluated and does not lower the score.
Activity
fix(rules): a rule that throws is reported once as not evaluated, not…
fix(rules,report,cli): one folded rule-error check, site rules, --fai…
fix(rules): a rule that throws is reported once as not evaluated, not…
fix(rules,report,cli): one folded rule-error check, site rules, --fai…
docs(changelog): move the #1314 bullet under Unreleased, drop the sup…
test(report): a throwing rule is a rule-errored skip and its -errors …
nc9 commentedon Oct 30, 2026
Shipped in v0.0.144 (commits 24971bd, c13e084, 38f786f, 6e9ca14). Checked every acceptance criterion against current main: a rule that throws is reported once as not evaluated and does not lower the score.
nik