ci: cap validate-build at 15 minutes - #429
Conversation
Successful runs finish in 1-2 minutes. Without a job timeout, a wedged npm ci - seen on PR #395 when the node_modules cache had expired after 9 idle days and the registry connection stalled - occupies a runner for GitHub's full 6-hour default before being cancelled, and reports as an opaque failure on the PR. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
✅ Deploy Preview for docs-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This change caps the build validation job at 15 minutes to prevent indefinitely hung runs; no actionable merge-blocking risk remains beyond normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.) ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |

Summary
Adds
timeout-minutes: 15to thebuildjob invalidate-build.yml. Successful runs finish in 1-2 minutes; without a cap, a wedgednpm cioccupies a runner for GitHub's full 6-hour default before being cancelled.This is exactly what hit #395: the branch had been idle 9 days, so the
node_modulescache had been evicted, the resulting realnpm cistalled on the registry with no output, and the job hung for 6 hours before GitHub killed it - reported as an opaque check failure on a commit that only touched a header partial. (A re-run passed with no changes.)15 minutes is ~7x headroom over the slowest observed successful run, and the workflow already uses
timeout-minuteson its Go lint step.Test plan
🤖 Generated with Claude Code