Repository navigation
refactor(renderer): group app shell and activity modules by owner - #43435
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
a07122b to
03ce318
Compare
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.
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.
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.
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.
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.
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.
ELI5
Group the app shell and activity modules by the features they own. Their two flat directories shrink from 100 direct files to seven composition modules.
What Changed
Why
The root directories mixed unrelated responsibilities. Concrete feature folders make ownership and direct imports easier to follow while keeping the root composition and lifecycle boundaries intact.
Linked Issue
N/A — ongoing maintainer module-layout cleanup.
Visual Proof
N/A — no visual or interaction behavior changes.
Testing
pnpm tc,pnpm build:electron-vite, andpnpm build:web.pnpm check:changed --base=09eb54512195f3359b22207dfb0c854e3aa572c1 --maxWorkers=2: all 39 checks passed, including affected unit tests.03ce318c4a5b5d6af4a7477bca29817609ecd289.Risk
Level: Low. Import routing and initialization order are the main risks. The audit checks concrete owners, eager/type/lazy request facts, complete bodies and literals, preserved test callbacks, and resource bytes. No persisted schema or platform-specific runtime behavior changes. A normal revert restores the previous layout.
Review
Native Codex reviewers independently accepted the composed production, pure-function extraction, test/resource, and incoming-main carry audits with no findings. Cross-platform shortcuts, local/SSH/folder-workspace behavior, mobile contracts, provider compatibility, UI state, and performance behavior are preserved. No new network, process, credential, or security boundary is introduced.
Agent skill upstream boundary
Notes
Planning, audit scripts, and detailed evidence remain local and ignored.
Checklist