Skip to content

ci: bound every job with timeout-minutes so a stalled runner fails fast#1436

Open
xuyushun441-sys wants to merge 1 commit into
mainfrom
ci/job-timeouts
Open

ci: bound every job with timeout-minutes so a stalled runner fails fast#1436
xuyushun441-sys wants to merge 1 commit into
mainfrom
ci/job-timeouts

Conversation

@xuyushun441-sys
Copy link
Copy Markdown
Contributor

Why

On PR #1433 the Test job hung in_progress for ~19 min, and again for ~11 min on re-run. Diagnosis:

What

Add per-job timeout-minutes to every job in ci.yml:

Job timeout normal
Changeset Fixed Group Check 10m seconds
Test 20m ~6m
Build & E2E 30m ~4m
Build Docs 15m seconds
Dev-server fixture build 15m <1m

A future stall now fails quickly and is retryable instead of blocking a PR for hours.

Scope

This bounds the symptom. The underlying intermittent worker-exit hang (an open handle keeping a vitest worker alive under the turbo fan-out) is a separate follow-up — best pinpointed by running CI once with a hanging-process reporter (why-is-node-running / --reporter=hanging-process) to name the leaking package.

🤖 Generated with Claude Code

The Test job hung in_progress for ~19 min (then ~11 min on re-run) on PR #1433
— a stalled runner / non-exiting vitest worker (the cancelled job's cleanup
terminated orphaned turbo + node test processes). No job declared
`timeout-minutes`, so such a stall runs unbounded up to GitHub's 6h default
instead of failing fast.

Add per-job timeouts (test 20m, build/e2e 30m, docs/dev-server 15m,
changeset-check 10m) — the suites normally finish in well under these. A future
stall now fails quickly and is retryable rather than blocking the PR for hours.

This bounds the symptom; the underlying intermittent worker-exit hang (not
introduced by any one PR — it has passed on the same suite) is a separate
follow-up (pinpoint via a hanging-process reporter in CI).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
objectui Ignored Ignored Jun 1, 2026 1:00pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants