Skip to content

refactor(renderer): organize browser and terminal modules by owner - #43476

Merged
nwparker merged 4 commits into
mainfrom
module-layout-v2/browser-terminal-65c84d41
Nov 17, 2026
Merged

nwparker merged 4 commits into
mainfrom
module-layout-v2/browser-terminal-65c84d41

Conversation

@nwparker

@nwparker nwparker commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Browser and terminal code now lives beside the feature it implements, making the remaining renderer folders easier to navigate without changing how the app works.

What Changed

  • Move 75 production files and 13 retained test/support files into concrete browser and terminal owners. Both reviewed roots now have zero loose code files.
  • Update callers, mocks, build inputs, and active test metadata to their concrete owners. Remove the BrowserPane forwarding facade and redundant reexports; add no barrels or compatibility aliases.
  • Mark the worktree-card introduction as already seen in completed-user E2E profiles, preventing its overlay from blocking terminal test setup.
  • Remove five low-value test files and one orphan support file under the repository test policy, and remove prohibited registrations from mixed suites. Retain the original affected suites (14 files / 57 passing cases, including native Electron lifecycle coverage) and upstream sleep-preflight/queue coverage.

Why

The browser and terminal roots mixed unrelated responsibilities. Grouping host/guest integration, navigation, workspace mounting, prewarming, snapshots, and tab lifecycle with their existing owners completes this cohesive layout batch while preserving initialized stores, hook ownership, lazy imports, and runtime behavior.

Linked Issue

Internal continuation of the module ownership cleanup; no separate issue.

Visual Proof

N/A — file ownership and import paths change; rendered output and interactions are preserved.

Testing

  • Automated tests updated for moved owners; no new tests added because this is an ownership refactor.
  • Full pnpm tc, scoped oxlint, desktop build, and web build passed locally on macOS.
  • Retained affected suites: 14 files / 57 cases passed with ORCA_BACKGROUND_LAUNCH=1.
  • The upstream carry adds two production owners and three test/fixture owners; focused close/sleep suites pass 5 files / 19 cases after rebase.
  • Two independent refactor audits passed, including declaration bodies, literals, hooks, lazy identities, concrete import bindings, resource paths, and test cleanup.
  • Final post-rebase pnpm check:changed --maxWorkers=2: all 40 checks passed for the completed-profile fixture repair. Final required checks passed after the upstream carry: all 40 checks in 194 seconds, including affected unit tests, immediately before push.
  • Linux/Windows coverage runs in hosted CI; not exercised locally. No new platform or remote-host behavior.

Risk

Level: Medium

A missed import, mock, or build-resource path could prevent a browser or terminal feature from loading. Both builds, affected tests, complete import-contact audits, and hosted checks cover these boundaries. Production logic, persisted data, remote protocols, and platform branches are unchanged. A plain revert restores the prior layout.

Review

Two independent source/resource/test audits accepted the composed change. A separate rebase audit verified that current main's test and metadata removals survive exactly.

Agent skill upstream boundary

  • Not applicable; no upstream skill-installer material is copied or translated.

Checklist

  • Cohesive browser and terminal ownership scope
  • What changed, why, validation, and rollback explained
  • N/A visual proof with reason
  • Self-reviewed correctness, security, performance, cross-platform, SSH/remote, mobile, and folder workspace impact
  • Local typecheck, affected tests, and both builds passed; hosted CI covers the full matrix

Hosted validation update: a shared orchestration cleanup assertion passed on the first job retry after both pristine-base and PR controls passed all seven cases locally. The changed E2E lane exposed an existing completed-profile omission: the worktree-card intro intercepted terminal setup clicks. The profile now explicitly marks that intro seen. Pristine base reproduced 14 exact setup failures; the repaired head passed all hosted checks (35 successful, 24 skipped), including E2E. A later rebase carries upstream close-dialog/sleep changes into their new owners; final checks are rerun for that combined head.

@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request reorganizes browser and terminal modules into subdirectories and updates imports, test selectors, and analysis configuration to match. It removes several browser and terminal tests, adds a retained-registry test, and removes some terminal-module re-exports. Most described implementation changes update module paths; the summaries do not establish runtime behavior changes.

Merge Risk: Minimal · up to ffc53

This is a file-organization refactor with updated import paths and config references. No behavior or performance change is evident, so it is low risk to merge. Hosted CI on Linux and Windows remains the final confirmation, since those platforms were not exercised locally.

