Skip to content

refactor: colocate remote runtime error classification - #33024

Merged
nwparker merged 1 commit into
mainfrom
nwparker/module-organization-client-error-classification
Oct 24, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/module-organization-client-error-classification

Conversation

@nwparker

@nwparker nwparker commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 7 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​6 $\color{#cf222e}{\Huge{\mathbf{−}}}$​6 0
Prod 12 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​13 $\color{#cf222e}{\Huge{\mathbf{−}}}$​13 0

Move the remote-runtime error classification owner and its existing primary suite into src/shared/remote-runtime/. Both files remain byte-identical. Update 13 static caller imports, one dynamic import, and the existing reliability, timing and route-contract references to the concrete owner. Preserve timing value 42. No barrels or old-path shims.

Validation: 398 existing assertions pass across 43 files with pristine-base case/status parity. Desktop/CLI/web/process-host types, package build, changed-code quality, formatting, commit hooks and all 150 reliability gates pass. Mobile production types and the test-type ratchet pass; raw mobile test types retain the same 545 existing diagnostics in 115 files, byte-for-byte.

@coderabbitai

coderabbitai Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ab1dbcc3-7cef-40f7-ac54-68193444534d
Commits

Reviewing files that changed from the base of the PR and between df97aa3 and e5aa232.

Files selected for processing: 19
  • config/reliability-gates.jsonc
  • config/scripts/ci-shard-timings.json
  • config/scripts/pr-e2e-route-contracts.test.mjs
  • src/main/browser/browser-host-admission-recovery.ts
  • src/main/managed-server/lifecycle/orcad-managed-tunnel-identity.ts
  • src/main/skills/skill-remote-install-service.ts
  • src/renderer/src/components/terminal-pane/remote-runtime-outage-toast-flood-and-stuck-reconnect.test.ts
  • src/renderer/src/components/terminal-pane/remote-runtime-pty-transport.ts
  • src/renderer/src/runtime/remote-runtime-terminal-multiplexer-base.ts
  • src/renderer/src/runtime/runtime-file-write-disk-precondition.ts
  • src/renderer/src/runtime/web-session-terminal-orphan-recovery-adoption.ts
  • src/renderer/src/startup/startup-web-host-unreachable.ts
  • src/renderer/src/store/slices/worktrees/teardown/host-worktree-removal-state.ts
  • src/shared/remote-runtime-transport-error-agreement.test.ts
  • src/shared/remote-runtime/control/remote-runtime-shared-control-auth-refusal.test.ts
  • src/shared/remote-runtime/remote-runtime-client-error-classification.test.ts
  • src/shared/remote-runtime/remote-runtime-client-error-classification.ts
  • src/shared/remote-runtime/remote-runtime-connect-bound.test.ts
  • src/shared/remote-runtime/requests/remote-runtime-subscription-connect-bound.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.

Walkthrough

Import paths for remote-runtime error classification now use the nested remote-runtime directory. Test configuration uses the relocated test path, and the focused reliability command includes additional remote-runtime suites. The recorded test duration remains 42 ms.

Priority: Low

Merge Risk: Minimal · up to e5aa2

The classifier relocation preserves runtime imports and configured test paths without introducing an actionable merge risk.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description explains the code change and validation results, but it omits required template sections, including the linked issue, visual proof or an explicit N/A explanation, testing checklist, re… Add the missing template sections. Include an actual linked issue, state N/A with a reason for visual proof, document testing and platform coverage, complete the required checklists, and address review, notes, and AI disclosure requirements…
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: moving remote-runtime error classification into the remote-runtime directory.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 15 files. (2 skipped: 2 unsupported.)

Full details: Description check

Explanation

The description explains the code change and validation results, but it omits required template sections, including the linked issue, visual proof or an explicit N/A explanation, testing checklist, review notes, and the repository checklist.

Resolution

Add the missing template sections. Include an actual linked issue, state N/A with a reason for visual proof, document testing and platform coverage, complete the required checklists, and address review, notes, and AI disclosure requirements as applicable.

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nwparker
nwparker merged commit 77efa5a into main Oct 24, 2026
104 of 107 checks passed
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