-
Notifications
You must be signed in to change notification settings - Fork 1
ci(conformance): GHA-native retry for the prod lane (max 2 attempts) + flake annotation #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
3e6081c
ci(conformance): retry prod lane once (GHA-native), flag retried passes
devin-ai-integration[bot] 7fcd1f5
ci(conformance): raise prod retry per-attempt cap to 20m and job cap …
devin-ai-integration[bot] 16e00b9
ci(conformance): raise prod job cap 45->50m to fit worst-case two-att…
devin-ai-integration[bot] 1c8f901
ci(conformance): replace nick-fields/retry with an inline bash retry …
devin-ai-integration[bot] 22f3f51
ci(conformance): label prod-lane exit 124 as TIMEOUT in the result su…
devin-ai-integration[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Soft per-attempt timeout cap
Medium Severity
timeout 1200sendsSIGTERMand then waits for the process to exit. Without--kill-after, a runner that catchesSIGTERMfor graceful shutdown—or stays blocked on a hung Query API poll during that shutdown—never yields, so attempt 2 never starts and the job only dies at the 50-minute job ceiling. The stated 20-minute per-attempt cap is soft for the hang cases this retry is meant to cover.Reviewed by Cursor Bugbot for commit 1c8f901. Configure here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair point —
timeout(no--kill-after) sends only SIGTERM, so a process that traps SIGTERM and then hangs would keep the attempt alive until the 50-min job ceiling, defeating the per-attempt cap. In practice the runner isnode(and the driver a short-lived child), which terminates promptly on SIGTERM, so the realistic hang case still exits 124 and retries — and the job ceiling is the hard backstop.That said,
timeout --kill-after=60 1200 …(SIGTERM, then SIGKILL 60s later) would make the cap truly hard and is a one-line, low-risk hardening. But the exacttimeout 1200 <cmd>form is Pavel's explicit spec across all six PRs, so I don't want to silently deviate on all of them. Flagging for Pavel to confirm — if he's good with it I'll add--kill-after=60uniformly (and a137) TIMEOUT (SIGKILL)summary arm alongside the124)one).