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
Remove 153 low-value tests, including eight entire suites, to reduce maintenance and CI work.
What Changed
Audit 30 editor, buffer, session and tab-layout test sources: remove 153 authored registrations and retain 108. Delete suites for cursor-line setters, draft setters, standalone session hydration projections, conflict-overview selectors, join decision tables, hydration complexity projections, status-index getter counts and staged-rename field projections. Remove their eight timing entries.
Why
The removed tests repeat narrow variants, assert supplied state/commands or internal identities, duplicate production logic, or stop before a meaningful consumer. Keep tests for draft preservation and rejoin, runtime retirement isolation, cross-workspace edits, actual frame ordering/refusal/reopen and representative layout policy.
Some standalone regression alarms are intentionally lost. Retained tests are not claimed to provide equivalent coverage.
Linked Issue
Internal maintenance requested by a stablyai maintainer. The template exempts maintainers from opening needless issues; no pre-existing issue is linked.
Visual Proof
N/A — test and timing-metadata removals only; no runtime/UI changes.
Testing
I manually tested these changes locally
Automated test removals explained above
All original sources were read and every registration received a value decision. External static parsing, exact retained registration/callback/setup/scope comparisons, cleanup replay, preserved runtime import edges, formatting and inert lint passed. No local project tests, builds, typechecks, installs or apps were run. CI must run all 12 full unit shards and applicable workflows before merge.
Review
Root reviewed all 30 originals and the final cleanup. Named owner bodies were read; other direct-import snapshots serve as pins, without a dependency-closure claim. Publication must reconcile all source and owner pins against the verified previous merge. Historical execution evidence remains unchanged.
Agent skill upstream boundary
Not applicable; no upstream skill source is copied or translated.
Risk
Level: Low. Test coverage decreases intentionally. Reverting this PR restores the removed suites, registrations and timing rows; it does not change production behavior. Retained tests are not equivalent coverage for every removed alarm.
Notes
Production behavior is unchanged across macOS, Linux, Windows, remote, mobile and folder workspaces. Coverage decreases intentionally; revert this PR to restore the removed alarms.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
Walkthrough
The pull request changes editor-store test coverage across tab opening, ownership, layout, editor state, buffers, and remote and Git workflows. It adds tests for distinct markdown previews across source owners and removes tests for several editor behaviors. It also updates CI test-duration entries. The supplied changes contain no implementation-code changes.
Merge Risk: Minimal · up to 15459
The test coverage reduction is intentional, and no concrete failure has been identified. The change is mergeable after normal checks.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title names the main change: removing 153 low-value editor, buffer, and layout tests. The changeset deletes and trims test files under the editor store slices and removes the matching timing entri…
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.
Description check
The description follows the required template. It explains the scope, rationale, testing performed, intentional coverage reduction, visual-proof status, risk, rollback, platform impact, and CI status.…
Full details: Title check
Explanation
The title names the main change: removing 153 low-value editor, buffer, and layout tests. The changeset deletes and trims test files under the editor store slices and removes the matching timing entries, so the title matches the changeset. It is specific and does not use vague wording.
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 11 files.
Full details: Description check
Explanation
The description follows the required template. It explains the scope, rationale, testing performed, intentional coverage reduction, visual-proof status, risk, rollback, platform impact, and CI status. No linked issue is provided, but the author identifies this as internal maintainer work, which matches the template’s maintainer exception.
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.
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 153 low-value tests, including eight entire suites, to reduce maintenance and CI work.
What Changed
Audit 30 editor, buffer, session and tab-layout test sources: remove 153 authored registrations and retain 108. Delete suites for cursor-line setters, draft setters, standalone session hydration projections, conflict-overview selectors, join decision tables, hydration complexity projections, status-index getter counts and staged-rename field projections. Remove their eight timing entries.
Why
The removed tests repeat narrow variants, assert supplied state/commands or internal identities, duplicate production logic, or stop before a meaningful consumer. Keep tests for draft preservation and rejoin, runtime retirement isolation, cross-workspace edits, actual frame ordering/refusal/reopen and representative layout policy.
Some standalone regression alarms are intentionally lost. Retained tests are not claimed to provide equivalent coverage.
Linked Issue
Internal maintenance requested by a stablyai maintainer. The template exempts maintainers from opening needless issues; no pre-existing issue is linked.
Visual Proof
N/A — test and timing-metadata removals only; no runtime/UI changes.
Testing
All original sources were read and every registration received a value decision. External static parsing, exact retained registration/callback/setup/scope comparisons, cleanup replay, preserved runtime import edges, formatting and inert lint passed. No local project tests, builds, typechecks, installs or apps were run. CI must run all 12 full unit shards and applicable workflows before merge.
Review
Root reviewed all 30 originals and the final cleanup. Named owner bodies were read; other direct-import snapshots serve as pins, without a dependency-closure claim. Publication must reconcile all source and owner pins against the verified previous merge. Historical execution evidence remains unchanged.
Agent skill upstream boundary
Risk
Level: Low. Test coverage decreases intentionally. Reverting this PR restores the removed suites, registrations and timing rows; it does not change production behavior. Retained tests are not equivalent coverage for every removed alarm.
Notes
Production behavior is unchanged across macOS, Linux, Windows, remote, mobile and folder workspaces. Coverage decreases intentionally; revert this PR to restore the removed alarms.
Checklist