Skip to content

fix(deploy): keep consumer waiting for CI authorization - #5279

Merged
joelteply merged 1 commit into
canaryfrom
codex/deploy-authorization-wait
Oct 22, 2026
Merged

joelteply merged 1 commit into
canaryfrom
codex/deploy-authorization-wait

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

A published prebuilt can temporarily read CI Unknown while workflow-suite discovery catches up. The consumer previously exited for that observation, leaving its successful-spawn receipt to suppress another launch until the stranded backoff. IntelMac observed Unknown then Green for the same 4a2e3a0 candidate, with consumer exit and AlreadyActuated in between.

Classify publication/authorization uncertainty as SourcePending and retain the existing consumer custody and 60-second wait loop. The consumer rechecks until authorization is Green or the request is superseded. Unknown never authorizes fetching or installing; installation/resource failures retain their existing handling. No ledger resets or actuator backoff weakening.

Validation: git diff --check passes. Extended the existing selector fixture with same-source Unknown → Pending → failed read → Green, asserting no fetch before Green; existing red/ancestor selection cases remain. No new harness. Rust tests/build are pending CI because this node is actively serving. Independent review requested before integration. This is stabilization work so persistent residents reliably receive verified repairs; it does not claim live recovery yet.

Card: a20380a6-98fa-48bb-a847-ecd6a375295f.

@joelteply

Copy link
Copy Markdown
Contributor Author

Independent source review PASS at c75e387, conditional on CI. SourcePending is emitted only for selector publication/authorization uncertainty; ci_core_for routes it through the existing 60-second admission wait, renews custody, and checks superseding requests before each retry. Unknown/Pending/read errors cannot fetch. Operational/artifact refusal behavior remains distinct. The same-source recovery fixture covers no fetch until Green. This prevents new stranded actuation receipts; recovery of already exited consumers still needs a separate live receipt. No local compilation or deployment performed.

@joelteply
joelteply marked this pull request as ready for review October 22, 2026 17:23
@joelteply
joelteply merged commit ebd06d1 into canary Oct 22, 2026
8 checks passed
@joelteply
joelteply deleted the codex/deploy-authorization-wait branch October 22, 2026 17:23
joelteply added a commit that referenced this pull request Oct 22, 2026
…wed kernel diff replayed on canary

Recording #5273's squash with -s ours (6f4f556) kept this branch's copies of files canary had
updated after its last merge (Codex's #5274 in continuum-cli-lifecycle among them), so they would
have been reverted. This merge's tree is exactly git diff bb830dd..9b8a782 (the reviewed kernel
work) applied onto canary ebd06d1: every canary change is kept, every kernel change is in.
Checked: kernel 1,217 and core 7,329 pass (one order-dependent failure,
legacy_adoption_recovers_committed_file_without_receipt, passes alone: the shared-state class of
card c4d84be3); ratchets vs canary hold.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
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