Pre-merge checks: Passed 3 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Description check Inconclusive The PR description follows the repository template: it includes ELI5, What Changed, Why, Linked Issue, Visual Proof (N/A with reason), Testing, Risk (Level: Medium with rollback), Review, Agent skill … 1. Reconcile the file counts. The description says 75 production files and 13 retained test/support files. The PR objectives say 73 production files and 10 retained test/support files. Correct whichever value is wrong. 2. Address the Testin…
Passed Passed checks: 3 passed

Check name Status Explanation
Title check Passed The title "refactor(renderer): organize browser and terminal modules by owner" matches the main change in the changeset: moving browser and terminal files under owner directories (e.g., browser-pane/h…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "refactor(renderer): organize browser and terminal modules by owner" matches the main change in the changeset: moving browser and terminal files under owner directories (e.g., browser-pane/host-guest, terminal/tab-lifecycle, terminal/workspace-mounting) with import path updates. It is specific and conventional, and it does not describe unrelated work. The description also mentions the E2E profile change and test removals, which the title does not cover, but that is expected for a short title.

Full details: Description check

Explanation

The PR description follows the repository template: it includes ELI5, What Changed, Why, Linked Issue, Visual Proof (N/A with reason), Testing, Risk (Level: Medium with rollback), Review, Agent skill upstream boundary, and a checked Checklist. The author fills the template substantively. Gaps: the Linked Issue section says there is no separate issue, and the template says outside contributors must link an actual issue. The author describes themselves as an internal contributor, so this is likely acceptable. The AI Disclosure section was omitted, which is allowed for internal team members. Testing lists local results and the hosted validation status, but the 'Every added test fails without this change' checkbox is unchecked and not addressed. The description also gives counts (75 production files, 14 files / 57 cases) that differ from the PR objectives (73 production files, 10 retained test/support files), which needs reconciliation.

Resolution

  1. Reconcile the file counts. The description says 75 production files and 13 retained test/support files. The PR objectives say 73 production files and 10 retained test/support files. Correct whichever value is wrong. 2. Address the Testing checklist item 'Every added test fails without this change and avoids the test anti-patterns'. Either confirm it applies (no new tests were added, so state that explicitly) or explain why it does not apply. 3. In Linked Issue, confirm that the maintainer exemption applies, since no issue is linked. 4. Clarify the status of the hosted validation. The description says final checks are being rerun for the combined head, while the objectives say the author is checking hosted results before merge. Confirm the current state.
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

LanguageTool

config/react-compiler-bailout-baseline.txt

LanguageTool could not check every text chunk; analysis is incomplete

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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9c74b1c2-9919-46be-b28a-b6237b5aa403
Commits

Reviewing files that changed from the base of the PR and between 6ffebc4 and ffc5391.

Files selected for processing: 194

  • config/direct-link-open-baseline.txt
  • config/flaky-test-pattern-baseline.txt
  • config/focus-setting-read-baseline.txt
  • config/react-compiler-bailout-baseline.txt
  • config/recurring-timer-baseline.txt
  • config/reliability-gates.jsonc
  • config/scripts/ci/sharding/ci-shard-timings.json
  • config/scripts/static-analysis/ratchets/renderer-state/check-terminal-parking-ownership-ratchet.mjs
  • config/scripts/workflow/source-routing/pr-layout-oracle-route.mjs
  • config/tsconfig.tc.web.json
  • config/tsconfig.web.json
  • src/main/browser/client-pages/renderer/browser-client-page-renderer-lifecycle.electron.test.ts
  • src/renderer/src/App.tsx
  • src/renderer/src/app-shell/chrome/use-app-chrome-layout.ts
  • src/renderer/src/app-shell/startup/use-app-startup-hydration.ts
  • src/renderer/src/app-shell/use-app-shell-services.ts
  • src/renderer/src/components/TerminalLegacyBrowserPanes.tsx
  • src/renderer/src/components/TerminalLegacyTerminalPanes.tsx
  • src/renderer/src/components/TerminalSplitWorkspaceSurfaces.tsx
  • src/renderer/src/components/TerminalWorktreeSplitSurface.tsx
  • src/renderer/src/components/browser-pane/BrowserPane.tsx
  • src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.markup.test.tsx
  • src/renderer/src/components/browser-pane/assemble-chrome/BrowserPaneOverlayLayer.tsx
  • src/renderer/src/components/browser-pane/assemble-chrome/browser-page-toolbar.tsx
  • src/renderer/src/components/browser-pane/assemble-chrome/browser-page-viewport-overlays.tsx
  • src/renderer/src/components/browser-pane/assemble-chrome/browser-workspace-pane.adoption-chrome.test.tsx
  • src/renderer/src/components/browser-pane/assemble-chrome/browser-workspace-pane.tsx
  • src/renderer/src/components/browser-pane/assemble-chrome/client-hosted/ClientHostedBrowserPagePane.failure-remount.test.tsx
  • src/renderer/src/components/browser-pane/assemble-chrome/client-hosted/ClientHostedBrowserPagePane.test.tsx
  • src/renderer/src/components/browser-pane/assemble-chrome/client-hosted/ClientHostedBrowserPagePane.tsx
  • src/renderer/src/components/browser-pane/assemble-chrome/client-hosted/client-hosted-browser-host-row-pane.tsx
  • src/renderer/src/components/browser-pane/assemble-chrome/client-hosted/client-hosted-browser-pane-test-rig.ts
  • src/renderer/src/components/browser-pane/assemble-chrome/client-hosted/client-hosted-browser-unavailable-notice.tsx
  • src/renderer/src/components/browser-pane/assemble-chrome/client-hosted/use-client-hosted-browser-intro-tour.ts
  • src/renderer/src/components/browser-pane/assemble-chrome/extensions/use-browser-extensions-tour.ts
  • src/renderer/src/components/browser-pane/assemble-chrome/focus/browser-page-guest-focus.ts
  • src/renderer/src/components/browser-pane/assemble-chrome/profile-routing/ssh-routed-browser-page-gate.tsx
  • src/renderer/src/components/browser-pane/assemble-chrome/profile-routing/ssh-workspace-browser-verified-routes.ts
  • src/renderer/src/components/browser-pane/assemble-chrome/profile-routing/use-ssh-workspace-browser-route.ts
  • src/renderer/src/components/browser-pane/browser-client-page-profile-staging.test.ts
  • src/renderer/src/components/browser-pane/browser-client-page-retained-drag-passthrough.test.ts
  • src/renderer/src/components/browser-pane/browser-client-page-retained-host-fixture.ts
  • src/renderer/src/components/browser-pane/browser-client-page-retained-registry.test.ts
  • src/renderer/src/components/browser-pane/devtools-dock/use-browser-devtools-dock-bounds.ts
  • src/renderer/src/components/browser-pane/host-guest/client-pages/browser-client-page-bootstrap-readiness.ts
  • src/renderer/src/components/browser-pane/host-guest/client-pages/browser-client-page-paint-retention.ts
  • src/renderer/src/components/browser-pane/host-guest/client-pages/browser-client-page-renderer-installation.ts
  • src/renderer/src/components/browser-pane/host-guest/client-pages/browser-client-page-retained-elements.ts
  • src/renderer/src/components/browser-pane/host-guest/client-pages/browser-client-page-retained-key.ts
  • src/renderer/src/components/browser-pane/host-guest/client-pages/browser-client-page-retained-memory-profile.ts
  • src/renderer/src/components/browser-pane/host-guest/client-pages/browser-client-page-retained-registry.test.ts
  • src/renderer/src/components/browser-pane/host-guest/client-pages/browser-client-page-retained-registry.ts
  • src/renderer/src/components/browser-pane/host-guest/client-pages/browser-client-page-retained-rekey.ts
  • src/renderer/src/components/browser-pane/host-guest/client-pages/browser-client-page-retained-release.ts
  • src/renderer/src/components/browser-pane/host-guest/client-pages/browser-client-page-retained-state.ts
  • src/renderer/src/components/browser-pane/host-guest/client-pages/browser-client-page-visible-attachment.ts
  • src/renderer/src/components/browser-pane/host-guest/metadata/browser-client-page-metadata-publish-e2e-fault.ts
  • src/renderer/src/components/browser-pane/host-guest/metadata/browser-client-page-metadata-publisher.ts
  • src/renderer/src/components/browser-pane/host-guest/metadata/browser-client-page-metadata-reporting.ts
  • src/renderer/src/components/browser-pane/host-guest/recovery/restored-client-hosted-recovery-window.ts
  • src/renderer/src/components/browser-pane/host-guest/viewport/browser-client-page-position-driver.ts
  • src/renderer/src/components/browser-pane/navigate/browser-client-hosted-download-notices.ts
  • src/renderer/src/components/browser-pane/navigate/browser-client-hosted-permission-notices.ts
  • src/renderer/src/components/browser-pane/navigate/browser-client-hosted-popup-notices.ts
  • src/renderer/src/components/browser-pane/navigate/browser-client-page-guest-metadata.ts
  • src/renderer/src/components/browser-pane/navigate/browser-download-destination-toast.ts
  • src/renderer/src/components/browser-pane/navigate/client-hosted-browser-load-failure.tsx
  • src/renderer/src/components/browser-pane/navigate/reopen-on-server/ReopenBrowserPageOnServerButton.tsx
  • src/renderer/src/components/browser-pane/navigate/reopen-on-server/browser-reopen-on-server.ts
  • src/renderer/src/components/browser-pane/navigate/use-browser-page-download-events.ts
  • src/renderer/src/components/browser-pane/navigate/use-client-hosted-page-initialization.ts
  • src/renderer/src/components/browser-pane/page-prompts/browser-external-app-prompt.fixture.tsx
  • src/renderer/src/components/browser-pane/page-prompts/browser-external-app-prompt.ts
  • src/renderer/src/components/browser-pane/page-prompts/browser-http-auth-prompt.ts
  • src/renderer/src/components/browser-pane/page-prompts/browser-javascript-dialog-prompt.ts
  • src/renderer/src/components/browser-pane/page-prompts/browser-page-prompts.tsx
  • src/renderer/src/components/browser-pane/page-prompts/browser-site-permission-copy.ts
  • src/renderer/src/components/browser-pane/page-prompts/browser-site-permission-prompt.ts
  • src/renderer/src/components/browser-pane/stream-remote/remote-browser-page-viewport.tsx
  • src/renderer/src/components/browser-pane/stream-remote/use-remote-browser-page-lifecycle.ts
  • src/renderer/src/components/browser-pane/use-ssh-workspace-browser-route.host-connection.test.tsx
  • src/renderer/src/components/floating-terminal/workspace/floating-workspace-terminal-actions.ts
  • src/renderer/src/components/right-sidebar/file-explorer/mutations/use-file-explorer-node-commands.ts
  • src/renderer/src/components/settings/browser/BrowserSitePermissionsSetting.tsx
  • src/renderer/src/components/settings/browser/browser-user-agent-migration-notice.ts
  • src/renderer/src/components/shared/kill-all-terminal-surfaces.ts
  • src/renderer/src/components/sidebar/workspace-card/surface/worktree-row-hover-prewarm.ts
  • src/renderer/src/components/sidebar/worktree-list/navigation/use-neighbor-prewarm.ts
  • src/renderer/src/components/tab-bar/recent-switcher/recent-tab-switching.ts
  • src/renderer/src/components/tab-bar/session-actions/cli-chat-resume-close-admission.ts
  • src/renderer/src/components/tab-bar/session-actions/cli-chat-resume-close-terminal.ts
  • src/renderer/src/components/tab-group/TabGroupPanel.tsx
  • src/renderer/src/components/terminal-cold-activation.ts
  • src/renderer/src/components/terminal-pane/controller/terminal-pane-types.ts
  • src/renderer/src/components/terminal-pane/layout/close/RunningTerminalCloseDialog.sleep.test.tsx
  • src/renderer/src/components/terminal-pane/layout/close/RunningTerminalCloseDialog.tsx
  • src/renderer/src/components/terminal-pane/layout/close/closed-terminal-leaf-notice.ts
  • src/renderer/src/components/terminal-pane/layout/close/pending-split-close-test-fixture.ts
  • src/renderer/src/components/terminal-pane/layout/close/terminal-pane-lifecycle-close.ts
  • src/renderer/src/components/terminal-pane/layout/close/use-terminal-pane-close-actions.ts
  • src/renderer/src/components/terminal-pane/layout/detach/terminal-pane-move-request-routing.ts
  • src/renderer/src/components/terminal-pane/layout/split/terminal-pane-split-request-routing.ts
  • src/renderer/src/components/terminal-pane/mounting/TerminalOverlaySlot.tsx
  • src/renderer/src/components/terminal-pane/mounting/TerminalPaneOverlayLayer.tsx
  • src/renderer/src/components/terminal-pane/mounting/terminal-pane-mount-events.ts
  • src/renderer/src/components/terminal-pane/parking/output-watchers/parked-terminal-tab-coverage.ts
  • src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-pty-watcher.ts
  • src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-worktree-retention.ts
  • src/renderer/src/components/terminal-pane/pty-transport/ipc/ipc-pty-connect.ts
  • src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport.ts
  • src/renderer/src/components/terminal-parking-pass-candidates.ts
  • src/renderer/src/components/terminal-workspace-keydown.test.ts
  • src/renderer/src/components/terminal/initial-terminal-structured-launch.test.tsx
  • src/renderer/src/components/terminal/provider-snapshots/terminal-provider-capability-revision.ts
  • src/renderer/src/components/terminal/provider-snapshots/terminal-provider-gone-sessions.ts
  • src/renderer/src/components/terminal/provider-snapshots/terminal-provider-snapshot-bound-pty-ids.ts
  • src/renderer/src/components/terminal/provider-snapshots/terminal-provider-snapshot-capability.ts
  • src/renderer/src/components/terminal/provider-snapshots/use-terminal-provider-snapshot-capability.ts
  • src/renderer/src/components/terminal/tab-lifecycle/close-local-terminal-tab-state.ts
  • src/renderer/src/components/terminal/tab-lifecycle/pty-running-work-probe.ts
  • src/renderer/src/components/terminal/tab-lifecycle/running-terminal-close-guard.test.ts
  • src/renderer/src/components/terminal/tab-lifecycle/running-terminal-close-guard.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-close-copy-kind.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-close-incarnation.test.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-close-incarnation.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-close-sleep-eligibility.test.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-close-sleep-eligibility.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-close-sleep.test.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-close-sleep.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-close-target.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-tab-actions.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-tab-bulk-actions.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-tab-close-intent.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-tab-close-running-confirm.test.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-tab-create.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-tab-owner-rows.test-fixture.ts
  • src/renderer/src/components/terminal/tab-lifecycle/window-close-running-work.ts
  • src/renderer/src/components/terminal/workspace-files/unsaved-close-queue.ts
  • src/renderer/src/components/terminal/workspace-files/use-worktree-files.ts
  • src/renderer/src/components/terminal/workspace-files/useTerminalSaveDialog.ts
  • src/renderer/src/components/terminal/workspace-mounting/activation-deferred-tab-admission.ts
  • src/renderer/src/components/terminal/workspace-mounting/active-terminal-repair-loop.react185.test.tsx
  • src/renderer/src/components/terminal/workspace-mounting/active-terminal-repair.ts
  • src/renderer/src/components/terminal/workspace-mounting/background-terminal-worktree-mount.test.ts
  • src/renderer/src/components/terminal/workspace-mounting/background-terminal-worktree-mount.ts
  • src/renderer/src/components/terminal/workspace-mounting/background-terminal-worktree-visibility.ts
  • src/renderer/src/components/terminal/workspace-mounting/split-group-mount.ts
  • src/renderer/src/components/terminal/workspace-mounting/startup-terminal-tab-hold.ts
  • src/renderer/src/components/terminal/workspace-mounting/unbound-restored-terminal-tab.ts
  • src/renderer/src/components/terminal/workspace-mounting/use-activation-deferred-tab-admission.ts
  • src/renderer/src/components/terminal/workspace-mounting/use-active-terminal-repair.ts
  • src/renderer/src/components/terminal/workspace-mounting/use-terminal-startup-activation.ts
  • src/renderer/src/components/terminal/worktree-prewarm/terminal-worktree-prewarm-targets.ts
  • src/renderer/src/components/terminal/worktree-prewarm/terminal-worktree-prewarm.ts
  • src/renderer/src/components/terminal/worktree-prewarm/terminal-worktree-retained-frames.ts
  • src/renderer/src/components/terminal/worktree-prewarm/use-terminal-worktree-prewarm.ts
  • src/renderer/src/components/use-terminal-bulk-close-actions.ts
  • src/renderer/src/components/use-terminal-close-actions.ts
  • src/renderer/src/components/use-terminal-controller.ts
  • src/renderer/src/components/use-terminal-editor-close-foundation.ts
  • src/renderer/src/components/use-terminal-editor-close-queue.ts
  • src/renderer/src/components/use-terminal-parking-foundation.ts
  • src/renderer/src/components/use-terminal-parking-pass.ts
  • src/renderer/src/components/use-terminal-watcher-effects.ts
  • src/renderer/src/components/use-terminal-workspace-foundation.ts
  • src/renderer/src/components/use-terminal-workspace-projection.ts
  • src/renderer/src/constants/terminal.ts
  • src/renderer/src/hooks/ipc-events/browser-automation-bootstrap-lease.ts
  • src/renderer/src/hooks/ipc-events/mobile-terminal-close-ipc-bridge.test.ts
  • src/renderer/src/hooks/ipc-events/mobile-terminal-close-ipc-bridge.ts
  • src/renderer/src/hooks/ipc-events/terminal-presentation-ipc-bridge.ts
  • src/renderer/src/hooks/ipc-events/terminal-request-ipc-bridge.ts
  • src/renderer/src/hooks/ipc-events/terminal-tab-mount-ipc-bridge.ts
  • src/renderer/src/hooks/ipc-events/terminal-ui-routing-ipc-bridge-split.test.ts
  • src/renderer/src/hooks/ipc-events/terminal-ui-routing-ipc-bridge.ts
  • src/renderer/src/hooks/ipc-tab-switch.ts
  • src/renderer/src/lib/agent-session/resume/wake-sleeping-agents-in-background.ts
  • src/renderer/src/lib/browser/navigation/visible-browser-link-target.ts
  • src/renderer/src/lib/workspace/activation/initial-surface/automatic-default-surface.ts
  • src/renderer/src/lib/workspace/activation/initial-surface/initial-terminal.ts
  • src/renderer/src/lib/workspace/activation/initial-surface/worktree-initial-terminal-seeding.ts
  • src/renderer/src/lib/workspace/activation/worktree-activation.ts
  • src/renderer/src/lib/workspace/creation/worktree-creation-background-mount.ts
  • src/renderer/src/lib/workspace/creation/worktree-creation-structured-session.test.ts
  • src/renderer/src/lib/workspace/creation/worktree-creation-structured-session.ts
  • src/renderer/src/lib/workspace/tabs/close/workspace-tab-close-commands.ts
  • src/renderer/src/lib/workspace/tabs/cycled-tab-owner-activation.ts
  • src/renderer/src/lib/workspace/tabs/tab-type-cycle.ts
  • src/renderer/src/main.tsx
  • src/renderer/src/runtime/web-session-tabs-sync/tracking/tracking-decisions.ts
  • src/renderer/src/startup/startup-degraded-recovery.ts
  • src/renderer/src/store/slices/browser/profiles/browser-profile-guest-reconciliation.ts
  • src/renderer/src/store/slices/worktrees/create/local-base-ref-refresh-toast.tsx
  • tests/e2e/helpers/e2e-completed-onboarding-profile.ts
Files with no reviewable changes: 40

  • config/flaky-test-pattern-baseline.txt
  • src/renderer/src/components/browser-pane/BrowserPane.tsx
  • src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.markup.test.tsx
  • src/renderer/src/components/browser-pane/assemble-chrome/client-hosted/use-client-hosted-browser-intro-tour.ts
  • src/renderer/src/components/browser-pane/assemble-chrome/profile-routing/ssh-workspace-browser-verified-routes.ts
  • src/renderer/src/components/browser-pane/browser-client-page-profile-staging.test.ts
  • src/renderer/src/components/browser-pane/browser-client-page-retained-drag-passthrough.test.ts
  • src/renderer/src/components/browser-pane/browser-client-page-retained-host-fixture.ts
  • src/renderer/src/components/browser-pane/browser-client-page-retained-registry.test.ts
  • src/renderer/src/components/browser-pane/host-guest/client-pages/browser-client-page-bootstrap-readiness.ts
  • src/renderer/src/components/browser-pane/host-guest/client-pages/browser-client-page-retained-memory-profile.ts
  • src/renderer/src/components/browser-pane/host-guest/client-pages/browser-client-page-retained-release.ts
  • src/renderer/src/components/browser-pane/host-guest/metadata/browser-client-page-metadata-publish-e2e-fault.ts
  • src/renderer/src/components/browser-pane/host-guest/recovery/restored-client-hosted-recovery-window.ts
  • src/renderer/src/components/browser-pane/host-guest/viewport/browser-client-page-position-driver.ts
  • src/renderer/src/components/browser-pane/navigate/reopen-on-server/ReopenBrowserPageOnServerButton.tsx
  • src/renderer/src/components/browser-pane/page-prompts/browser-javascript-dialog-prompt.ts
  • src/renderer/src/components/browser-pane/use-ssh-workspace-browser-route.host-connection.test.tsx
  • src/renderer/src/components/settings/browser/browser-user-agent-migration-notice.ts
  • src/renderer/src/components/terminal/initial-terminal-structured-launch.test.tsx
  • src/renderer/src/components/terminal/provider-snapshots/terminal-provider-capability-revision.ts
  • src/renderer/src/components/terminal/provider-snapshots/terminal-provider-gone-sessions.ts
  • src/renderer/src/components/terminal/provider-snapshots/terminal-provider-snapshot-bound-pty-ids.ts
  • src/renderer/src/components/terminal/provider-snapshots/terminal-provider-snapshot-capability.ts
  • src/renderer/src/components/terminal/provider-snapshots/use-terminal-provider-snapshot-capability.ts
  • src/renderer/src/components/terminal/tab-lifecycle/close-local-terminal-tab-state.ts
  • src/renderer/src/components/terminal/tab-lifecycle/running-terminal-close-guard.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-close-incarnation.test.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-close-sleep-eligibility.test.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-close-target.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-tab-bulk-actions.ts
  • src/renderer/src/components/terminal/tab-lifecycle/terminal-tab-owner-rows.test-fixture.ts
  • src/renderer/src/components/terminal/workspace-files/unsaved-close-queue.ts
  • src/renderer/src/components/terminal/workspace-files/use-worktree-files.ts
  • src/renderer/src/components/terminal/workspace-files/useTerminalSaveDialog.ts
  • src/renderer/src/components/terminal/workspace-mounting/activation-deferred-tab-admission.ts
  • src/renderer/src/components/terminal/workspace-mounting/background-terminal-worktree-mount.test.ts
  • src/renderer/src/components/terminal/workspace-mounting/startup-terminal-tab-hold.ts
  • src/renderer/src/components/terminal/worktree-prewarm/terminal-worktree-retained-frames.ts
  • src/renderer/src/lib/workspace/activation/initial-surface/initial-terminal.ts
Files skipped from review as they are similar to previous changes: 1

  • src/renderer/src/components/terminal/workspace-mounting/use-active-terminal-repair.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.

@nwparker
nwparker force-pushed the module-layout-v2/browser-terminal-65c84d41 branch from 6ffebc4 to ffc5391 Compare November 17, 2026 07:26
@nwparker
nwparker merged commit 8abbc91 into main Nov 17, 2026
102 of 104 checks passed
jinho-yoo-jack added a commit to jinho-yoo-jack/orca that referenced this pull request Nov 17, 2026
Brings the branch up to upstream 8abbc91. Resolves one conflict:

- TerminalWorktreeSplitSurface.tsx: take upstream's new path for
  terminal-worktree-prewarm (stablyai#43476) and keep the grid view imports.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang added a commit to audichuang/orca that referenced this pull request Nov 18, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner
folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string
vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's
own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines):
the fork specs import them there, read the fixture script from that folder, take expect from
@stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads
upstream's file-explorer helper from tests/e2e/editor/file-explorer.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 19, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner
folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string
vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's
own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines):
the fork specs import them there, read the fixture script from that folder, take expect from
@stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads
upstream's file-explorer helper from tests/e2e/editor/file-explorer.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner
folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string
vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's
own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines):
the fork specs import them there, read the fixture script from that folder, take expect from
@stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads
upstream's file-explorer helper from tests/e2e/editor/file-explorer.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner
folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string
vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's
own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines):
the fork specs import them there, read the fixture script from that folder, take expect from
@stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads
upstream's file-explorer helper from tests/e2e/editor/file-explorer.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner
folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string
vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's
own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines):
the fork specs import them there, read the fixture script from that folder, take expect from
@stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads
upstream's file-explorer helper from tests/e2e/editor/file-explorer.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 21, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner
folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string
vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's
own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines):
the fork specs import them there, read the fixture script from that folder, take expect from
@stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads
upstream's file-explorer helper from tests/e2e/editor/file-explorer.
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