Skip to content

ci: add concurrency cancellation + job timeouts to cli CI#82

Merged
shujaatTracebloc merged 1 commit into
developfrom
ci/add-concurrency-timeouts
Jun 17, 2026
Merged

ci: add concurrency cancellation + job timeouts to cli CI#82
shujaatTracebloc merged 1 commit into
developfrom
ci/add-concurrency-timeouts

Conversation

@LukasWodka

Copy link
Copy Markdown
Contributor

Summary

Small, mechanical CI-hygiene change across the three cli workflows. No job behavior changes — only adds run-cancellation and per-job timeouts.

  • Per-ref concurrency group added to each workflow (build, release, e2e). cancel-in-progress is gated on github.event_name == 'pull_request', so superseded PR runs are cancelled while push / tag / schedule runs are never cancelled.
  • timeout-minutes on every job so a hung step (kind boot, cosign keyless signing, a stuck go test) can't burn to the 6h GitHub default.

Timeouts applied

File Job timeout-minutes
build.yml schema-drift 10
build.yml test 15
build.yml lint 10
build.yml build (cross-compile matrix) 20
release.yml release (build + sign matrix) 20
release.yml publish 20
release.yml bump-homebrew-tap 20
e2e.yml integration (kind cluster) 30

Type

CI hygiene.

Test plan

  • All three workflows re-parse as valid YAML (yaml.safe_load).
  • Diff is concurrency blocks + timeout-minutes keys only — no step, trigger, permission, or matrix changes.
  • concurrency added only where absent; timeout-minutes added only to jobs lacking one.

🤖 Generated with Claude Code

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>
@LukasWodka

Copy link
Copy Markdown
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.)

@LukasWodka LukasWodka added the devops DevOps / CI-CD / build & deploy label Jun 17, 2026
@shujaatTracebloc shujaatTracebloc merged commit 99c6c28 into develop Jun 17, 2026
15 of 16 checks passed
@shujaatTracebloc shujaatTracebloc deleted the ci/add-concurrency-timeouts branch June 17, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops DevOps / CI-CD / build & deploy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants