Repository navigation
ci: evidence refresh lanes so a push run cannot supersede the nightly/dispatched Db2 run - #4745
Merged
Merged
Conversation
…ightly / dispatched full run (Fixes #4743) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MQNoe4wPJgr7dbUvs3DG6D
Contributor
squid-protocol
marked this pull request as ready for review
October 9, 2026 03:42
squid-protocol
added a commit
that referenced
this pull request
Oct 9, 2026
…hecks register (#4757) The first full (Db2) refresh (run after #4745) opened bot PR #4756 but failed at 'Enable squash auto-merge': GitHub refuses auto-merge on a PR in clean status, which a freshly opened PR is until its checks register. Retry for up to 10 minutes; never merge before CI runs; leave the PR open with a warning if the checks never appear. Claude-Session: https://claude.ai/code/session_01MQNoe4wPJgr7dbUvs3DG6D 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 #4743
Problem
One concurrency group
evidence-refresh: GitHub keeps one pending run per group and a newer run cancels the older pending one even withcancel-in-progress: false. The nightly / dispatched Db2 run waited behind a running push refresh and was cancelled by the next push's run (37874905643 by #4742's).Design (Option A plus a hand-over, no new workflow file)
evidence-refresh-push(push) vsevidence-refresh-full(schedule, dispatch). A push run can no longer replace a full run.auto/evidence-refresh(push) andauto/evidence-refresh-full. Neither lane force-pushes over the other's PR.lanejob.det_coverage_ledger.py updaterewrites only the cases a sweep proved (build()keeps the rest), so a push run keeps main's Db2 entries;--skip-db2/--only-db2keep the record sets disjoint.Residual: a push PR that merged in the narrow window between the full run's start and its PR could leave the full PR dirty; it then waits for the next nightly. Accepted over regenerating mid-run.
Duration (measured, completed runs 37859714260 / 37866635888)
The two dominate equally and run sequentially; stale records are re-proved again in every run until the previous bot PR merges. No cheap safe speed-up, so follow-up #4744 (parallel jobs, skip duplicate re-proofs). Lane separation also removes most of the starvation that made runs look longer.
Checks
actionlint clean; zizmor clean (it caught an unsound
'' ||ternary in my first branch expression, fixed); evidence + proof_sweep tests pass;pr_gates.py --fast5/5.Verify after merge (orchestrator)
Evidence Refreshon main with db2=true; while it runs, merge any PR: the push run'slanejob should log "stands down" and itsrefreshjob be skipped; the full run must complete.auto/evidence-refresh-fullopens with auto-merge, carrying Db2 ledger entries and records.auto/evidence-refreshand must not drop the Db2 ledger entries.🤖 Generated with Claude Code