Skip to content

refactor(renderer): organize terminal PTY transport owners - #39134

Merged
nwparker merged 2 commits into
mainfrom
module-layout-v2/terminal-transports-5117-v7
Nov 6, 2026
Merged

nwparker merged 2 commits into
mainfrom
module-layout-v2/terminal-transports-5117-v7

Conversation

@nwparker

@nwparker nwparker commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Groups terminal PTY adapters and delivery lifetimes under concrete pty-transport owners: IPC, input/output, shutdown, remote runtime, host ownership, and legacy relay. Moves 45 production files and 84 tests, updates consumers to defining-owner imports, and removes four forwarding declarations. The existing remote transport lifecycle remains cohesive.

Updates affected mocks and dynamic imports to implementation owners, including 41 dispatcher/shutdown mock factories; preserves assertions and retains original module admission before split dynamic imports. Rekeys validation metadata and adds two current commands while preserving historical reliability evidence.

Validation: full pnpm tc and 369 focused tests across 22 files for the move batch; another 134 tests passed (one skipped) across all 38 additional mock corrections; normal lint/format/AST commit hooks; reliability policy validation (153 gates). Independent source and boundary audits are validating the corrected head. Stacked on #39113 and will merge after its parent.

Files Added Deleted Net
Test 213 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​826 $\color{#cf222e}{\Huge{\mathbf{−}}}$​708 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​118
Prod 148 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​478 $\color{#cf222e}{\Huge{\mathbf{−}}}$​478 0

@nwparker
nwparker marked this pull request as ready for review November 6, 2026 18:35
@nwparker
nwparker force-pushed the module-layout-v2/terminal-interaction-e84c-v2 branch from 51171d9 to a256a2d Compare November 6, 2026 18:38
@nwparker
nwparker force-pushed the module-layout-v2/terminal-transports-5117-v7 branch 2 times, most recently from a86da26 to 6b098f2 Compare November 6, 2026 18:48
@nwparker
nwparker changed the base branch from module-layout-v2/terminal-interaction-e84c-v2 to main November 6, 2026 19:19
@nwparker
nwparker force-pushed the module-layout-v2/terminal-transports-5117-v7 branch from 6b098f2 to 3a90ee7 Compare November 6, 2026 19:19
@coderabbitai

coderabbitai Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

Finishing Touches

Generate docstrings

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@nwparker
nwparker merged commit 2462e9c into main Nov 6, 2026
58 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