Repository navigation
refactor(renderer): group hooks and IPC events by feature - #43575
Merged
Merged
Conversation
nwparker
force-pushed
the
module-layout-v2/hooks-ipc-events-b03a4fe
branch
from
November 17, 2026 10:29
24ede5a to
79075e4
Compare
nwparker
force-pushed
the
module-layout-v2/hooks-ipc-events-b03a4fe
branch
from
November 17, 2026 10:59
79075e4 to
1b7f6c0
Compare
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.
8 of 9 tasks
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.
Moves renderer hooks and IPC event handlers into their owning feature folders, reducing the flat hooks directories. This batch contains 189 module moves across workspace catalog, agent status, terminals, browser events, host connections, editor changes, and related features.
Callers import concrete defining owners directly. Two unused forwarding modules are removed. The refactor preserves function bodies, initialized stores, shared caches, eager import order, and lazy module identities; incoming main fixes are carried into their current owners.
Includes the approved test-policy cleanup: retire 22 test files and remove disallowed registrations from retained suites. Retained callbacks remain unchanged. Runner paths, baselines, and active reliability selectors follow the new owners; historical evidence and recorded coverage gaps remain intact.
Validation: hosted checks on
1b7f6c05bc812d6b74740126600c3ddbb46378a9completed with 32 successes and 25 skips, including all unit shards, static analysis, packages, managed-SSH jobs, E2E jobs, and the required aggregate gate. Independently reviewed source conservation, initialization order, resources, and incoming main fixes. Locally, 23 affected test files / 62 cases pass; the final pre-pushpnpm check:changed --base=a31ffd7f1fef6aa5ba04e4bd9830a28621915b97 --maxWorkers=2 --timeout=3passed 39 non-unit checks and timed out in its oversized unit selection. Three unrelated local files reproduce six failures / seven passes identically on pristine main: process-host rebuild timeouts, hosted-CLI resolution assumptions, and macOS/tmpcanonicalization. Desktop assets, projected web, and mobile web build receipts predate the last native journal fix; cleanup production leaves remain unchanged and current hosted packages pass. Plans and detailed evidence remain local.