mirror of
https://github.com/stablyai/orca.git
synced 2026-10-30 16:47:34 +00:00
* fix(layout): restored terminals named only on their tab reattach after a restart (dark, layout-owner build only) In a layout-owner build, a terminal recorded only on its tab (an older session, or an SSH tab whose relay session was never visited) started a new shell after a restart and orphaned the old one, and an unvisited SSH tab lost its relay session id on the next save. - Main's Loader binds a one-pane tab's own terminal to its unbound pane in a workspace that was live at shutdown, as the window's reconnect does, so main's frames and saves hold it. - The window's reconnect writes the restored row terminal again: ptyId is a field the frame merge leaves to the window, so main's frames never set it on a restored row. * fix(layout): main binds a restored tab's own terminal once at load, not on every Loader run (dark, layout-owner build only) The Loader re-derived the binding on each load from fields the window rewrites live, so an exit main recorded could be undone. A switch-gated Store load repair now binds a one-pane tab's own terminal to its unbound pane, as the window's reconnect does, and main's saves keep it. It skips a terminal another mounted pane or a tab-bar tab holds, and a paired server's partition. * fix(layout): an SSH workspace's restored tab binds only its relay session id; repair runs after the load purge (dark, layout-owner build only) * test(layout): the reconnect gate test expects the row ptyId write; cover the repair's purge order and SSH repo predicate --------- Co-authored-by: E2E Test <e2e@test.local>
79 lines
3.5 KiB
JSON
79 lines
3.5 KiB
JSON
{
|
|
"extends": "./tsconfig.web.json",
|
|
"exclude": [
|
|
"../src/shared/**/*.test.ts",
|
|
"../src/shared/**/*.test.tsx",
|
|
"../src/shared/**/*.spec.ts",
|
|
"../src/shared/**/*.spec.tsx"
|
|
],
|
|
"include": [
|
|
"../src/renderer/src/env.d.ts",
|
|
"../src/renderer/src/**/*",
|
|
"../src/renderer/src/**/*.tsx",
|
|
"../src/preload/api-types.ts",
|
|
"../src/preload/api/**/*",
|
|
"../src/preload/browser-client-page-renderer-requests.ts",
|
|
"../src/preload/browser-find-subscriptions.ts",
|
|
"../src/preload/close-active-tab-payload-admission.ts",
|
|
"../src/preload/e2e-config.ts",
|
|
"../src/preload/gitlab.ts",
|
|
"../src/preload/preload-runtime-support.ts",
|
|
"../src/preload/renderer-heap-statistics-reader.ts",
|
|
"../src/preload/renderer-process-memory-reader.ts",
|
|
"../src/preload/renderer-restart-wiring.ts",
|
|
"../src/preload/runtime-environment-subscriptions.ts",
|
|
"../src/preload/usage-provider-api.ts",
|
|
"../src/shared/**/*",
|
|
"../src/packages/process-host/src/__fixtures__/**/*",
|
|
"../src/main/gitlab/mappers.ts",
|
|
"../src/main/runtime/sidebar-inputs/sidebar-clock.ts",
|
|
"../src/main/runtime/sidebar-inputs/sidebar-retention-owner.ts",
|
|
"../src/main/runtime/sidebar-inputs/producer-revision.ts",
|
|
"../src/main/runtime/sidebar-inputs/sidebar-inputs-feed.ts",
|
|
"../src/main/runtime/sidebar-inputs/sidebar-inputs-feed-log.ts",
|
|
"../src/main/runtime/sidebar-inputs/sidebar-inputs-feed-pages.ts",
|
|
"../src/main/runtime/sidebar-inputs/sidebar-inputs-feed-pins.ts",
|
|
"../src/main/runtime/sidebar-inputs/sidebar-inputs-feed.test-fixture.ts",
|
|
"../src/main/jira/adf-markdown.ts",
|
|
"../src/main/jira/adf-text-marks.ts",
|
|
"../src/main/jira/adf-media-destination.ts",
|
|
"../src/main/ipc/deferred-emoji-shortcode-dataset.ts",
|
|
"../src/main/ipc/worktree-branch-name.ts",
|
|
"../src/main/ipc/worktree-logic.ts",
|
|
"../src/main/ipc/worktree-display-name.ts",
|
|
"../src/main/ipc/worktree-linked-work-item-metadata.ts",
|
|
"../src/main/ipc/worktree-metadata-merge.ts",
|
|
"../src/main/wsl-availability.ts",
|
|
"../src/main/wsl-directory-probe-command.ts",
|
|
"../src/main/wsl-distro-list-output.ts",
|
|
"../src/main/wsl-distro-retry.ts",
|
|
"../src/main/wsl-running-distro-cache.ts",
|
|
"../src/main/wsl-home-cache.ts",
|
|
"../src/main/wsl.ts",
|
|
"../src/main/wsl-interop-spawn-directory.ts",
|
|
"../src/main/wsl-exe-process.ts",
|
|
"../src/main/persistence/applying-settings/ui-state-read.ts",
|
|
"../src/main/persistence/tracking-repos/worktree-identity-migration.ts",
|
|
"../src/main/persistence/tracking-repos/worktree-identity-row-repoint.ts",
|
|
"../src/main/persistence/restoring-sessions/tab-terminal-pane-binding-repair.ts",
|
|
"../src/main/persistence/window-save-view.ts",
|
|
"../src/main/persistence/applying-settings/ui-state-update.ts",
|
|
"../src/main/persistence/applying-settings/ui-selection-normalization.ts",
|
|
"../src/main/persistence/applying-settings/ui-interaction-merge.ts",
|
|
"../src/main/protected-secret-persistence.ts",
|
|
"../src/main/startup/serve-desktop-activation.ts",
|
|
"../src/main/startup/serve-mode-argv.ts",
|
|
"../src/main/startup/single-instance-lock.ts",
|
|
"../src/main/startup/startup-diagnostics.ts",
|
|
"../src/main/window/focus-existing-window.ts",
|
|
"../src/main/window/foreground-activation-policy.ts",
|
|
"../src/main/window/macos-app-activation.ts"
|
|
],
|
|
"compilerOptions": {
|
|
"paths": {
|
|
"@renderer/*": ["../src/renderer/src/*"],
|
|
"@/*": ["../src/renderer/src/*"]
|
|
}
|
|
}
|
|
}
|