Repository navigation
refactor(renderer): organize terminal pane lifecycle and layout owners - #39242
Merged
Merged
Conversation
nwparker
force-pushed
the
module-layout-v2/pane-lifecycle-051bc5b
branch
from
November 7, 2026 01:34
8125aa3 to
04e92b0
Compare
6 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Terminal-pane lifecycle, layout, and controller responsibilities were scattered across the pane root and mixed aggregates. Move 128 modules and extract 86 concrete owners for mounting, layout operations, input, visibility, restoration, titles, and menu actions. The pane root drops from 426 files to 293.
Preserve hook and subscription order, captured initialization, callback identities, singleton state, and test assertions. Consumers and mocks import defining owners directly. Retire five mixed aggregates and the unused recovery portal forwarding export; update test selectors, path baselines, and the shutdown benchmark's current and historical owner resolution.
Preserve upstream's dictation target registration and hidden-tab focus guard in the extracted owners, together with the complete upstream async paste implementation, onboarding changes, mobile dictation fixes, web E2EE changes, and latest native-chat styling fix.
Validation:
Immediate pre-push
check:changedpassed 32 of 33 checks. The broad related-test run timed out at two minutes and reported an unchanged backend helper-recovery case. That file passed all 24 tests in isolation on the rebased branch; earlier matched original-branch/pristine-parent controls also passed 24/24. The capped local run is incomplete; the fresh full hosted workflow passed before merge.