Skip to content

Wait for PR preflight before admitting short required checks - #25317

Merged
nwparker merged 1 commit into
mainfrom
nwparker/ci-auxiliary-preflight-20261004
Oct 4, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/ci-auxiliary-preflight-20261004

Conversation

@nwparker

@nwparker nwparker commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

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

  • I manually tested these changes locally
  • Automated tests added/updated

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

  • Not applicable; no upstream skill source copied.

Notes

Application behavior, SSH execution, and platform support are unchanged.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • N/A with reason for visual proof
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered
  • Complete lint, typecheck, tests, and build — normal PR CI passed

@nwparker
nwparker marked this pull request as ready for review October 4, 2026 23:01
@nwparker
nwparker merged commit 0c761a7 into main Oct 4, 2026
32 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant