Skip to content

fix(audit-engine): drop carried rule errors - #1081

Closed
WilliamK112 wants to merge 1 commit into
squirrelscan:mainfrom
WilliamK112:codex/drop-carried-rule-errors-1075
Closed

WilliamK112 wants to merge 1 commit into
squirrelscan:mainfrom
WilliamK112:codex/drop-carried-rule-errors-1075

Conversation

@WilliamK112

Copy link
Copy Markdown
Contributor

Summary

  • retire prior <rule>-error findings instead of carrying a timeout or thrown-rule failure onto an untouched page
  • preserve a matching fresh error from the current run
  • exclude run-local errors from complete-store untouched aggregates and defensively filter oversized report samples
  • document the behavior in the changelog

Fixes #1075.

Verification

  • bun test packages/audit-engine/tests/rule-error-no-resolve-999.test.ts packages/audit-engine/tests/complete-store-parity.test.ts packages/audit-engine/tests/timeout-no-resolve-968.test.ts — 79 passed
  • bun run typecheck
  • bun run lint
  • git diff --check

Checklist

  • I added or updated tests for behavioral changes.
  • I did not include secrets, customer data, or incompatible third-party material.
  • Every commit includes a DCO Signed-off-by line (git commit -s).

@WilliamK112
WilliamK112 force-pushed the codex/drop-carried-rule-errors-1075 branch 8 times, most recently from 3fa0905 to 20219c3 Compare October 24, 2026 12:52
@WilliamK112

WilliamK112 commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor Author

Rebased onto current main at 0871203; the new head is e396a48. The rebase resolved only the CHANGELOG entry, the commit remains patch-equivalent to the previously validated change, git diff --check passes, and the DCO trailer is preserved. The previous complete GitHub Actions suite was green; checks are rerunning on this head.

@WilliamK112
WilliamK112 force-pushed the codex/drop-carried-rule-errors-1075 branch from 20219c3 to e396a48 Compare October 26, 2026 00:38
@WilliamK112
WilliamK112 force-pushed the codex/drop-carried-rule-errors-1075 branch from e396a48 to 9f90b10 Compare October 26, 2026 06:38
@nc9 nc9 mentioned this pull request Oct 26, 2026
@nc9

nc9 commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Merged: landed in the v0.0.134 batch (#1149), main commits 9d427d6. Thank you @WilliamK112, treating a timeout row as a statement about one run rather than the page, and covering the materialized and oversized-sample paths as well as the plain merge, was careful work. (Nik)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(audit-engine): smart audits carry forward rule timeout rows from older runs

2 participants