Skip to content

A superseded cache warm-up no longer makes a green commit undeployable (card 28463ba7) - #5521

Merged
joelteply merged 1 commit into
canaryfrom
28463ba7/a-superseded-cancelled-ci-run-reads-as-r
Oct 27, 2026
Merged

joelteply merged 1 commit into
canaryfrom
28463ba7/a-superseded-cancelled-ci-run-reads-as-r

Conversation

@joelteply

@joelteply joelteply commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Why

A node runs fixes only once its deploy tracker authorizes a published build. On enrico (2026-10-27), no canary commit after e653e46 could be authorized while #5506/#5508/#5510/#5515 merged: deploy.track.decision verdict=ChecksUnknown every 5 minutes. Card 28463ba7. Its scope was corrected twice:

  • the tracker already picks the newest published, green commit;
  • the hourly, serial publish is by design.

Cause

"Warm the shared Rust build cache" was a job of Continuum Rust Tests, with a job-level concurrency group per branch (continuum-rust-warm-cache-${{ github.ref }}). A newer canary push cancels the older queued warm-up, and that check run concludes cancelled. parse_tip_checks counts cancelled as Red (hard_fail), so a commit whose real tests were green read red. That happened on 791328a and on 8d6656f. The warm-up gates nothing: its own comment says "a failed warm-up only leaves the previous cache".

What

  • The warm-cache job moves unchanged into .github/workflows/rust-warm-cache.yml, with the same trigger (push to canary) and the same CARGO_INCREMENTAL: 0, so cached units still fingerprint-match the test jobs.
  • That path joins NON_DEPLOY_WORKFLOW_PATHS beside core-binaries and promote-main. It's excluded by its own suite, the existing rule; no by-name exclusion and no change to how cancelled is read.
  • CI cost: unchanged (the same job, moved).

Verified (enrico, at the content of 33c60b8 before its rebase onto 6417d15)

  • cargo test -p continuum-core --lib -- modules::deploy_tracker: 5 passed, including the new a_cancelled_cache_warm_up_is_never_the_tips_verdict, which asserts:
    • cancelled warm-up + green tests = Green;
    • queued warm-up + green tests = Green;
    • green warm-up + cancelled real test = Red;
    • warm-up as the only suite = Unknown.
  • Mutation: with the path removed from NON_DEPLOY_WORKFLOW_PATHS, the test FAILS at its first assertion (line 796). Restored, it passes.
  • source-hygiene ratchets -- origin/canary: exit 0.
  • Nothing else references the job id or name (git grep).

Measured after merge

Owner Cormac: the next canary push that supersedes a queued warm-up leaves the previous commit's tests run not cancelled. The tracker then authorizes a published build of it, and no ChecksUnknown streak outlasts the newest publication.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

…e (card 28463ba7)

Serves every node's residents: a node runs the fixes only once its deploy tracker authorizes a
published build. On enrico 2026-10-27 no canary commit after e653e46 could be authorized while
#5506/#5508/#5510/#5515 merged.

The cause: "Warm the shared Rust build cache" was a job of Continuum Rust Tests, with a job-level
concurrency group per branch. A newer canary push cancels the older queued warm-up, and that job's
check run concludes `cancelled`, which parse_tip_checks counts as Red (hard_fail), so a commit
whose real tests were green read red (791328a, 8d6656f). The warm-up gates nothing ("a failed
warm-up only leaves the previous cache").

The job moves unchanged into its own workflow, .github/workflows/rust-warm-cache.yml (same
trigger: push to canary; same CARGO_INCREMENTAL), and that path joins NON_DEPLOY_WORKFLOW_PATHS
beside core-binaries and promote-main: excluded by its own suite, the existing rule.

Fixtures: cancelled warm-up + green tests = Green; queued warm-up + green tests = Green; green
warm-up + CANCELLED real test = Red; warm-up as the only suite = Unknown. Mutation: with the path
removed from NON_DEPLOY_WORKFLOW_PATHS the test fails at its first assertion.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
@joelteply
joelteply merged commit 5ba6b7f into canary Oct 27, 2026
32 checks passed
@joelteply
joelteply deleted the 28463ba7/a-superseded-cancelled-ci-run-reads-as-r branch October 27, 2026 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant