Repository navigation
docs: Say what to do when asan fails a PR, and count the known list - #3586
Merged
Merged
Conversation
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
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.obs-workerskill points to the concept.docs/knowledge/sanitizer-known-list.mdpoints to the concept, and says that the goal is zero entries.ci/test_sanitize_triage.pyhasKNOWN_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.
KNOWN_ENTRIES = 6, with the 6 entries on master: the test passes.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../lintpasses 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