Repository navigation
refactor(ipc): group handlers and PTY support by owner - #43339
Merged
Merged
Conversation
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.
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.
ELI5
Group IPC handlers and PTY support into folders named for the features they own, so related code is easier to find.
What Changed
Why
The IPC root mixes unrelated features, and PTY support mixes spawn, environment, input, and resource ownership. This batch gives them concrete homes without adding barrels or compatibility shims.
Linked Issue
Continuation of the repository folder cleanup; internal maintenance.
Visual Proof
N/A — no intended visual or interaction changes.
Testing
Local platform: macOS. Windows, Linux, WSL, and remote-host coverage is required in hosted CI.
pnpm tc, CI-equivalentpnpm typecheck:ci --bun-concurrency=2 --bun-threads=2, CLI build, and Electron production build passed.pnpm check:changed: 37 non-unit checks passed; broad related tests reached the documented three-minute local limit.pnpm check:changed --maxWorkers=2 --timeout=3: 37 non-unit checks passed; broad related-test selection exceeded three minutes without completion; this is not a full local suite pass. The 37 focused files passed (161 tests; three platform skips). Full hosted unit shards and required checks must pass before merge.Risk
Level: Medium. Incorrect import relocation could break handler loading or PTY/workspace flows on desktop, WSL, or remote hosts. Incoming main fixes are preserved through an independently checked rebase. Runtime bodies remain unchanged apart from reviewed import/export cleanup; removed unused imports have explicit initialization review. Test removals lose their previous alarms. A plain revert restores the original layout and tests; no saved-data migration.
Review
Independent source, test/support, and rebase audits passed. The full rebased path/mode/blob union matched, including incoming main additions/deletions and WSL feature changes.
Agent skill upstream boundary
Checklist