Skip to content

refactor: organize workspace layout browser and session synchronization - #39574

Closed
nwparker wants to merge 6 commits into
module-layout-v2/runtime-resource-authority-owners-9186from
module-layout-v2/layout-browser-sync-56df
Closed

nwparker wants to merge 6 commits into
module-layout-v2/runtime-resource-authority-owners-9186from
module-layout-v2/layout-browser-sync-56df

Conversation

@nwparker

@nwparker nwparker commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Organize renderer workspace-layout, browser creation and session-tab synchronization around concrete feature owners. Move 168 cohesive modules (including the new upstream prompt-delivery test), partition pane intent state from pane-tree holds, and retire eight forwarding bindings in three existing synchronization siblings. Consumers, dynamic loaders, mocks and CI support paths import defining implementations directly.

Keep each state registry and reset with its owner; tests invoke both owner resets directly. Preserve existing synchronization, remote/browser placement, host identity and publication behavior. Remove two touched work-count-only tests and their counting fixture while retaining three live/persisted payload cases. State-owner mocks partially override the same replay callback and retain all other real state exports.

Stacked on #39571, after #39534. This branch leaves no loose modules at the renderer runtime root. Planning and detailed evidence remain local.

Validation:

  • 345 focused tests across 76 files pass. The final import/safety-comment supplement preserves complete body tokens, imported bindings and first emitted dependency order. Two upstream prompt-delivery tests pass at their final location.
  • Current renderer/type/static checks and all 41 changed static gates pass; normal commit/push hooks pass.
  • The broad local unit run reached its declared one-minute cap, which is not a pass. Hosted CI and two independent implementation reviews remain merge gates.
  • Explicit review remains for the four dynamic replay consumers: three await the actual state owner, and the shared cached loader retains lifecycle plus the actual state owner. Initialization/admission equivalence is not assumed.
Files Added Deleted Net
Test 319 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1530 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1553 $\color{#cf222e}{\Huge{\mathbf{−}}}$​23
Prod 288 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​956 $\color{#cf222e}{\Huge{\mathbf{−}}}$​881 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​75

@nwparker
nwparker force-pushed the module-layout-v2/runtime-resource-authority-owners-9186 branch from 56df786 to 81310a7 Compare November 7, 2026 20:17
@nwparker nwparker closed this Nov 7, 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