Repository navigation
refactor(rpc): group root modules by defining owner - #41475
Merged
Merged
Conversation
nwparker
force-pushed
the
module-layout-v2/rpc-root-owners-fb58
branch
from
November 12, 2026 10:01
00b39ab to
52185fd
Compare
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 14, 2026
…tests Upstream stablyai#41322, stablyai#41475, stablyai#41350, stablyai#41437, stablyai#41812, stablyai#41772, stablyai#42063, stablyai#42093, stablyai#42107 and stablyai#21108 moved modules the fork imports or mocks; point fork code, fork tests and the seam list at the new paths.
lurunzi
added a commit
to lurunzi/orca
that referenced
this pull request
Nov 16, 2026
…w path With the v1.4.259 tag merged, the cross-version baseline is v1.4.259 itself, where src/main/runtime/rpc/errors.ts moved to responses/rpc-response.ts (stablyai#41475). Upstream main made the same change when its baseline moved past that release. Co-Authored-By: Claude Opus 5.5 <[email protected]>
lurunzi
added a commit
to lurunzi/orca
that referenced
this pull request
Nov 16, 2026
* fix: restore the fork's package scripts lost in the v1.4.259 merge The upstream sync took upstream's package.json whole to settle the version conflict, which dropped three fork lines: - ci:local, the local CI entry AGENTS.md tells agents to run; - prepare:cross-version-releases, which the cross-version wire job calls (it failed with "Missing script" on #14); - --no-error-on-unmatched-pattern on the two lint-staged oxlint configs. Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(cross-version): import the v1.4.259 RPC error mapper from its new path With the v1.4.259 tag merged, the cross-version baseline is v1.4.259 itself, where src/main/runtime/rpc/errors.ts moved to responses/rpc-response.ts (stablyai#41475). Upstream main made the same change when its baseline moved past that release. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 16, 2026
…tests Upstream stablyai#41322, stablyai#41475, stablyai#41350, stablyai#41437, stablyai#41812, stablyai#41772, stablyai#42063, stablyai#42093, stablyai#42107 and stablyai#21108 moved modules the fork imports or mocks; point fork code, fork tests and the seam list at the new paths.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 18, 2026
…tests Upstream stablyai#41322, stablyai#41475, stablyai#41350, stablyai#41437, stablyai#41812, stablyai#41772, stablyai#42063, stablyai#42093, stablyai#42107 and stablyai#21108 moved modules the fork imports or mocks; point fork code, fork tests and the seam list at the new paths.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 18, 2026
…tests Upstream stablyai#41322, stablyai#41475, stablyai#41350, stablyai#41437, stablyai#41812, stablyai#41772, stablyai#42063, stablyai#42093, stablyai#42107 and stablyai#21108 moved modules the fork imports or mocks; point fork code, fork tests and the seam list at the new paths.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 19, 2026
…tests Upstream stablyai#41322, stablyai#41475, stablyai#41350, stablyai#41437, stablyai#41812, stablyai#41772, stablyai#42063, stablyai#42093, stablyai#42107 and stablyai#21108 moved modules the fork imports or mocks; point fork code, fork tests and the seam list at the new paths.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
…tests Upstream stablyai#41322, stablyai#41475, stablyai#41350, stablyai#41437, stablyai#41812, stablyai#41772, stablyai#42063, stablyai#42093, stablyai#42107 and stablyai#21108 moved modules the fork imports or mocks; point fork code, fork tests and the seam list at the new paths.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
…tests Upstream stablyai#41322, stablyai#41475, stablyai#41350, stablyai#41437, stablyai#41812, stablyai#41772, stablyai#42063, stablyai#42093, stablyai#42107 and stablyai#21108 moved modules the fork imports or mocks; point fork code, fork tests and the seam list at the new paths.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
…tests Upstream stablyai#41322, stablyai#41475, stablyai#41350, stablyai#41437, stablyai#41812, stablyai#41772, stablyai#42063, stablyai#42093, stablyai#42107 and stablyai#21108 moved modules the fork imports or mocks; point fork code, fork tests and the seam list at the new paths.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 21, 2026
…tests Upstream stablyai#41322, stablyai#41475, stablyai#41350, stablyai#41437, stablyai#41812, stablyai#41772, stablyai#42063, stablyai#42093, stablyai#42107 and stablyai#21108 moved modules the fork imports or mocks; point fork code, fork tests and the seam list at the new paths.
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.
The RPC root mixed dispatch, caller identity, transports, mobile encryption, terminal streams and orchestration compatibility in one directory. Group those modules under their defining owners and update consumers to import those owners directly. Keep
core.ts,dispatcher.tsandtransport.tsas substantive root APIs; introduce no barrels or forwarding aliases. Existing method/server owners keep their layout.This batch moves 157 whole modules, including 74 production owners. Independent source review verifies all 77 production bodies, ordered runtime imports, singleton identities and wire/resource behavior. Repository test-policy review retains 416 registrations and retires 213, including 55 whole test files and three orphan supports; retained callbacks remain unchanged. Update active build/test selectors and ratchet ownership while preserving dated evidence and immutable released-version selectors. Retired test alarms are intentionally lost, with no equivalent replacement claimed.
Validation: all 48 non-unit
pnpm check:changed --timeout=2gates pass, including node/web/CLI/test typechecks, format/lint, imports, changed code quality and reliability checks. The broad related-unit selection exceeded the two-minute limit and is not claimed as passing. Scoped evidence: 103 owning and affected external files / 418 tests pass after the latest rebase. Production main/renderer and orcad bundles pass. Independent source, metadata and native-update preservation audits pass. All required hosted CI and the PR aggregate gate pass on the reviewed head.An initial external test run started transforming three moved fixtures before rebase had recreated them. The eight affected files and then the exact 25-file selection pass once the tree is stable; no runner or infrastructure changes were made. Planning and audit evidence remain local.
Windows ARM qualification on the prior head repeatedly returned
runtime_timeoutfrom the real CLI-launcher integration. Include stdout alongside stderr in that assertion’s diagnostic message; invocation, timeout and expected results remain unchanged. A pristine-main Windows ARM control passes the same case. Rebase onto current main and preserve all upstream changes; independent source/metadata carry passes. Targeted hosted hardware-probe measurements on ARM complete in about 775ms (21ms synchronous spawn), which does not establish the cause of the full RPC timeout. Windows ARM on the rebased head passes 59 files / 210 tests, including the same launcher case (7.9s). This does not establish the cause of the earlier timeout. No flaky or pre-existing classification, timeout increase or speculative production fix is included.