feat(require-checks): optional wait for checks still pending #42

Merged
john merged 1 commit from feat/require-checks-wait into main 2026-11-26 07:53:00 +00:00
Owner

Publish workflows start at a release tag at the same moment as CI. require-checks (and the signer, which re-checks the same contexts) refused when CI / check (push) was still pending; this caused a 403 on the Open WebUI provider's first signed release (retro, 26 Nov). Bifrost carries a hand-written wait-main.py for the same race.

  • forge.py require-checks --wait SECONDS SHA CONTEXT...: polls every <=15 s while a context is pending or not yet reported; fails at once on failure/error/cancelled/skipped; gives up at the deadline. Bounded 0..3600.
  • actions/require-checks: new wait input (default "0", unchanged behaviour).
  • 6 new offline tests (fake API + fake clock).

Consumer: CDK will generate this step before yawn deploy *_sign (next PR).

Publish workflows start at a release tag at the same moment as CI. `require-checks` (and the signer, which re-checks the same contexts) refused when `CI / check (push)` was still pending; this caused a 403 on the Open WebUI provider's first signed release (retro, 26 Nov). Bifrost carries a hand-written `wait-main.py` for the same race. - `forge.py require-checks --wait SECONDS SHA CONTEXT...`: polls every <=15 s while a context is pending or not yet reported; fails at once on failure/error/cancelled/skipped; gives up at the deadline. Bounded 0..3600. - `actions/require-checks`: new `wait` input (default `"0"`, unchanged behaviour). - 6 new offline tests (fake API + fake clock). Consumer: CDK will generate this step before `yawn deploy *_sign` (next PR).
feat(require-checks): optional wait for checks still pending
All checks were successful
Code Architecture / review (pull_request) Successful in 18s
Code Architecture / inventory (pull_request) Successful in 0s
CI / test (pull_request) Successful in 1m22s
8e31e6f249
A publish workflow starts at the release tag at the same moment as CI. Without a
wait, require-checks (or the signer behind it) sees CI / check (push) pending
and refuses. --wait SECONDS polls while a context is pending or unreported and
fails at once on a failed one. Default 0 keeps today's behaviour.
john merged commit 15f19438e1 into main 2026-11-26 07:53:00 +00:00
john deleted branch feat/require-checks-wait 2026-11-26 07:53:01 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
john/release!42
No description provided.