Skip to content

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

Closed

Description

@vpacher

What happens

Since #3290 the asan job fails a PR on any unit-test failure or sanitizer report. The quick way to a green run is to add the test to KNOWN in rust/tools/sanitize/triage.py. A listed test still runs, but it can no longer fail the job, so a real bug in it stays hidden.

docs/knowledge/sanitizer-known-list.md says how to add an entry, but not when to fix the test instead. The worker skill does not mention asan failures. Nothing shows a reviewer that the list grew, other than the entry itself.

The goal for this list is zero entries.

What to do

  1. Add a concept, docs/knowledge/asan-pr-failure.md, with the order to follow: read the log, fix what is yours, make a timing test wait for its result, file an issue for a failure with no link to the PR. The known list is the last step, and never for a test the PR adds or changes.
  2. Add a line to section 6 of the obs-worker skill that points to the concept.
  3. Add KNOWN_ENTRIES to ci/test_sanitize_triage.py, and fail when it does not match the list. An added entry then raises the number in the diff, and 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.

The count depends on #3579, so the PR follows that merge.

Activity

  1. vpacher commented on Nov 3, 2026

    @vpacher
    MemberAuthor

    Claiming: #3585

    1. PR: the concept, the skill line and KNOWN_ENTRIES, after test: Stop three unrelated failures from failing the asan job #3579 merges.
  2. added
    ready
    on Nov 3, 2026
  3. moved this from In progress to Done in obs-rust Multiviewon Nov 4, 2026
  4. added a commit that references this issue on Nov 4, 2026
    8c414e5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions