Skip to content

evidence-refresh: a det-mutation shard lost to the runner no longer fails the refresh (Part of #8509) - #8517

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8509-20261116T1053Z
Nov 16, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8509-20261116T1053Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

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 every always() step, so the shard uploaded no ledgers, and refresh failed on det-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. The refresh job tolerates a failed det-mutation job only when at least one shard marker is missing, at least one is present, and every present one says success. 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.

  • Siblings fixed here: the refresh fail gate and the auto-merge enable condition.
  • Sibling gaps: if shard 2 keeps dying it may be an out-of-memory kill during its long gt-work re-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, one echo per shard). Not a speed change.

Cross-repo: none.

🤖 Generated with Claude Code

…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]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 16, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 16, 2026 11:04
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 16, 2026 11:08
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot merged commit 08fdda5 into main Nov 16, 2026
64 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8509-20261116T1053Z branch November 16, 2026 11:14
@squid-protocol
squid-protocol restored the churn/8509-20261116T1053Z branch November 16, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant