Skip to content

test: remove 20 low-value suites and trim six others - #42978

Merged
OrcaWin merged 1 commit into
mainfrom
test/remove-low-value-suites-6006
Nov 16, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
test/remove-low-value-suites-6006

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

ELI5

Remove 20 low-value test suites and trim six others: 89 test declarations / 109 fixed cases. Delete one data fixture whose sole consumer is removed. Production behavior stays the same.

Files Added Deleted Net
Test 26 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3737 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3735
Prod 3 0 $\color{#cf222e}{\Huge{\mathbf{−}}}$​266 $\color{#cf222e}{\Huge{\mathbf{−}}}$​266

What Changed

Retire retrospective usage analytics, isolated session/project filtering and query/ratio examples, local picker/menu callbacks, terminal link/exit examples, palette activation state, mobile list parity and deferred-permission copy. Trim narrow Monarch embedding, detected-agent and Git history cases alongside analytics and presentation examples. Remove 16 passive timing entries and one stale wall-clock baseline row.

Why

Each test and its relevant owner/setup were reviewed, including prior KEEP decisions. These tests exercise real behavior; deliberately accept their specific regression alarms under the maintainer's requested marginal-value threshold. No equivalent replacement coverage is claimed. Retain material conversation discovery, raw prompt/privacy and consent boundaries, exception isolation, stale async work, input ownership, inert authored content and the explicit mobile permission action. Detailed decisions and accepted losses are preserved in packets6000/6001/6002/6004 and grouped6005.

Linked Issue

Maintainer-requested test cleanup.

Visual Proof

N/A — test and test-data removals.

Testing

  • Automated tests intentionally removed after review.
  • Manual UI validation (N/A).

Five retained desktop suites and the retained mobile picker suite, reliability policy and all required changed checks passed locally. Full current-head CI required before merge. No native GUI runtime claim.

AI Disclosure

AI-assisted with Codex.

Risk

Medium. Deliberately loses real analytics/SQL/file ingestion, grouping/query/layout compatibility, picker callback, terminal notification and mobile display alarms described above. Reverting restores tests and metadata.

Agent skill upstream boundary

  • Not applicable.

Notes

Cross-platform, remote, mobile and folder-workspace effects considered. The comprehensive audit remains in progress; no global remaining-removal estimate.

Checklist

  • Focused change and self-review
  • Accepted coverage losses explained
  • Visual proof N/A
  • Full current-head CI passed (required before merge)

@coderabbitai

coderabbitai Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request removes test files and test cases across usage scanners, plugins, telemetry, interface behavior, and shared utilities. It also removes a project-section parity fixture, a flaky-test baseline entry, and CI sharding timings for deleted tests. The summaries report no production behavior changes.

Merge Risk: Minimal · up to 6168d

This change removes tests and related CI bookkeeping without altering production behavior. Merge risk is minimal, and the reduced test coverage is a deliberate, documented tradeoff.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "test: remove 20 low-value suites and trim six others" names the main change: removing 20 test suites and trimming six more. The changeset deletes many test files and trims others, so the ti…
Description check Passed The description follows the repository template. It has the ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Risk, AI Disclosure, Review, upstream boundary, Notes, and Checklist sections.…
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: Title check

Explanation

The title "test: remove 20 low-value suites and trim six others" names the main change: removing 20 test suites and trimming six more. The changeset deletes many test files and trims others, so the title matches the primary change. It does not list the specific areas affected, which is expected for a title of this length.

Full details: Description check

Explanation

The description follows the repository template. It has the ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Risk, AI Disclosure, Review, upstream boundary, Notes, and Checklist sections. The ELI5, What Changed, and Why sections give the scope, the removed areas, and the reasons. The Linked Issue section says 'Maintainer-requested test cleanup' with no issue number, and the template says there should always be a linked issue. The Risk level is set to Medium with an explanation. The Testing section gives reviewer steps only in general terms, and the manual testing box is unchecked. The description does not list the specific platforms tested. The Why section relies on referenced packets documents that a reviewer may not have access to.

Resolution

Consider these improvements. Add an issue link under Linked Issue, or state that the change has no issue and why. Name the platforms tested under Testing. Summarize the accepted coverage losses inside the PR so reviewers do not need the external packet files.

  • 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

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: 273585d1-0a08-4d27-8b08-0dc811bf0024
Commits

Reviewing files that changed from the base of the PR and between b3d1666 and 6168d91.

Files selected for processing: 29

  • config/flaky-test-pattern-baseline.txt
  • config/scripts/ci/sharding/ci-shard-timings.json
  • mobile/src/session/native-chat/input/session-options/MobileNativeChatSessionOptionPickers.test.ts
  • mobile/src/worktree/workspace-list/workspace-list-sections-desktop-parity.test.ts
  • src/main/claude-usage/scanner-long-context.test.ts
  • src/main/claude-usage/scanner-scan.test.ts
  • src/main/claude-usage/scanner.test.ts
  • src/main/codex-usage/codex-usage-long-context-billing.test.ts
  • src/main/codex-usage/scanner.test.ts
  • src/main/muse-usage/scanner.test.ts
  • src/main/opencode-usage/scanner.test.ts
  • src/main/plugins/catalog/plugin-install-stats-service.test.ts
  • src/main/plugins/contributions/plugin-theme-registries.test.ts
  • src/main/telemetry/client-prompt-sampling.test.ts
  • src/main/telemetry/plugin-install-telemetry.test.ts
  • src/renderer/src/components/agent/AgentLaunchPickerMenu.search.test.tsx
  • src/renderer/src/components/new-workspace/branch-selection/ComposerParentWorktreePicker.test.tsx
  • src/renderer/src/components/right-sidebar/source-control/sync/use-source-control-git-history.test.tsx
  • src/renderer/src/components/tab-group/SplitPaneLanding.test.tsx
  • src/renderer/src/components/terminal-pane/links/handles/terminal-handle-links.test.ts
  • src/renderer/src/components/terminal-pane/notifications/terminal-completion-after-exit.test.ts
  • src/renderer/src/hooks/useDetectedAgents.test.tsx
  • src/renderer/src/lib/monaco-languages/monarch-embed-entry-recursion.test.ts
  • src/renderer/src/lib/workspace/search/tabs/workspace-tab-palette-activation.store.test.ts
  • src/shared/ai-vault/session-display/ai-vault-session-filters.test.ts
  • src/shared/github/projects/project-group-sort.test.ts
  • src/shared/sidebar-list/sections/project-section-parity.test-fixture.ts
  • src/shared/work-items/task-query.test.ts
  • src/shared/workspace-layout/commands/workspace-layout-ratio-commands.test.ts
Files with no reviewable changes: 27

  • config/flaky-test-pattern-baseline.txt
  • config/scripts/ci/sharding/ci-shard-timings.json
  • mobile/src/session/native-chat/input/session-options/MobileNativeChatSessionOptionPickers.test.ts
  • mobile/src/worktree/workspace-list/workspace-list-sections-desktop-parity.test.ts
  • src/main/claude-usage/scanner-long-context.test.ts
  • src/main/claude-usage/scanner-scan.test.ts
  • src/main/claude-usage/scanner.test.ts
  • src/main/codex-usage/codex-usage-long-context-billing.test.ts
  • src/main/codex-usage/scanner.test.ts
  • src/main/muse-usage/scanner.test.ts
  • src/main/opencode-usage/scanner.test.ts
  • src/main/plugins/catalog/plugin-install-stats-service.test.ts
  • src/main/plugins/contributions/plugin-theme-registries.test.ts
  • src/main/telemetry/client-prompt-sampling.test.ts
  • src/renderer/src/components/agent/AgentLaunchPickerMenu.search.test.tsx
  • src/renderer/src/components/new-workspace/branch-selection/ComposerParentWorktreePicker.test.tsx
  • src/renderer/src/components/right-sidebar/source-control/sync/use-source-control-git-history.test.tsx
  • src/renderer/src/components/tab-group/SplitPaneLanding.test.tsx
  • src/renderer/src/components/terminal-pane/links/handles/terminal-handle-links.test.ts
  • src/renderer/src/components/terminal-pane/notifications/terminal-completion-after-exit.test.ts
  • src/renderer/src/hooks/useDetectedAgents.test.tsx
  • src/renderer/src/lib/workspace/search/tabs/workspace-tab-palette-activation.store.test.ts
  • src/shared/ai-vault/session-display/ai-vault-session-filters.test.ts
  • src/shared/github/projects/project-group-sort.test.ts
  • src/shared/sidebar-list/sections/project-section-parity.test-fixture.ts
  • src/shared/work-items/task-query.test.ts
  • src/shared/workspace-layout/commands/workspace-layout-ratio-commands.test.ts

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

@OrcaWin
OrcaWin merged commit 19aa125 into main Nov 16, 2026
50 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