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
Removes 170 low-value test registrations, including 18 whole suites, from 30 reviewed renderer files. Retains 47 registrations with unchanged callbacks and scopes.
What Changed
Deletes supplied work-item, attachment, close-plan, directory, editor-target, emoji, file-open/drag-source, port-scan/group/publish, editor-draft, folder-twin, host-split and hydration-key examples. Trims eight other suites. Removes dead fixtures, an unused test-only catalog probe, stale comments and 18 timing entries; narrows reliability claims to the remaining assertions.
Why
The removed tests mostly compare supplied rows, strings, ownership/capability answers, canned RPC results or split/merge projections. Whole suites are removed when none of their checks justify retention.
Linked Issue
N/A — maintainer-requested audit; no pre-existing issue supplied.
Visual Proof
N/A — test removal and bookkeeping; no UI behavior change.
Testing
Manually tested locally
Automated-test changes explained above
External parsing/formatting, inert lint, retained registration/callback/scope and runtime import comparisons passed. All 30 original sources, 89 captured dependency snapshots and the 31-path patch were revalidated against the verified #37537 squash. Static checks confirm only comments changed outside the removed test-only probe in supporting TypeScript files. No local project tests, builds or typechecks were run. Full current-head CI is required before merge.
Risk
Level: Low production-change risk; reduced regression detection is intentional. Accept loss of the removed exact selection, path/URL/caret/emoji, capability/no-fallback, draft-field, partition mapping/roundtrip and hydration-key examples. In particular, deleting the mocked host-kill suite loses its one-call/no-server-local-fallback alarm. The immediately resolved flush-order test did not establish a pending-write barrier. No equivalent coverage is claimed. Revert this PR to restore these checks.
Review
Root read every original test body and relevant owners. Retains mounted worker cleanup, actual activation/focus scheduling, delayed browser-create/snapshot composition, false/rejected create settlement, current-address enumeration bounds, path normalization/early-rejection work bounds, disappeared-host state pruning, measured serialized history bytes, addressed host/shadow write composition and patch failure propagation. Session APIs and browser transport remain mocked/in-memory; these tests do not establish file durability, main validation, real cross-host delivery or restart recovery.
Agent skill upstream boundary
Not applicable; no upstream skill-installer material copied.
Notes
Cross-platform, local/remote, mobile and folder-workspace behavior is unchanged. The catalog-built probe was used only by the deleted lazy test; product loader/catalog statements are unchanged. Historical reliability evidence remains recorded, with current assertion claims narrowed.
Checklist
Focused test-removal batch
What changed and why explained
Risks and revert path recorded
Visual proof N/A with reason
Self-reviewed for correctness, security and performance
Cross-platform and remote impact considered
CI covers project checks; local execution not performed
The change removes or narrows tests across workspace routing, session persistence, browser behavior, file handling, emoji, work-item, and port features. It updates reliability-gate notes and CI timing records. It also removes a test-only exported emoji-catalog probe. No production implementation changes are described.
Merge Risk: Low · up to b5e6a
Production behavior is unchanged, but this change removes checks for session-write ordering and safe host-kill fallback. Restore those checks before merge if that regression risk is not acceptable.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title clearly and concisely describes the main change: removing 170 low-value renderer tests.
Description check
The description covers the required sections, explains the change and rationale, documents testing limits, identifies risks, provides a revert path, and completes the checklist. It also explains why v…
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: Description check
Explanation
The description covers the required sections, explains the change and rationale, documents testing limits, identifies risks, provides a revert path, and completes the checklist. It also explains why visual proof is not applicable.
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 6 files. (1 skipped: 1 unsupported.)
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.
The current-workspace test checks only status. Its mocked preview plan returns doc-preview for every worktree, so the test can pass if the resolver sends the address to the wrong worktree. Assert the returned docLocation as the folder-workspace test does.
378-380: Trivial · Data Integrity & Integration · Quick win
Retain a regression check for the durable flush boundary.
The contention tests still cover local and runtime host writes, but they do not observe flush. Restore the deleted assertion that the host-write calls precede the flush call:
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 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
Removes 170 low-value test registrations, including 18 whole suites, from 30 reviewed renderer files. Retains 47 registrations with unchanged callbacks and scopes.
What Changed
Deletes supplied work-item, attachment, close-plan, directory, editor-target, emoji, file-open/drag-source, port-scan/group/publish, editor-draft, folder-twin, host-split and hydration-key examples. Trims eight other suites. Removes dead fixtures, an unused test-only catalog probe, stale comments and 18 timing entries; narrows reliability claims to the remaining assertions.
Why
The removed tests mostly compare supplied rows, strings, ownership/capability answers, canned RPC results or split/merge projections. Whole suites are removed when none of their checks justify retention.
Linked Issue
N/A — maintainer-requested audit; no pre-existing issue supplied.
Visual Proof
N/A — test removal and bookkeeping; no UI behavior change.
Testing
External parsing/formatting, inert lint, retained registration/callback/scope and runtime import comparisons passed. All 30 original sources, 89 captured dependency snapshots and the 31-path patch were revalidated against the verified #37537 squash. Static checks confirm only comments changed outside the removed test-only probe in supporting TypeScript files. No local project tests, builds or typechecks were run. Full current-head CI is required before merge.
Risk
Level: Low production-change risk; reduced regression detection is intentional. Accept loss of the removed exact selection, path/URL/caret/emoji, capability/no-fallback, draft-field, partition mapping/roundtrip and hydration-key examples. In particular, deleting the mocked host-kill suite loses its one-call/no-server-local-fallback alarm. The immediately resolved flush-order test did not establish a pending-write barrier. No equivalent coverage is claimed. Revert this PR to restore these checks.
Review
Root read every original test body and relevant owners. Retains mounted worker cleanup, actual activation/focus scheduling, delayed browser-create/snapshot composition, false/rejected create settlement, current-address enumeration bounds, path normalization/early-rejection work bounds, disappeared-host state pruning, measured serialized history bytes, addressed host/shadow write composition and patch failure propagation. Session APIs and browser transport remain mocked/in-memory; these tests do not establish file durability, main validation, real cross-host delivery or restart recovery.
Agent skill upstream boundary
Notes
Cross-platform, local/remote, mobile and folder-workspace behavior is unchanged. The catalog-built probe was used only by the deleted lazy test; product loader/catalog statements are unchanged. Historical reliability evidence remains recorded, with current assertion claims narrowed.
Checklist