Skip to content

Commit 9430288

Browse files
committed
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.
1 parent ea9d6f7 commit 9430288

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/dashboard-agent-deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
runs-on: ubuntu-latest
2424
strategy:
2525
fail-fast: false
26+
# One environment at a time: parallel deploys of the same project race.
27+
max-parallel: 1
2628
matrix:
2729
environment: [staging, prod]
2830
# Per-environment reviewer gate + source of the scoped deploy PAT.

0 commit comments

Comments
 (0)