Skip to content

test: remove synthetic compatibility checks and strengthen workspace coverage - #33207

Merged
OrcaWin merged 1 commit into
mainfrom
OrcaWin/comprehensive-test-audit-158
Oct 24, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
OrcaWin/comprehensive-test-audit-158

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Oct 24, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 15 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​93 $\color{#cf222e}{\Huge{\mathbf{−}}}$​108 $\color{#cf222e}{\Huge{\mathbf{−}}}$​15
Prod 1 0 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1

Remove five synthetic old-host schema tests that derive their stand-ins from current schemas, plus two capability inventory checks. Retain current wire acceptance/refusal, old-client omission and replay fingerprint coverage.

Strengthen file-selection disposal and its 2,048-character limit, use the real board-cache key producer, and repair runtime routing catalog fixtures with existing typed test fixtures. Extend mobile coverage for repo-selection fallback, indentation, unchanged server rows, host-qualified repo identity and error classification. Fix required lineage fixture fields and remove its resolved mobile type-baseline entry.

Reviewed 48 test sources: 224 declarations become 217. No production changes.

Validation: 285 original and 278 final runtime cases pass with zero skips; Node, CLI, web and mobile typechecks, changed-code quality, formatting and readonly source/evidence validation pass. Full GitHub CI required before merge.

@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: 1eb50c6a-374f-4b2d-948d-8294b8e9875c
Commits

Reviewing files that changed from the base of the PR and between d96dca3 and 15818f0.

Files selected for processing: 16
  • mobile/src/worktree/agent-row-lineage.test.ts
  • mobile/src/worktree/host-workspace-list-state.test.ts
  • mobile/src/worktree/new-workspace-dialog-repo-selection.test.ts
  • mobile/src/worktree/project-group-indent.test.ts
  • mobile/src/worktree/server-workspaces.test.ts
  • mobile/src/worktree/workspace-filter-repos.test.ts
  • mobile/src/worktree/worktree-show-resolution.test.ts
  • mobile/tests-typecheck-baseline.txt
  • src/renderer/src/lib/file-search-selection.test.ts
  • src/renderer/src/lib/runtime-workspace-file-route.test.ts
  • src/renderer/src/lib/task-source-runtime-target.test.ts
  • src/shared/rpc-contract/agent-launch-params-account-env.test.ts
  • src/shared/rpc-contract/agent-launch-params-native-chat-default.test.ts
  • src/shared/rpc-contract/agent-launch-params.test.ts
  • src/shared/rpc-contract/agent-session-params-account-env.test.ts
  • src/shared/rpc-contract/agent-session-spawn-intent-params.test.ts
Files with no reviewable changes: 2
  • mobile/tests-typecheck-baseline.txt
  • src/shared/rpc-contract/agent-session-spawn-intent-params.test.ts

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

Walkthrough

The changes update tests across mobile worktree, renderer, and shared RPC contract areas. They add or refine worktree and renderer assertions, replace partial renderer fixtures with typed test data, and remove tests for older-host compatibility and runtime-capability advertisement.

Priority: Low

Merge Risk: Minimal · up to 15818

No merge-blocking issue is identified in these test updates; proceed with normal CI checks.

Pre-merge checks: Passed 3 · Failed 2

Failed Failed checks: 2 warnings

Check name Status Explanation Resolution
Description check Warning The description explains the test cleanup, coverage changes, validation results, and lack of production changes. It does not follow the required template and omits the required Linked Issue, Visual Pr… Rewrite the description using the repository template. Add an actual issue link under Linked Issue, provide Visual Proof or state N/A with a reason, complete Testing and Checklist sections, and address AI Disclosure, Review, Agent skill ups…
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 14 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 3 passed
Check name Status Explanation
Title check Passed The title clearly summarizes the main changes: removal of synthetic compatibility checks and stronger workspace test coverage.
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: Description check

Explanation

The description explains the test cleanup, coverage changes, validation results, and lack of production changes. It does not follow the required template and omits the required Linked Issue, Visual Proof or explicit N/A statement, checklist status, review notes, and other required sections.

Resolution

Rewrite the description using the repository template. Add an actual issue link under Linked Issue, provide Visual Proof or state N/A with a reason, complete Testing and Checklist sections, and address AI Disclosure, Review, Agent skill upstream boundary, and Notes.

Finishing Touches: 💡 1
📝 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.

@OrcaWin
OrcaWin merged commit 5c447fb into main Oct 24, 2026
34 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