Repository navigation
Wait for PR preflight before admitting short required checks - #25317
Merged
Merged
Conversation
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.
ELI5
When lint or typecheck fails, stop admitting seven additional checks into the shared runner queue. Successful PRs still run every selected check.
What Changed
Git compatibility, Codex index-heal, xterm patch, shell, browser-provider, wire-compatibility, and Node 18 hook checks now wait for a successful physical preflight job. Their commands and required status remain unchanged. Mobile-only checks retain their existing immediate admission.
Why
In the captured 24-hour window, 19 failures under the current preflight configuration admitted 57 of these jobs, consuming 80.1 runner-minutes. Waiting avoids that demand instead of cancelling useful test coverage after a failure. On 57 successful full-unit runs, these checks took at most 2.5 minutes while unit shards took roughly 10–11 minutes. This supports overlapping them with units after preflight; it does not establish a PR p95 improvement, because subsequent queue waits can change.
Linked Issue
Follow-up to #25309; no separate issue.
Visual Proof
N/A — GitHub Actions scheduling only; no application UI change.
Testing
Tests evaluate the parsed workflow conditions for successful, failed, cancelled, missing, and skipped prerequisites; actual path selection; readiness reuse; and mobile-only changes. Seven focused suites passed 294 tests on macOS. Independent review passed 265 related tests and confirmed the final required gate rejects failed or unexpectedly skipped preflight. Changed-file lint and code-quality checks passed.
Normal PR CI passed the required Verify gate, all five unit shards, mobile bundle checks, Linux and Windows packaging, and all seven staged contract checks. The staged checks finished before the last unit shard.
Review
Independently reviewed with Codex sub-agents. Only the seven dependencies and admission conditions change; check bodies and the final required gate remain intact.
Agent skill upstream boundary
Notes
Application behavior, SSH execution, and platform support are unchanged.
Checklist
N/Awith reason for visual proof