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 low-value fixtures and duplicate cases - #40667
Remove low-value tests so the suite carries fewer fixtures, duplicated examples and implementation-count checks.
Files
Added
Deleted
Net
Test
16
$\color{#1a7f37}{\Huge{\mathbf{+}}}$44
$\color{#cf222e}{\Huge{\mathbf{−}}}$668
$\color{#cf222e}{\Huge{\mathbf{−}}}$624
Prod
1
$\color{#1a7f37}{\Huge{\mathbf{+}}}$20
$\color{#cf222e}{\Huge{\mathbf{−}}}$15
$\color{#1a7f37}{\Huge{\mathbf{+}}}$5
What Changed
Remove 18 authored tests / 28 expanded cases across five audited batches, including four whole suites: NewRowsMarker, tab-map seam ratchet fixtures, Claude roster work-count checks and the mobile folder panel prop-forwarding test. Trim duplicate IME/repository rows, shallow fallback examples, static key/title policy checks and Brotli RPC counts. The source changes remove 624 net lines.
Retained tests still exercise distinct ownership, async lifecycle, delivery, hydration, routing and data-retention behavior. Reliability gate descriptions record the specific alarms retired; historical receipts and all timing entries remain.
Why
These tests have low value under the repository's test policy: internal work counts, static inventories, duplicated branches or large mocked harnesses for narrow forwarding decisions. Some removed tests protected real behavior; their loss is explicit and no equivalent replacement is claimed.
Linked Issue
Maintainer-requested continuation of the test audit.
Visual Proof
N/A — test and audit-metadata changes only.
Testing
ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --base=f4e285bd9c6ec2a7fb2044901b24d4acdaa58eb3 --maxWorkers=2: all 38 checks pass, including typechecks and selected unit tests. Separate retained-suite runs pass: 27 root suites / 73 cases and 8 mobile suites / 16 cases. Linux headless validation; no native UI or phone run.
Local changed-file checks and retained suites
No replacement tests added; this change deliberately removes low-value coverage
Risk
Level: Low for shipped behavior. The risk is reduced regression detection for the removed marker/reveal, malformed-profile fallback, unanswered host rows, static key/title policy, subscription forwarding and internal work-budget alarms. Mobile and older-host examples lose the specific checks described above. A plain revert restores them.
Review
Five source batches passed independent value review. Separate technical review confirmed exact source composition, retained callbacks, metadata history and timing preservation. Full CI must pass before merge.
Agent skill upstream boundary
This change copies no upstream skill-installer source or assets.
Checklist
Focused on removing low-value tests
Changes and accepted coverage losses explained
Cross-platform, remote, mobile and folder-workspace impact considered
N/A visual proof explained
Local checks pass; full CI will cover required workflows
The diff changes test coverage only. It deletes test files and individual test cases across mobile, main-process, renderer, static-analysis, and terminal code. It also narrows parameterized tests for repository selection and IME keyboard events. No production-code changes are described.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title clearly summarizes the main change: removing low-value tests and duplicate cases.
Description check
The description covers the required sections, explains the scope and rationale, reports testing, states coverage risks and rollback, and marks visual proof as not applicable. The maintainer-requested …
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 scope and rationale, reports testing, states coverage risks and rollback, and marks visual proof as not applicable. The maintainer-requested continuation explains why no issue link is provided.
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.
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
Review coverage is incomplete: 1 file could not be fully reviewed. Findings from completed review steps are included; see review info for details.
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 removed case was the only direct test found for per-skill count deduplication. SkillsPage.tsx still displays the resulting options. Retain a small aggregation assertion, or identify an equivalent component test, so a count regression does not leave the Skills page with incorrect filter counts.
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: b9b1d575-82e0-46e0-a215-b7a78dd7d768
Commits
Reviewing files that changed from the base of the PR and between f4e285b and 779cac6.
Files not fully reviewed because their changes were unavailable: 1
config/reliability-gates.jsonc
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 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 low-value tests so the suite carries fewer fixtures, duplicated examples and implementation-count checks.
What Changed
Remove 18 authored tests / 28 expanded cases across five audited batches, including four whole suites: NewRowsMarker, tab-map seam ratchet fixtures, Claude roster work-count checks and the mobile folder panel prop-forwarding test. Trim duplicate IME/repository rows, shallow fallback examples, static key/title policy checks and Brotli RPC counts. The source changes remove 624 net lines.
Retained tests still exercise distinct ownership, async lifecycle, delivery, hydration, routing and data-retention behavior. Reliability gate descriptions record the specific alarms retired; historical receipts and all timing entries remain.
Why
These tests have low value under the repository's test policy: internal work counts, static inventories, duplicated branches or large mocked harnesses for narrow forwarding decisions. Some removed tests protected real behavior; their loss is explicit and no equivalent replacement is claimed.
Linked Issue
Maintainer-requested continuation of the test audit.
Visual Proof
N/A — test and audit-metadata changes only.
Testing
ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --base=f4e285bd9c6ec2a7fb2044901b24d4acdaa58eb3 --maxWorkers=2: all 38 checks pass, including typechecks and selected unit tests. Separate retained-suite runs pass: 27 root suites / 73 cases and 8 mobile suites / 16 cases. Linux headless validation; no native UI or phone run.Risk
Level: Low for shipped behavior. The risk is reduced regression detection for the removed marker/reveal, malformed-profile fallback, unanswered host rows, static key/title policy, subscription forwarding and internal work-budget alarms. Mobile and older-host examples lose the specific checks described above. A plain revert restores them.
Review
Five source batches passed independent value review. Separate technical review confirmed exact source composition, retained callbacks, metadata history and timing preservation. Full CI must pass before merge.
Agent skill upstream boundary
Checklist