Skip to content

test: remove 68 low-value cases and 18 suites - #34112

Merged
OrcaWin merged 1 commit into
mainfrom
audit/remove-low-value-tests-496
Oct 26, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
audit/remove-low-value-tests-496

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 27 0 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1185 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1185
Prod 1 0 $\color{#cf222e}{\Huge{\mathbf{−}}}$​18 $\color{#cf222e}{\Huge{\mathbf{−}}}$​18

Remove 68 low-value test registrations across 35 audited sources, including 18 entire suites. These primarily assert static markup/classes, labels, supplied props, ordinary arithmetic, or agreement between consumers of the same calculation. Remove the 18 retired suites from CI timing metadata.

Keep 34 registrations covering malformed hosts, pairing secrets, unsafe URLs, unsaved drafts, lifecycle resets, geometry/event routing, shell quoting, and date ambiguity. Retained registration and callback bytes are unchanged.

Validation: exact prepared-patch and source hash verification; isolated AST, formatter and lint checks passed during preparation; git diff --check passed. Fresh PR CI will validate the change. No production code changes.

@coderabbitai

coderabbitai Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

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: 0adad5f0-0b01-467e-9f93-1a44c49327dd
Commits

Reviewing files that changed from the base of the PR and between 1a72319 and eb92bb5.

Files selected for processing: 28
  • config/scripts/ci-shard-timings.json
  • src/renderer/src/components/dashboard/DashboardAgentRowToolStep.test.tsx
  • src/renderer/src/components/linear-issue-attribute-filter-coverage-agreement.test.ts
  • src/renderer/src/components/linear-project-presentation.test.ts
  • src/renderer/src/components/right-sidebar/SessionRowTrailingActions.test.tsx
  • src/renderer/src/components/right-sidebar/fork-push-target-label.test.ts
  • src/renderer/src/components/right-sidebar/source-control-branch-section-heading.test.tsx
  • src/renderer/src/components/right-sidebar/source-control-commit-message-rows.test.ts
  • src/renderer/src/components/settings/RuntimeHostAccessForm.test.tsx
  • src/renderer/src/components/settings/RuntimePairingGeneratorForm.test.tsx
  • src/renderer/src/components/settings/SparsePresetSettingsSection.test.tsx
  • src/renderer/src/components/settings/UnsealedCredentialNotice.test.tsx
  • src/renderer/src/components/settings/provider-rate-limit-scope-panels.test.tsx
  • src/renderer/src/components/settings/session-history-status-copy.test.ts
  • src/renderer/src/components/settings/settings-setup-guide-progress-hook.test.tsx
  • src/renderer/src/components/sidebar/AddRepoCreateStep.test.tsx
  • src/renderer/src/components/sidebar/AddWslHostFormPanel.test.tsx
  • src/renderer/src/components/sidebar/CacheTimer.test.tsx
  • src/renderer/src/components/sidebar/SetupScriptPromptCardShell.test.tsx
  • src/renderer/src/components/sidebar/WorktreeCardPorts.test.tsx
  • src/renderer/src/components/sidebar/WorktreeDeveloperMenu.test.tsx
  • src/renderer/src/components/sidebar/WorktreeReferenceStack.test.tsx
  • src/renderer/src/components/sidebar/WorktreeTitleInlineRename.test.tsx
  • src/renderer/src/components/sidebar/host-section-local-label.test.ts
  • src/renderer/src/components/sidebar/remote-file-browser-highlight.test.ts
  • src/renderer/src/components/sidebar/worktree-list/rows/FolderPathStatusIndicator.test.tsx
  • src/renderer/src/components/source-control/SourceControlActionVariableChips.test.tsx
  • src/renderer/src/components/ui/security-surface.test.tsx
Files with no reviewable changes: 28
  • src/renderer/src/components/settings/settings-setup-guide-progress-hook.test.tsx
  • src/renderer/src/components/sidebar/WorktreeDeveloperMenu.test.tsx
  • src/renderer/src/components/sidebar/SetupScriptPromptCardShell.test.tsx
  • src/renderer/src/components/settings/provider-rate-limit-scope-panels.test.tsx
  • src/renderer/src/components/linear-project-presentation.test.ts
  • src/renderer/src/components/settings/UnsealedCredentialNotice.test.tsx
  • src/renderer/src/components/sidebar/WorktreeCardPorts.test.tsx
  • src/renderer/src/components/settings/session-history-status-copy.test.ts
  • src/renderer/src/components/settings/RuntimeHostAccessForm.test.tsx
  • src/renderer/src/components/settings/RuntimePairingGeneratorForm.test.tsx
  • src/renderer/src/components/sidebar/WorktreeTitleInlineRename.test.tsx
  • src/renderer/src/components/right-sidebar/source-control-branch-section-heading.test.tsx
  • src/renderer/src/components/sidebar/host-section-local-label.test.ts
  • src/renderer/src/components/sidebar/CacheTimer.test.tsx
  • src/renderer/src/components/linear-issue-attribute-filter-coverage-agreement.test.ts
  • src/renderer/src/components/dashboard/DashboardAgentRowToolStep.test.tsx
  • src/renderer/src/components/source-control/SourceControlActionVariableChips.test.tsx
  • src/renderer/src/components/sidebar/AddRepoCreateStep.test.tsx
  • src/renderer/src/components/right-sidebar/source-control-commit-message-rows.test.ts
  • src/renderer/src/components/right-sidebar/SessionRowTrailingActions.test.tsx
  • src/renderer/src/components/right-sidebar/fork-push-target-label.test.ts
  • src/renderer/src/components/ui/security-surface.test.tsx
  • src/renderer/src/components/settings/SparsePresetSettingsSection.test.tsx
  • src/renderer/src/components/sidebar/AddWslHostFormPanel.test.tsx
  • src/renderer/src/components/sidebar/remote-file-browser-highlight.test.ts
  • src/renderer/src/components/sidebar/WorktreeReferenceStack.test.tsx
  • src/renderer/src/components/sidebar/worktree-list/rows/FolderPathStatusIndicator.test.tsx
  • config/scripts/ci-shard-timings.json

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

Walkthrough

The change removes tests across several renderer component areas and replaces multiple WSL host-panel tests with one test for the missing-server-files state. It also removes timing records for deleted tests and adds or updates CI shard timings for worktree tests.

Priority: Low

Merge Risk: Minimal · up to eb92b

No merge-blocking issue is established. Fresh CI remains to be validated before merging.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description explains the test removals, retained coverage, CI metadata changes, validation performed, and absence of production changes. It does not follow the required template and omits the requ… Add all required template sections. Include a linked issue after “Fixes #”. State “N/A” with a reason under Visual Proof if there is no visual or interaction change. Document testing steps and platforms, complete the Testing and Checklist i…
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly summarizes the main change: removal of 68 low-value test cases and 18 test suites.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files.
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: Description check

Explanation

The description explains the test removals, retained coverage, CI metadata changes, validation performed, and absence of production changes. It does not follow the required template and omits the required ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Review, Notes, and Checklist sections.

Resolution

Add all required template sections. Include a linked issue after “Fixes #”. State “N/A” with a reason under Visual Proof if there is no visual or interaction change. Document testing steps and platforms, complete the Testing and Checklist items, and address Review, Notes, AI Disclosure, and Agent skill upstream boundary as applicable.

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@OrcaWin
OrcaWin merged commit b8c596e into main Oct 26, 2026
32 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