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
test: remove 211 low-value renderer store tests - #37613
Remove 211 low-value tests, including nine whole suites. Keep 105 registrations covering failure recovery, lifecycle interleavings, ownership refusal and hydration consumers.
What Changed
Delete scalar, map/reference, forwarding, fixture-result and mock-call checks across renderer settings, SSH cleanup, tab creation, hydration, sleep, tab-view and worktree-removal stores. Remove nine obsolete timing entries and narrow current reliability-gate assertions with specific loss notes. Preserve historical execution evidence.
Why
These tests mostly repeat implementation details or inspect immediate canned results. Whole suites are removed when none of their registrations justify ongoing maintenance. Exact narrow alarms are deliberately retired; retained tests are not claimed as equivalent replacements.
Linked Issue
Maintainer-requested comprehensive test-value audit; no separate issue.
Visual Proof
N/A — tests and metadata only; no UI changes.
Testing
Manual local testing (local project execution intentionally omitted).
External parsing/formatting and retained registration/callback/scope verification passed.
Inert lint passed for changed surviving suites.
Metadata references reviewed; historical commands, counts and results preserved.
Current-head GitHub CI required before merge, including all 12 full unit shards and applicable workflows.
AI Disclosure
Prepared with Codex.
Review
Root read all 40 original sources and every per-case advisory reason, then independently selected the removals. Named owner reads remain individually attributed. Retained bodies and setup scopes remain unchanged. Kept destructive-stop failures and rollback, synchronous publication races, host collisions, mixed-version refusal, unsaved drafts and actual browser hydration consumers. Source and owner pins are reconciled against the verified preceding squash before publication.
Agent skill upstream boundary
Not applicable; no upstream skill-installer material changed.
Risk
Level: Low
Removed alarms include direct Windows terminal-creation arguments, host-routing projections, retention/ack map cleanup, activity suppression counters, reconnection hints and settings/SSH state projections, wrapped-removal error tables, tab property forwarding, old SSH repo filtering and tab-group order repair. Specific losses are documented in the audit and affected reliability gate. Cross-platform, independent client/server versions, remote/SSH, mobile and folder workspaces were considered; no new live-provider evidence is claimed. Rollback: revert this test-only commit.
Checklist
Batched related cleanup to reduce CI cycles.
Explained scope, rationale, validation and losses.
Visual proof N/A with reason.
Self-reviewed.
Cross-platform, remote/SSH and folder-workspace impact considered.
Applicable current-head CI checks pass; no local project tests, builds or typechecks run.
The pull request removes or revises tests across settings, SSH, worktree, tab, session, and sleep behavior. It adds settings-catalog refresh tests and pane-hibernation tests, and changes a tab-ID collision test to cover collisions across worktrees. Reliability-gate notes document coverage gaps, and the unit-test timing manifest removes six test records. No implementation code changes are reported.
Merge Risk: Low · up to 96355
Mirror persistence remains tested, but the exact file-identity check has been lost. The change is mergeable with a focused assertion follow-up.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title clearly and concisely describes the primary change: removing 211 low-value renderer store tests.
Description check
The description is mostly complete. It explains the scope, rationale, retained coverage, validation, risk, visual-proof status, AI use, and rollback plan. It also explains why no separate issue is lin…
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 is mostly complete. It explains the scope, rationale, retained coverage, validation, risk, visual-proof status, AI use, and rollback plan. It also explains why no separate issue is linked and why no UI proof applies.
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 10 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
Warning
Some tools did not complete. Review the errors below.
ast-grep (0.51.1)
ast-grep could not parse rule config: /ast-grep-rules/ast-grep-essentials/rules/swift/security/insecure-tls-trust-all-certs-swift.yml
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.
6-6: Trivial · Data Integrity & Integration · Quick win
Strengthen the retained mirror persistence assertion and remove the unused import.
The retained mirrored-editor-tab-persistence.test.ts already covers the live mirror-resolution, serialization, and hydration path. It only checks that the hydrated ID is not the bare path, so a change to an incorrect non-bare ID could pass. Assert the canonical ID before and after hydration, then remove the side-effect import from server-editor-file-restart-identity.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.
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
Remove 211 low-value tests, including nine whole suites. Keep 105 registrations covering failure recovery, lifecycle interleavings, ownership refusal and hydration consumers.
What Changed
Delete scalar, map/reference, forwarding, fixture-result and mock-call checks across renderer settings, SSH cleanup, tab creation, hydration, sleep, tab-view and worktree-removal stores. Remove nine obsolete timing entries and narrow current reliability-gate assertions with specific loss notes. Preserve historical execution evidence.
Why
These tests mostly repeat implementation details or inspect immediate canned results. Whole suites are removed when none of their registrations justify ongoing maintenance. Exact narrow alarms are deliberately retired; retained tests are not claimed as equivalent replacements.
Linked Issue
Maintainer-requested comprehensive test-value audit; no separate issue.
Visual Proof
N/A — tests and metadata only; no UI changes.
Testing
AI Disclosure
Prepared with Codex.
Review
Root read all 40 original sources and every per-case advisory reason, then independently selected the removals. Named owner reads remain individually attributed. Retained bodies and setup scopes remain unchanged. Kept destructive-stop failures and rollback, synchronous publication races, host collisions, mixed-version refusal, unsaved drafts and actual browser hydration consumers. Source and owner pins are reconciled against the verified preceding squash before publication.
Agent skill upstream boundary
Risk
Level: Low
Removed alarms include direct Windows terminal-creation arguments, host-routing projections, retention/ack map cleanup, activity suppression counters, reconnection hints and settings/SSH state projections, wrapped-removal error tables, tab property forwarding, old SSH repo filtering and tab-group order repair. Specific losses are documented in the audit and affected reliability gate. Cross-platform, independent client/server versions, remote/SSH, mobile and folder workspaces were considered; no new live-provider evidence is claimed. Rollback: revert this test-only commit.
Checklist