ci: bound job and fix-ci runtime to fail fast (JDWLABS-27)#9
Merged
Conversation
Add timeout-minutes:30 to the main job and timeout-minutes:10 to the nx fix-ci step. Failed runs previously ran to GitHub's 6h max-job cap (the unguarded fix-ci self-heal loop), pinning the self-hosted runner and starving the queue for other PRs. Closes JDWLABS-27. Refs JDWLABS-22. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
|
View your CI Pipeline Execution ↗ for commit d9a5461
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗ ☁️ Nx Cloud last updated this comment at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stop failed CI runs from pinning the self-hosted runner for 6 hours.
Closes JDWLABS-27. Part of epic JDWLABS-22.
Changes
timeout-minutes: 30on themainjob.timeout-minutes: 10on thenpx nx fix-cistep (the unguardedif: always()self-heal loop that consumed the 6h cap on failed runs of PR refactor(structure): restructure repo to role-based layout (JDWLABS-20) #7).Why
Two failed runs of PR #7 each ran ~6h00m = GitHub's default max-job timeout, starving the ARC runner queue for other PRs. Bounding runtime makes failures terminate in minutes.
Verification
ci.ymlparses as valid YAML.🤖 Generated with Claude Code