Repository navigation
ci: the manual switch-on leg runs the headless server specs - #31108
Conversation
… serve-restart specs With H1's switch-on server template, these exercise main as the layout owner with no window. Spec paths are exact: the changed-spec job greps each file, so prefixes only work for ssh-orcad-.
9e3fc1a to
469e3e5
Compare
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to
|
…and serve-restart binding specs
ELI5
There is a manual test run that builds Orca with the new "main owns the layout" setting turned on. Until now it never covered the headless server specs:
orca serveand the managed server running with no desktop window. This PR adds them to that run, so the switch-on build gets checked where it matters most.What Changed
.github/workflows/layout-owner-e2e.yml: the switch-on leg'stest_filesgains 16 specs:headless-serve-*(7)headless-paired-remote-terminal-*(4; stall-recovery is@headfuland runs under Xvfb in CI)paired-mobile-serve-restart-terminal-tabslayout-compat-old-phone-on-new-serverlayout-compat-serve-restart-keeps-at-at-terminalspaired-mobile-desktop-tab-composition(the server workspace's tab strip with the window closed)paired-remote-terminal-serve-restart-binding(orca serverestart)orcad-serve-mode-switchis left out on purpose. Naming it would also start the Windows serve job, which builds a switch-off app and template, at about 45 runner-minutes per dispatch. The Linux orcad job already runs on a switch-on server for the headless oracle.The paths are exact files: the changed-spec job runs
grepon each entry, so only the managed-SSH job accepts thessh-orcad-prefix.The leg stays manual (dispatch only). No trigger, job or PR selection changes. It relies on #31097 (merged), which makes that leg's server template switch-on.
Why
The layout-owner work makes main the only layout writer with or without a window, and headless servers are the primary target. The switch-on leg already covered desktop specs and the Docker managed-SSH lane. Without these specs, a switch-on regression on
orca servewould only show up after the flip.Linked Issue
Terminal-layout final design, track H (H4). No issue.
Visual Proof
N/A. This changes a manual CI workflow only.
Testing
I ran the specs locally on macOS, hidden, with
--workers=2, using switch-on builds of the app,out/orcadand the template:old-phone-on-new-server: the darwin observations with the switch on and off are identical.serve-restart-keeps-@@-terminals: with the switch off, it fails earlier on macOS at itsactiveTabcheck. With that check bypassed locally, the switch-off and switch-on observations are identical.paired-mobile-desktop-tab-compositionand the automation-run test ofpaired-remote-terminal-serve-restart-bindingpass. "retains a verified mirrored PTY binding through a serve restart pending snapshot" fails on macOS 2 of 2 with the switch on and 2 of 2 with it off, on the same commit (the restarted shell's output check), so it is not caused by the switch.workspace-layout-oracle-headless, all 18 scenarios: pass on both the orcad and Electron hosts with the switch on.orcad-serve-mode-switch(not added): "a terminal survives Electron → orcad → Electron" fails the same way with the switch on and off on macOS (daemon pid). The other test passes.orcad-serve-open-url-on-desktop: not added. It fails with the switch on and off alike, because it expectsbrowser_host_unavailablewhile the host answersdesktop_browser_bridge_unavailable. That is a stale spec on main.pr-workflow-parallelism.test.mjs(the manual-only trigger check) passes, and so do actionlint andcheck:code-quality:changed.Review
Agent skill upstream boundary
Notes
CI-only; the change applies only when the leg is dispatched. It adds about 10–15 minutes to the leg's changed-spec job; the dispatch run at this head measures it against the 45-minute limit.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)First dispatch (run 39420581827, head 693e97b)
layout-compat-old-phone-on-new-server. This is a stale baseline. It also fails with the switch off on Linux (run 39424947430), and the only difference iscustomTitle, which fix(remote): make the host's tab name the one source for CLI and desktop renames #30037 added. test(e2e): the old-phone layout baseline lists customTitle on terminal rows #31127 fixes it.paired-remote-terminal-serve-restart-binding› "pending snapshot". It passes with the switch off on Linux (run 39424947430) and fails with the switch on: "never received the replacement host pending-handle frame". That makes it a switch-on bug in the frames/reconnect area, handed to that track. It is a finding for the flip gate, not a problem with this workflow change.