You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: concurrency cancel-in-progress + timeout-minutes on 4 long-running workflows (#115)
## Summary
Resolves queue saturation. With proven on GitHub Pro (40 concurrent-job
ceiling), every push to a feature branch was spawning a fresh Idris2
build (~20 min) and Architecture Enforcement run **without superseding
the predecessor**. A 6-PR proof-debt session in ~90 min accumulated 32
in-progress + 36 queued jobs — blocking every other workflow.
## Change
Adds to 4 long-running workflows:
| Workflow | Concurrency | Per-job timeouts |
|---|---|---|
| architecture-enforcement.yml | + | enforce-idris-only: 5m,
verify-idris-build: 20m |
| idris2-ci.yml | + | build: 45m (cold-cache bootstrap), docs: 30m |
| zig-ffi.yml | + | build-cross: 15m, build-macos: 20m, wasm-browser:
15m, release: 10m |
| trustfile.yml | + | validate-trustfile: 5m, enforce-policies: 5m |
Each subsequent push to the same ref now cancels its predecessor. Stuck
jobs self-terminate at the declared budget instead of holding a slot for
the 6-hour default.
## Bonus
Closes the underlying `workflow_audit/missing_timeout_minutes` findings
(currently mislabeled as `workflow_audit/unknown` in the Security tab;
the label fix is hyperpolymath/hypatia#395) for these 4 workflows.
## Scope-out (deliberate)
Remaining workflows tracked as follow-up:
- `boj-build.yml`, `dogfood-gate.yml` — documented persistent-red
non-blocking jobs (commit 7260383)
- `casket-pages.yml`, `mirror.yml`, `instant-sync.yml`, `scorecard.yml`,
`spark-theatre-gate.yml` — reusable wrappers (short)
- `publish-*.yml`, `release.yml`, `cflite_*.yml` — rarely run
## Test plan
- [ ] CI green
- [ ] Push a fresh commit to this branch — verify the predecessor run on
this branch gets cancelled (concurrency working)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments