Repository navigation
ci(sanitizers): keep the master asan archive for PRs - #3502
Merged
Merged
Conversation
The tests fail: the asan archive shares a family with tsan and valgrind, master restores before it saves, and a master push has no refresh. Refs #3501 Co-Authored-By: Claude Opus 5.5 <[email protected]>
A PR restores only what master saved. The nightly restored a stale archive and saved 1.79 GB, and the janitor deleted it, so every PR built cold. Give asan its own family, stop saving tsan and valgrind, build fresh on master, and refresh from a master push when the archive is gone or older than 6 hours. Fixes #3501 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.
Fixes #3501
Change
ci.toml: new familyzccache-sanitize-asan, maximum 1.2 GB. Thesanitizeshape leaveszccache.sanitizers.yaml: only asan restores and saves. Master does not restore. New inputbuild_only, forworkflow_callonly. A push run is not cancelled by a later push and does not share a concurrency group with the nightly.push.yaml: new jobsasan-cache-stateandasan-cache-refresh.ci/asan_cache_state.py: asks for a refresh if master has no archive or the newest is older than 6 hours. A failed query starts no build.sanitize.py:SANITIZE_BUILD_ONLYstops after the build.Evidence
ci/test_sanitize_cache.pyandtest_build_only_runs_no_test_and_no_launchfail on the RED commit: 19 of the checks in the new file fail or error.ci/test_*.pyfiles pass.ci-lint precheck --local: the same 9 violations as master, none in these files. One new WF-004 exception, recorded inci.toml../linton macOS fails intest_zsh_scripts_parse,test_video_init_failureandtest_tier2_run, files that this PR does not change. I did not run these on master or on Linux.Not tested
The new jobs have not run on GitHub. A master push is the first real run. To check after the merge:
asan cache statereportsrefresh=true, then the refresh saves an archive.-g1is not measured. If it is larger, the janitor deletes it.Tiers 1–4 do not apply: this is CI configuration. No user-visible change, so no features ledger line.
🤖 Generated with Claude Code