Skip to content

refactor(renderer): group hooks and IPC events by feature - #43575

Merged
nwparker merged 1 commit into
mainfrom
module-layout-v2/hooks-ipc-events-b03a4fe
Nov 17, 2026
Merged

nwparker merged 1 commit into
mainfrom
module-layout-v2/hooks-ipc-events-b03a4fe

Conversation

@nwparker

@nwparker nwparker commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

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 1b7f6c05bc812d6b74740126600c3ddbb46378a9 completed 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-push pnpm check:changed --base=a31ffd7f1fef6aa5ba04e4bd9830a28621915b97 --maxWorkers=2 --timeout=3 passed 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 /tmp canonicalization. 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.

@nwparker
nwparker force-pushed the module-layout-v2/hooks-ipc-events-b03a4fe branch from 24ede5a to 79075e4 Compare November 17, 2026 10:29
@nwparker
nwparker force-pushed the module-layout-v2/hooks-ipc-events-b03a4fe branch from 79075e4 to 1b7f6c0 Compare November 17, 2026 10:59
@nwparker
nwparker merged commit 2cb4fcf into main Nov 17, 2026
57 checks passed
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