Skip to content

[CI] Build SSH host compatibility slots in parallel - #25821

Merged
nwparker merged 1 commit into
mainfrom
nwparker/ci-workflow-efficiency
Oct 6, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/ci-workflow-efficiency

Conversation

@nwparker

@nwparker nwparker commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

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

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below

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.

Measurement Pair 1 original → candidate Pair 2 original → candidate
Linux chain: first builder start to host-test job completion, including queues 591s → 396s (−195s, 33.0%) 422s → 348s (−74s, 17.5%)
Full workflow: run creation to final job completion 630s → 574s (−56s) 441s → 433s (−8s)
Three builders: sum of active job durations 201s → 198s 195s → 189s
Linux builders + host job: sum of active job durations 409s → 380s 365s → 366s
All six jobs: sum of active job durations 689s → 721s 561s → 665s

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

  • Not applicable, or this change follows docs/reference/agent-skill-sharing-upstream-boundary.md and 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

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • Targeted local checks, hosted SSH qualification and the original PR static/type/unit jobs pass; aggregate status is disclosed above.

@nwparker
nwparker marked this pull request as ready for review October 6, 2026 08:02
@nwparker
nwparker merged commit f6f96db into main Oct 6, 2026
53 of 54 checks passed
@nwparker nwparker changed the title Build SSH host compatibility slots in parallel [CI] Build SSH host compatibility slots in parallel Oct 9, 2026
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