Repository navigation
evidence-refresh: a det-mutation shard lost to the runner no longer fails the refresh (Part of #8509) - #8517
Merged
Conversation
…ails the refresh (Part of #8509) A runner killed by the platform (shutdown signal, exit 143) skips every always() step, so the shard uploads nothing and the whole refresh failed on two consecutive main runs. Each shard now writes a marker with its claim outcome; the refresh job tolerates a failed det-mutation job only when a shard's marker is missing and every present marker says success. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
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.
Part of #8509
What
The last two Evidence Refresh runs on main (43760566921, 43813382025) failed because the
det-mutation (2)runner was killed by the platform ("runner has received a shutdown signal", exit 143). A lost runner skips everyalways()step, so the shard uploaded no ledgers, andrefreshfailed ondet-mutation.result != 'success'. Shards 1 and 3 were fine. #8514 covered a hang inside the step, not a lost runner.Each shard now writes
shard-N.done(its claim outcome) in the always-run stage step. Therefreshjob tolerates a failed det-mutation job only when at least one shard marker is missing, at least one is present, and every present one sayssuccess. A failed claim still uploads its marker (failure) and still fails the run. The lost shard's stale cases are run again the next night, as a case past the budget already is; a::warning::names the lost shard.Class
A det-mutation shard lost to infrastructure fails the whole nightly refresh although its ledgers would just be renewed the next night.
gt-workre-runs (the log shows the kill about 90 s after the last mutant line), so 4 shards or a periodic partial-ledger save may still be needed. No burned-estate program needs it; it is CI hardening.Tests
tests/tools/test_evidence_refresh_shard_loss_8509.py(workflow structure plus the workflow's own shell run over temp dirs: lost shard, all present, failed claim with a lost shard, failed claim in a present shard, no artifact, two lost). Also green:test_evidence_refresh_artifact_names_8185.py,tests/cobol_mainframe/test_evidence.py,audit_check.py(all clear).CI cost
No new job or step minutes of note (one 1 s step in
refresh, oneechoper shard). Not a speed change.Cross-repo: none.
🤖 Generated with Claude Code