Skip to content

ci: add concurrency cancellation + job timeouts to chart CI#265

Merged
saadqbal merged 1 commit into
developfrom
ci/add-concurrency-timeouts
Jun 18, 2026
Merged

ci: add concurrency cancellation + job timeouts to chart CI#265
saadqbal merged 1 commit into
developfrom
ci/add-concurrency-timeouts

Conversation

@LukasWodka

Copy link
Copy Markdown
Contributor

Summary

Adds CI hygiene to the two most expensive workflows in the repo — both had no concurrency control or job timeouts.

  • concurrency (per-github.ref group) on helm-ci.yaml and installer-tests.yaml, cancelling superseded PR runs only. Push and schedule runs are never cancelled (cancel-in-progress gated on github.event_name == 'pull_request'). Mirrors the pattern already in client-runtime's tests.yml.
  • timeout-minutes on every job (10 for lint/static/unit, 20 for Pester/distro-prereqs, 30 for the real-k3d e2e jobs) so a hung cluster/squid/distro step can't run to the 6h default.

Why these two: helm-ci.yaml spins a real k3d cluster (upgrade-e2e) plus two 4-platform matrices; installer-tests.yaml runs a 9-distro docker-in-docker matrix + real-k3d e2e-cluster + Windows Pester. Without cancel-in-progress, every PR re-push left the previous full run burning to completion.

Type

  • CI hygiene / cost reduction

Test plan

  • Both files parse as valid YAML (yaml.safe_load); all 6 jobs in each now carry timeout-minutes; top-level concurrency present.
  • No behavior change to what the jobs do — only scheduling/cancellation and timeouts.

🤖 Generated with Claude Code

helm-ci.yaml and installer-tests.yaml are the repo's most expensive
workflows (a real k3d cluster, a 9-distro docker-in-docker matrix, Windows
Pester) but had no concurrency control, so a PR re-push left stale runs
burning to completion. Add a per-ref concurrency group that cancels
superseded PR runs only (push/schedule runs are never cancelled), matching
the pattern already used in client-runtime's tests.yml. Add timeout-minutes
to every job so a hung k3d/squid/distro step can't run to the 6h default.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@LukasWodka

Copy link
Copy Markdown
Contributor Author

👋 Heads-up — Code review queue is at 31 / 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
@saadqbal saadqbal merged commit 57b825b into develop Jun 18, 2026
34 checks passed
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.

2 participants