Repository navigation
refactor: group process and platform modules by ownership - #42742
Merged
nwparker merged 3 commits intoNov 15, 2026
Merged
Conversation
nwparker
force-pushed
the
module-layout-v2/shared-platform-process-fce620d9
branch
from
November 15, 2026 14:39
5762abe to
876a706
Compare
This was referenced Nov 15, 2026
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 16, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders (stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports, including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the toast-options test type that stablyai#42265 deleted lives in the fork test.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 18, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders (stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports, including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the toast-options test type that stablyai#42265 deleted lives in the fork test.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 18, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders (stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports, including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the toast-options test type that stablyai#42265 deleted lives in the fork test.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 19, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders (stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports, including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the toast-options test type that stablyai#42265 deleted lives in the fork test.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders (stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports, including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the toast-options test type that stablyai#42265 deleted lives in the fork test.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders (stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports, including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the toast-options test type that stablyai#42265 deleted lives in the fork test.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders (stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports, including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the toast-options test type that stablyai#42265 deleted lives in the fork test.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 21, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders (stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports, including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the toast-options test type that stablyai#42265 deleted lives in the fork test.
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 platform and process modules by the work they own: process observation, shell launch and command resolution, native storage, Node distribution, and Orcad runtime support. Consumers import definitions directly from their owners.
What Changed
Why
These modules have concrete domain owners. Grouping them makes dependencies and native-resource boundaries easier to follow as the codebase grows.
Linked Issue
Maintainer-directed folder cleanup. The full tracker and detailed evidence remain local and uncommitted.
Visual Proof
N/A — module ownership and resource-path preservation; no rendered UI change.
Testing
ORCA_BACKGROUND_LAUNCH=1 pnpm test <16 focused files> --maxWorkers=2: 16 files / 88 tests passed; the existing workflow-classifier test also passed (1 file / 1 test), covering process observation, launch and command resolution, native-loader selection, ACLs, and runtime pinning.ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --timeout=3on876a7064930bafter rebase: all 48 non-unit checks passed. The broad selected-unit run reported two failures inprocess-host-dev-rebuild.test.tsand hit the three-minute cap; it remains incomplete and is not a pass.8c958bb9a72; both incoming UI files are preserved. Full hosted workflow43725542618passed on876a7064930bafter one failed-job-only retry of the unreproduced rewind case. All 12 unit shards, SSH shards, WSL, packaging and the aggregate passed. The original failure remains recorded; isolated candidate and pristine-main controls both passed, which does not prove a baseline failure.Risk
Level: Medium. Incorrect import or resource paths could prevent process observation, shell launch, native storage, or a packaged CLI/remote runtime from starting. Independent source/resource audits, focused tests, emitted-build inspection, and required platform CI cover these boundaries. A plain revert restores the prior layout; no saved-data migration occurs.
Review
Review module identity and initializer order, the source/emitted/chunk/flat native-loader anchors, generated-resource equality, direct defining-owner imports, and active test/package selectors. No new barrels or forwarding aliases.
Agent skill upstream boundary
Checklist