From 4d878c87371079c87fd80ba2362561f1f9379e2b Mon Sep 17 00:00:00 2001 From: "privilegedescalation-engineer[bot]" Date: Tue, 24 Mar 2026 16:27:52 +0000 Subject: [PATCH] ci: add concurrency guard to E2E workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prevents parallel E2E runs from conflicting over the shared headlamp-e2e Helm release in privilegedescalation-dev. With cancel-in-progress: true, a new push cancels any in-progress run on the same repo — only one E2E suite runs at a time. Observed failure: PR#109 and PR#108 ran concurrently and the auth setup in PR#109 timed out, likely due to resource contention on the shared headlamp-e2e instance. Co-Authored-By: Paperclip --- .github/workflows/e2e.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 4cda4d9..9693eca 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -10,6 +10,12 @@ on: permissions: contents: read +# Only one E2E run at a time: the shared E2E_RELEASE (headlamp-e2e) in +# privilegedescalation-dev cannot be shared across concurrent runs. +concurrency: + group: e2e-${{ github.repository }} + cancel-in-progress: true + env: E2E_NAMESPACE: privilegedescalation-dev E2E_RELEASE: headlamp-e2e