ci: add concurrency cancellation + job timeouts to cli CI#82
Merged
Conversation
Adds a per-ref concurrency group (cancels superseded PR runs only; push/tag/schedule never cancelled) and timeout-minutes to every job, so stale PR pushes stop wasting runner time and hung steps (kind boot, cosign) can't run to the 6h default. No change to job behavior. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Author
|
👋 Heads-up — Code review queue is at 36 / 30 Above the WIP limit. The team convention is to review existing PRs before opening new work. Open PRs currently in Code review (oldest first):
Pull from review before opening new work. (This is a nudge from the kanban WIP check, not a block.) |
shujaatTracebloc
approved these changes
Jun 17, 2026
This was referenced Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Small, mechanical CI-hygiene change across the three
cliworkflows. No job behavior changes — only adds run-cancellation and per-job timeouts.concurrencygroup added to each workflow (build,release,e2e).cancel-in-progressis gated ongithub.event_name == 'pull_request', so superseded PR runs are cancelled while push / tag / schedule runs are never cancelled.timeout-minuteson every job so a hung step (kind boot, cosign keyless signing, a stuckgo test) can't burn to the 6h GitHub default.Timeouts applied
build.ymlschema-driftbuild.ymltestbuild.ymllintbuild.ymlbuild(cross-compile matrix)release.ymlrelease(build + sign matrix)release.ymlpublishrelease.ymlbump-homebrew-tape2e.ymlintegration(kind cluster)Type
CI hygiene.
Test plan
yaml.safe_load).timeout-minuteskeys only — no step, trigger, permission, or matrix changes.concurrencyadded only where absent;timeout-minutesadded only to jobs lacking one.🤖 Generated with Claude Code