Repository navigation
fix: ship managed SSH server in hourly and daily builds - #26451
brennanb2025 wants to merge 1 commit into
Conversation
|
Status note: with the legacy SSH relay removed (#27214, #27215), the managed server is now the only way SSH hosts run, and hourly/daily workflows on main still don't build or require the server template ( |
|
The minimal delivery fix landed in #27407 (cc5c85f): hourly and daily builds now build the orcad template with the same |
|
Closing: not shipping the managed SSH server in the hourly and daily builds. |
ELI5
Hourly and daily builds left out the server package Orca installs on SSH machines. Those builds therefore stayed on terminal chat even when structured chat was enabled. They now ship the tested server package, and the Experimental setting correctly says managed SSH supports structured chat while WSL uses terminal chat.
What Changed
node-server-tests.ymlwithbuild_template: true. Packaging downloads the template after the app build and requires it through the existing before/after packaging checks. Failed qualification or missing artifacts cannot produce a package that silently falls back to terminal chat.Why
The missing package prevented the existing managed SSH path from reaching users between releases. Reusing the tested template builder and packaging guards fixes delivery at its source; adding structured chat to the legacy relay would create another execution path. New template jobs have read-only permissions, no signing environment or inherited secrets; existing action versions, signing environments and ref validation are preserved.
Compared with the common pattern:
Measured cost from the three latest successful ad hoc builds:
The observed median added wait is 16m03s because template qualification overlaps the existing relay build. This is a historical estimate for the reused job graph, not a timing of the changed scheduled workflows. Windows calls reuse the completed artifact; standalone Windows dispatch pays the template cost itself. Unchanged main avoids the cost.
Downloaded run 37727767580's template and checked all 90 manifest-listed files against their SHA-256 digests. The complete template contains 72,205,292 bytes (68.86 MiB), the added installed-app payload before signing, including nine host targets. The compressed Actions artifact is 27,681,346 bytes (26.40 MiB). Installer compression and macOS signing overhead were not measured, so the artifact size is not presented as an installer-size delta.
Linked Issue
Fixes the missing-template and stale settings-description findings from the managed SSH structured-chat investigation; no existing issue was supplied.
Visual Proof
The existing Experimental setting description changed. Its rendered component test passes; full-app before/after screenshots are pending the coordinator's hidden Electron QA. This remains a draft for that review and QA.
Testing
Passed on macOS:
ExperimentalPane.test.tsx.tc-gate.orca-ci-checks --no-typecheck: 22/22 checks passed after the queued renderer typecheck. Final-head GitHub CI completed: all 10 unit shards, relay integration, static analysis/typecheck, Linux packaging, both release-ref validators, repository guards and advisory unit-selection evidence passed.Two red checks are main's existing failure, with no new L2 failures identified:
profile-state-writer-stall.electron.test.tswithprofile-state-writer-timeout. The earlier independent run has the identical test, assertion and bundled stack locations. This PR changes none of that test's writer, fixture, launcher or workflow execution sources.package_windows: expected success, got failurefrom that same failure.Headless-server qualification/template jobs were skipped because the PR is a draft; unrelated specialized jobs were excluded by the path filters. Skips are not qualification or test passes. The required fail-fast checks watch was followed by a blocking run watch to wait for all remaining jobs; a transient local socket error required resuming that watch.
No release, publishing, hourly, daily or ad hoc workflow was dispatched. The ad hoc build publishes signed artifacts with existing release credentials, so validation used its historical job evidence plus workflow parsing and executed condition tests. This lane fixes package delivery; the separate managed-server launch and lifecycle fixes still require integrated SSH QA.
Review
Draft for coordinator review and integrated QA.
Agent skill upstream boundary
Notes
macOS and Windows ship the full Linux/macOS/Windows server target matrix. The remote protocol, folder/worktree handling and WSL execution behavior do not change.
Checklist