Repository navigation
Conversation
A transient HTTP 502 from the jobs-list request in check-pr-test-health failed an H20 shard before its tests ran (run 39695800431, attempt 3). actions/github-script defaults to zero retries. - Set `retries: 3` so 5xx responses are retried with backoff. - If the jobs-list request still fails, log a clear warning and skip the fail-fast check so the shard runs its tests. The final gate still enforces test results. Co-Authored-By: Claude Opus 5.5 <[email protected]>
em-dreyer
requested review from
Fridge003,
HaiShaw,
Kangyan-Zhou,
bingxche,
ispobock and
merrymercy
as code owners
October 22, 2026 23:01
4 of 5 tasks
This branch has not been deployed
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.
Motivation
check-pr-test-healthruns before every PR test shard to skip it when a sibling job has already failed. On #41916, its jobs-list request got a transient HTTP 502 from GitHub, andactions/github-scriptmade zero retries, so the shard failed before running any tests andpr-test-finishfailed the PR.base-c-test-8-gpu-h20 (1)(run 39695800431, attempt 3)retries: 0→RequestError [HttpError]: Server Error … status: 502→##[error]Unhandled errorx-ratelimit-remaining: 13235Modifications
retries: 3on theactions/github-scriptstep. Its built-in Octokit retry handles 5xx responses with backoff.pr-test-finishstill enforces test results.Tests
action.test.cjs: a jobs-list 502 after retries warns and doesn't fail the shard.node --test .github/actions/check-pr-test-health/action.test.cjswith Node 20: 6/6 pass.🤖 Generated with Claude Code
CI States
Latest PR Test (Base): ❌ Run #39869052486
Latest PR Test (Extra): ❌ Run #39869052487
Latest PR Test (AMD ROCm 10): ➖ No AMD PR run found for this commit.