Repository navigation
Reduce avoidable work in PR checks and SSH test setup - #25309
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
PR checks spend less time on avoidable setup and waiting. The SSH deployment test now supplies a working launch response instead of waiting through a ten-second failed launch. The mobile web job skips native addon preparation, and advisory E2E waits for eligible preflight results.
What Changed
native-runtime: nonefor the mobile web build and its unchanged full check suite.Why
The dashboard identifies unit execution as the largest source of PR runner demand. A three-pair hosted Linux ARM comparison reduced this complete SSH test file from a 15.50-second median to 5.48 seconds, saving 10.03 seconds per invocation. This is a measured component gain, not a claim that total PR latency falls by the same amount.
A hosted Linux x64 comparison saved a consistent 1.05-second median in the warm native preparation stage (1.366 seconds versus 0.313 seconds). This is a small setup reduction; it does not establish a material change in total PR latency.
The E2E change avoids running checks on source whose selected preflight has already failed. The current combined-preflight sample contains only seven runner-minutes of avoidable E2E work; historical workflows had substantially more, so their savings are not projected onto this change. Eligible advisory feedback starts after preflight; required PR gates do not wait for E2E.
Linked Issue
N/A — internal CI efficiency follow-up.
Visual Proof
N/A — CI configuration and a test fixture; no application UI changes.
Testing
Independent review reran six relevant suites: 143 tests passed. Changed-code quality and Node typechecking pass. Local macOS qualification retained the full mobile production build and 486 prefix checks while denying prepared runtime addon loads.
Normal PR CI passed the required Verify gate, all five unit shards, Linux and Windows packaging, and every selected contract check.
Hosted mobile job: the production build and all 486 checks in 46 files passed with prepared runtime addon loads denied. The guard reached 51 workers; only the shipped Rolldown compiler binding was allowed. Real and synthetic addon controls were denied. All three alternating stage pairs restored the same exact native cache key.
Hosted SSH job: six alternating whole-file invocations each passed the same 31 named cases. Fault controls detected an absent READY response, improper repair, and a skipped health probe. Production SSH code and deadlines are unchanged.
Temporary benchmark workflows, guards, and source bundles are isolated on
nwparker/ci-pressure-hosted-pilot-20261004and excluded from this PR.Review
Independent code review found no blockers. GitHub status-function semantics and parsed workflow-condition tests cover successful, failed, cancelled, skipped, unknown, unselected, and readiness-reused admission.
Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdand copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.Notes
Production SSH behavior, cross-platform runtime preparation in other jobs, and required test coverage are preserved. The mobile job still installs all dependencies and runs all existing production build and browser checks.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (normal PR CI passed)