Skip to content

test(topology): allow Phase 3's headless editor-tab retirement in the boundary ratchet - #25823

Merged
OrcaWin merged 1 commit into
OrcaWin/node-rt-phase3from
OrcaWin/node-rt-phase3-sync-topology-ratchet
Oct 6, 2026
Merged

OrcaWin merged 1 commit into
OrcaWin/node-rt-phase3from
OrcaWin/node-rt-phase3-sync-topology-ratchet

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2 0 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2
Prod 0 0 0 0

Summary

Main's #25329 added a ratchet test, terminal-topology-boundary-ratchet.test.ts, which allows only listed files to call terminal-layout writers. The main sync (#25729) brought it into phase3. Phase 3's src/main/runtime/mobile-session-editor-projection.ts calls setWorkspaceSessionForWorktree when it closes an editor tab on a headless host, and that file isn't on the list. So test / tests node 24 3/5 fails on every phase3 PR, for example #25802.

Fix

Add that file to the ratchet's setWorkspaceSessionForWorktree allow-list with a one-line reason. It writes the host's own session exactly as the headless mobile-session tab writers already on that list do (orca-runtime-move-headless-mobile-session-tab.ts, orca-runtime-persist-headless-session-tab-props.ts and others). Routing it through the topology boundary instead would be a design change to Phase 3 code, beyond a sync fix.

Verification

…'s boundary ratchet

Main's #25329 added the ratchet; phase3's mobile-session-editor-projection.ts writes the host's
own session through setWorkspaceSessionForWorktree, the same way the listed headless
mobile-session tab writers do.
@OrcaWin
OrcaWin merged commit 9d4c51f into OrcaWin/node-rt-phase3 Oct 6, 2026
37 checks passed
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