From 9430288b1aa3c2d02f24a376c130f4ac26614d97 Mon Sep 17 00:00:00 2001 From: Eric Allam Date: Fri, 3 Jul 2026 10:37:56 +0100 Subject: [PATCH 1/2] fix: deploy the dashboard agent one environment at a time Parallel legs deploying the same Trigger.dev project raced: one leg failed to create the background worker while the other succeeded. Run the matrix with max-parallel 1 so the environments deploy sequentially. --- .github/workflows/dashboard-agent-deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/dashboard-agent-deploy.yml b/.github/workflows/dashboard-agent-deploy.yml index 6317fe7c61..efffaada8c 100644 --- a/.github/workflows/dashboard-agent-deploy.yml +++ b/.github/workflows/dashboard-agent-deploy.yml @@ -23,6 +23,8 @@ jobs: runs-on: ubuntu-latest strategy: fail-fast: false + # One environment at a time: parallel deploys of the same project race. + max-parallel: 1 matrix: environment: [staging, prod] # Per-environment reviewer gate + source of the scoped deploy PAT. From 789179090aff135b5261f718896a64fefefed313 Mon Sep 17 00:00:00 2001 From: Eric Allam Date: Fri, 3 Jul 2026 10:47:15 +0100 Subject: [PATCH 2/2] chore: use the repo standard Node version in the agent deploy workflow Aligns node-version to 22.23.1 (.nvmrc), matching every other workflow. --- .github/workflows/dashboard-agent-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dashboard-agent-deploy.yml b/.github/workflows/dashboard-agent-deploy.yml index efffaada8c..04dd78d6fb 100644 --- a/.github/workflows/dashboard-agent-deploy.yml +++ b/.github/workflows/dashboard-agent-deploy.yml @@ -51,7 +51,7 @@ jobs: - name: Setup node uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: - node-version: 20.20.2 + node-version: 22.23.1 cache: "pnpm" - name: Install + build the CLI and the agent's deps