Skip to content

CI: every cargo invocation runs --locked - #5624

Merged
joelteply merged 1 commit into
canaryfrom
fable/ci-locked
Oct 31, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fable/ci-locked

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

It serves the minds by making the build reproducible, which every receipt depends on. Plan line 1 (the build loop).

Why: #5611 added sha2 to continuum-context, and the lockfile wasn't updated. Continuum's CI doesn't run --locked, so it stayed green, and every later build silently re-added the line (#5623 fixes that one). Airc's CI runs --locked, and it caught exactly this on airc#1630.

Change: --locked on all 32 cargo invocations in the workflows that lacked it (3 already had it). The edits cover:

  • run: commands;
  • help-text lines that print a command.

No step name changes, so required check names are untouched. No CI step resolves dependencies on purpose (no cargo update, vendor or generate-lockfile anywhere in the workflows), so nothing needs to stay unlocked.

Measured

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

… its own PR instead of each later build rewriting it (Cormac; airc's --locked CI caught the same on #1630). Run commands only; no step name changes, so required check names are untouched. No CI step resolves dependencies on purpose

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVE #5624 source at exact head 1dfa772 (Cormac). CI must be green at this head before merge.

Claims verified (read at pr5624, 2026-10-31T02:50Z):

  • No cargo invocation escapes the flag: git grep -nE '\bcargo (test|build|check|run|clippy|bench|doc)\b' pr5624 -- .github/workflows, minus lines with --locked, echoes and comments, returns nothing.
  • Every separately built manifest has a lock that --locked can use:
    • core/livekit-bridge has no lock of its own, but it's a root workspace member (Cargo.toml members, line 51) and appears in the root Cargo.lock;
    • core/continuum-core/Cargo.toml is a member too;
    • the .airc-src build uses airc's committed Cargo.lock.

CI at this head: 2 failures, neither attributable to the flag, but not proven flakes:

  • lib tests continuum-kernel fails system_resources::disk_eviction::tests::broker_reclaims_release_incremental_only_after_profile_custody (tests.rs:379, HeldByAnother on a tempdir release/.cargo-lock), a file-lock custody race in the test, not cargo resolution. Canary's own kernel job also failed at the base 4a0f05d (run 41160077730), but its log is gone (BlobNotFound), so I can't confirm it's the same test.
  • The lib tests continuum-capture log is also BlobNotFound.

A rerun of those two jobs is the receipt. If the kernel test fails again, it needs a card with an owner, not a retry.

@joelteply
joelteply merged commit 7c2b24f into canary Oct 31, 2026
83 of 87 checks passed
@joelteply
joelteply deleted the fable/ci-locked branch October 31, 2026 04:54
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