You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
refactor(settings): group runtime and host owners - #37804
Group runtime, SSH, WSL, mobile pairing, and host settings with the features that own them. Settings behavior stays the same; related code and tests are easier to find.
What Changed
Move 162 files into concrete runtime-environment, SSH target/server-action, WSL host, mobile/pairing, CLI installation, network, and VM settings owners.
Reuse renderer runtime, machine identity, runtime access, SSH authentication, and host-picker owners for code consumed outside Settings.
Replace 18 forwarding exports across seven modules with direct defining-owner imports. Keep the existing transport listeners, caches, resource keys, and singleton allocations in their original implementations.
Retarget static, dynamic, type, and mock contacts, including the SSH draft stub and per-client preferences resource reset. Preserve all existing test bodies and assertions.
Update four path-based tooling manifests while preserving counts, timing values, upstream removals, and historical reliability commands.
Why
This is the runtime/host ownership batch following the settings presentation/control cleanup. It keeps runtime services out of global Settings and groups host UI by its actual feature.
Visual Proof
N/A — implementation bodies, component/hook ownership, copy, and interactions are preserved.
Testing
80 existing affected test files covered, 732 tests passing across the focused run and targeted correction reruns. The corrected resource-reset file passes all seven tests; the mobile type-import cleanup passes all 26 tests.
Web typecheck and renderer production build/boot-graph verification passed. Localization protection remains unchanged.
Final ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --base=41f08411424e7172f4352cb98f8207f899bdf499 --timeout=2 --maxWorkers=2: all 31 non-unit checks passed, including node/web typechecks, lint, formatting, boundaries, localization, and reliability. Broad related-unit selection reached the declared two-minute cap; full hosted unit checks remain required.
Independent source and boundary audits cover bodies, literals, hooks, allocations, defining owners, static/dynamic consumers, mocks, initialization/cycles, and exact rebase composition.
Existing tests retained; no new tests needed for mechanical moves. Local execution was on macOS; hosted checks provide platform coverage.
Risk
Level: Medium. A missed module or mock contact could break a settings pane or test after relocation. Focused consumers, typechecking, production build, independent audits, and full hosted CI cover those boundaries. Platform guards, remote compatibility, folder workspaces, and mobile behavior are preserved. A plain revert restores the previous layout; there is no data migration.
Agent skill upstream boundary
Not applicable; this change copies no upstream skill-installer implementation or artifacts.
Checklist
One coherent runtime/host ownership batch; larger by design.
Behavior and risk described.
N/A visual proof explained.
Self-reviewed and independently audited.
Cross-platform, SSH/remote, mobile, and folder workspaces considered.
Focused tests, build, and selected static checks pass; full suite/platform validation remains required in hosted CI.
No actionable comments were generated in the recent review.
Walkthrough
The pull request updates imports, test mocks, and CI configuration to match relocated settings components and agent-launch resources. It also removes several re-exports. The summaries report no changes to runtime behavior in the affected components.
Merge Risk: Minimal · up to 13188
No merge-blocking issue is identified. Complete the usual hosted checks before merging.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title "refactor(settings): group runtime and host owners" matches the main change. The PR moves 162 files into feature-specific owner directories for runtime environments, SSH, WSL, mobile pairing…
Description check
The description follows the repository template. It includes ELI5, What Changed, Why, Visual Proof (N/A with reason), Testing, Risk (Medium, with rollback described), AI Disclosure (left blank, which …
Docstring Coverage
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "refactor(settings): group runtime and host owners" matches the main change. The PR moves 162 files into feature-specific owner directories for runtime environments, SSH, WSL, mobile pairing, CLI installation, network, and VM settings, and the objectives describe the same batch. The title is concise, follows conventional-commit style, and names the primary change.
Full details: Description check
Explanation
The description follows the repository template. It includes ELI5, What Changed, Why, Visual Proof (N/A with reason), Testing, Risk (Medium, with rollback described), AI Disclosure (left blank, which the template allows for internal contributors), the Agent skill upstream boundary checkbox, and a Checklist. The Linked Issue section is missing: it has no 'Fixes #' reference and no issue link. The Testing section lists only the 'manually tested' checkbox as unchecked, while the body describes test runs. The 'Review' and 'Notes' sections are present but empty or generic. The Linked Issue gap is a template requirement, so the check is still mostly complete.
Resolution
Add a Linked Issue entry. For maintainers, attach a pre-existing issue or state that none applies. Check the 'I manually tested these changes locally' box if manual testing was done, or note that it was not. Optionally, fill in the AI Disclosure section if it applies to the contributor.
Full details: Docstring Coverage
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 50 files. (213 skipped: 4 unsupported, 209 over the file limit.)
Finishing Touches
Generate docstrings
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
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
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 runtime, SSH, WSL, mobile pairing, and host settings with the features that own them. Settings behavior stays the same; related code and tests are easier to find.
What Changed
Why
This is the runtime/host ownership batch following the settings presentation/control cleanup. It keeps runtime services out of global Settings and groups host UI by its actual feature.
Visual Proof
N/A — implementation bodies, component/hook ownership, copy, and interactions are preserved.
Testing
ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --base=41f08411424e7172f4352cb98f8207f899bdf499 --timeout=2 --maxWorkers=2: all 31 non-unit checks passed, including node/web typechecks, lint, formatting, boundaries, localization, and reliability. Broad related-unit selection reached the declared two-minute cap; full hosted unit checks remain required.Risk
Level: Medium. A missed module or mock contact could break a settings pane or test after relocation. Focused consumers, typechecking, production build, independent audits, and full hosted CI cover those boundaries. Platform guards, remote compatibility, folder workspaces, and mobile behavior are preserved. A plain revert restores the previous layout; there is no data migration.
Agent skill upstream boundary
Checklist