Repository navigation
[CI] Build SSH host compatibility slots in parallel - #25821
Merged
Merged
Conversation
11 tasks done
nwparker
marked this pull request as ready for review
October 6, 2026 08:02
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
Build the three Linux SSH compatibility artifacts at the same time, then test them together.
What Changed
SSH hostile-host checks currently queue and build glibc 2.28, musl and glibc 2.17 artifacts one after another. Each builder now publishes its own artifact. The host-test job waits for all three, uses the existing release artifact merger, and requires the complete Linux slot set before building its template or running tests.
Why
These builds share no compiler work or running host. Their only dependency was carrying a manifest between jobs. Reusing the existing verified merger removes that dependency without dropping a platform, compiler floor, native smoke or host case. Six successful baseline runs spent 172–238 runner-seconds in the three builder jobs combined; their serial chain took 212–1,865 seconds including intervening queues. Those historical observations are not a measured saving.
Linked Issue
N/A — maintainer CI efficiency work.
Visual Proof
N/A — workflow scheduling only, with no application UI change.
Testing
27 workflow, artifact-merging and slot-content tests pass on macOS. Workflow lint, changed-code quality and formatting pass. Tests retain non-draft admission on all three independent builders, unique artifact names, isolated downloads, the complete-slot check and the host-test dependency on every builder. Existing merger tests reject changed bytes, duplicate slots, missing manifests and mismatched Node headers or node-pty versions.
Two hosted pairs use base production source
29e669680d60c, with the candidate differing only in the workflow and its contract test. Node/toolchain pins, compiler images and host cases match. The second pair reverses dispatch order. All 24 jobs across the four runs succeed. Both Linux logs report the same 8 passed / 2 platform-skipped cases; macOS jobs also succeed.Pair 1: original, candidate. Pair 2: original, candidate.
The Linux chain improves in both pairs. Whole-workflow gains are modest and queue-sensitive. Total runner time increases: unchanged Intel Mac jobs take 177s/127s in the originals and 244s/225s in the candidates, accounting for more than the overall increase. These observations establish successful parallel qualification, not daily runner savings, lower PR percentiles or a precise long-term latency forecast. The original PR check run also passed static analysis/typechecking, all five full unit shards and relay integration. The final aggregate was queued when the PR was marked ready; GitHub accepted the merge under normal repository policy without an administrator override.
Review
Self-reviewed for complete platform coverage, artifact validation, builder isolation, draft behavior and failure propagation. All existing Linux and macOS host tests remain. Unit assignments, worker counts and test discovery are unchanged.
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
This targets elapsed feedback time. Total builder work remains approximately the same, with an added verified merge. Queue differences and runner variation must be kept separate from execution-time improvements.
Baseline workload evidence: https://github.com/stablyai/orca/actions/runs/37414633180. The report sampled 415 of 6,810 workflow runs and estimates 17.3 runner-hours/day for SSH hostile-host checks; it is an estimate, not exact daily occupancy.
Checklist
N/Awith reason