Skip to content

docs: Say what to do when asan fails a PR, and count the known list - #3586

Merged
vpacher merged 1 commit into
masterfrom
docs/asan-pr-failure
Nov 3, 2026
Merged

vpacher merged 1 commit into
masterfrom
docs/asan-pr-failure

Conversation

@vpacher

@vpacher vpacher commented Nov 3, 2026

Copy link
Copy Markdown
Member

What changed

  • New concept, docs/knowledge/asan-pr-failure.md: the order to follow when the asan job fails a PR. The known list is the last step, and never for a test the PR adds or changes.
  • Section 6 of the obs-worker skill points to the concept.
  • docs/knowledge/sanitizer-known-list.md points to the concept, and says that the goal is zero entries.
  • ci/test_sanitize_triage.py has KNOWN_ENTRIES, and fails when it does not match the list. An added entry raises the number in the diff. A dropped entry must lower it.

This does not block anyone: a worker can still raise the number. It makes that step visible to the reviewer and the coordinator.

RED and GREEN

This is a focused CI check, so the RED evidence is local.

  • GREEN: KNOWN_ENTRIES = 6, with the 6 entries on master: the test passes.
  • RED: KNOWN_ENTRIES = 5: AssertionError: 6 != 5 : the known list changed: lower KNOWN_ENTRIES when an entry goes; to add one, read docs/knowledge/asan-pr-failure.md first.

./lint passes on Linux.

Test cost: one new Python test that only compares two numbers. No Rust tests.

Fixes #3585
Refs #3576
Refs #3577

🤖 Generated with Claude Code

A new concept and a line in the worker skill put the known list last, after
fixing the test or the bug. KNOWN_ENTRIES in ci/test_sanitize_triage.py must
match the list, so an added entry shows in the diff and a dropped one lowers
the number.

Fixes #3585
Refs #3576
Refs #3577

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vpacher
vpacher requested a review from zackees as a code owner November 3, 2026 19:18
@vpacher
vpacher enabled auto-merge November 3, 2026 19:18
@vpacher
vpacher added this pull request to the merge queue Nov 3, 2026
Merged via the queue into master with commit 8c414e5 Nov 3, 2026
37 checks passed
@vpacher
vpacher deleted the docs/asan-pr-failure branch November 3, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

ci(sanitizers): keep the asan known list from growing

1 participant