Skip to content

Commit 119c49d

Browse files
bloveclaude
andauthored
ci: cap Vercel deploy jobs at 30min to prevent concurrency-group lockups (#710)
The main CI concurrency group is cancel-in-progress:false (don't kill a deploy mid-flight), so a hung job blocks all later runs/deploys. The four Vercel deploy jobs had no timeout (GitHub's 6h default) — today a hung 'Deploy → Vercel' froze deploys for ~4h. A 30min cap (legit deploys take ~12min) turns a hang into a fast failure instead of a multi-hour lockup. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 3b47698 commit 119c49d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ jobs:
229229

230230
cockpit-deploy-smoke:
231231
name: Cockpit — deploy smoke dry-run
232+
timeout-minutes: 30 # fail fast instead of blocking the main concurrency group on a hang
232233
needs: ci-scope
233234
if: github.event_name == 'push' || needs.ci-scope.outputs.cockpit_deploy_smoke == 'true'
234235
runs-on: ubuntu-latest
@@ -595,6 +596,7 @@ jobs:
595596
596597
deploy:
597598
name: Deploy → Vercel
599+
timeout-minutes: 30 # fail fast instead of blocking the main concurrency group on a hang
598600
needs:
599601
[
600602
library,
@@ -783,6 +785,7 @@ jobs:
783785
784786
demo-deploy:
785787
name: Canonical demo → Vercel
788+
timeout-minutes: 30 # fail fast instead of blocking the main concurrency group on a hang
786789
needs: [examples-chat-smoke, examples-chat-e2e]
787790
runs-on: ubuntu-latest
788791
if: ${{ always() && !cancelled() && github.ref == 'refs/heads/main' && github.event_name == 'push' }}
@@ -859,6 +862,7 @@ jobs:
859862
860863
ag-ui-demo-deploy:
861864
name: ag-ui demo → Vercel
865+
timeout-minutes: 30 # fail fast instead of blocking the main concurrency group on a hang
862866
needs: [examples-ag-ui-e2e]
863867
runs-on: ubuntu-latest
864868
if: ${{ always() && !cancelled() && github.ref == 'refs/heads/main' && github.event_name == 'push' }}

0 commit comments

Comments
 (0)