Skip to content

test: remove 57 low-value renderer tests - #37471

Merged
OrcaWin merged 1 commit into
mainfrom
codex/remove-low-value-tests-932
Nov 2, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
codex/remove-low-value-tests-932

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 19 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1114 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1112
Prod 3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​3 $\color{#cf222e}{\Huge{\mathbf{−}}}$​7 $\color{#cf222e}{\Huge{\mathbf{−}}}$​4

Remove 57 low-value renderer tests, including three complete suites: the stopped WSL host notice, direct SSH state routing, and attachment drop failure aggregation. The remaining removals cover static copy/shape inventories, private Boolean mappings, repeated happy paths, mock forwarding, and assertions that do not distinguish the behavior named by the test.

Retain the meaningful ownership, lifecycle, mixed-result, stale-result, selection, and row-population checks reviewed alongside them. Narrow copy, diagnostic, and helper-mapping alarms are deliberately dropped; this does not claim equivalent coverage. Remove unused test scaffolding, three timing entries, and the active reliability-gate references to the deleted SSH suite. Preserve its historical evidence entry. Prune the flaky-pattern baseline from 15 to 8 wall-clock references after the deletions. Production code is unchanged.

Validation: external parser confirms exactly 57 authored registrations removed and all 365 retained registration/callback bodies unchanged across the finite selection. External formatting, syntax checks, and inert correctness lint passed. No local project tests/builds/apps were run; full current-head CI is required before merge.

@OrcaWin
OrcaWin force-pushed the codex/remove-low-value-tests-932 branch from b61fcb1 to 4a1f51d Compare November 2, 2026 13:16
@OrcaWin OrcaWin changed the title test: remove 27 low-value renderer policy and inventory tests test: remove 57 low-value renderer tests Nov 2, 2026
@OrcaWin
OrcaWin changed the base branch from codex/remove-low-value-tests-922 to main November 2, 2026 13:16
@OrcaWin
OrcaWin marked this pull request as ready for review November 2, 2026 13:17
@OrcaWin
OrcaWin force-pushed the codex/remove-low-value-tests-932 branch from 4a1f51d to 844a011 Compare November 2, 2026 13:23
@coderabbitai

coderabbitai Bot commented Nov 2, 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: cc73706a-e0eb-44a7-bcb3-15bfb814b7d4
Commits

Reviewing files that changed from the base of the PR and between 4a1f51d and 844a011.

Files selected for processing: 1
  • config/flaky-test-pattern-baseline.txt

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 pull request removes tests across workspace projection, worktree navigation, hooks, composer state, and WSL components. It replaces two completion notification test cases with cases covering an inactive tab without PTYs and a suppressed PTY. It also removes corresponding CI gate selections and timing records, and lowers one flaky-test baseline count.

Merge Risk: Minimal · up to 844a0

The change removes tests and updates their associated CI metadata without an established merge-blocking behavior or integration risk.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description follows the repository template. It includes a LoC summary, a What Changed section that covers the removed suites and the reasons for removal, and a Validation paragraph. It also expla… Complete the missing template sections. Add an ELI5 summary and a Why section that explains the choice to delete tests rather than keep them. Add a Linked Issue reference, or state why none exists. Mark Visual Proof as N/A with a reason, si…
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title "test: remove 57 low-value renderer tests" matches the main change. The changeset removes renderer test cases and related timing and baseline entries, and production code is unchanged. The t…
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 with cyclomatic complexity of at least 2. Documentat…
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 57 low-value renderer tests" matches the main change. The changeset removes renderer test cases and related timing and baseline entries, and production code is unchanged. The title is short, specific, and follows a conventional commit style. It does not list individual suites, but that detail is not required.

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 2 files. (1 skipped: 1 unsupported.)

Full details: Description check

Explanation

The description follows the repository template. It includes a LoC summary, a What Changed section that covers the removed suites and the reasons for removal, and a Validation paragraph. It also explains the reliability-gate and timing-baseline updates. Several template sections are missing or empty: ELI5, Why (the reason for the chosen approach over alternatives), Linked Issue, Visual Proof (required for behavior changes, but this is a test-only change, so N/A with a reason is expected), Testing checkboxes, Risk level, AI Disclosure, and the Review and Agent skill upstream boundary checkboxes. The author also states that no local tests were run, which weakens the Testing section.

Resolution

Complete the missing template sections. Add an ELI5 summary and a Why section that explains the choice to delete tests rather than keep them. Add a Linked Issue reference, or state why none exists. Mark Visual Proof as N/A with a reason, since no UI behavior changes. Check the Testing boxes that apply and state which platforms were tested. Set the Risk level to Low, Medium, or High, and describe what a revert would restore. Complete the AI Disclosure section or mark it not applicable. Complete the Agent skill upstream boundary checkbox. Replace the Checklist items with the actual status, or mark them as not yet done.

  • 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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick comments: 1
src/renderer/src/components/wsl-host-mark/WslHostMark.test.tsx: 1

32-32: Trivial · Maintainability & Code Quality · Quick win

Retain coverage for the production-used withTooltip={false} branch.

ProjectHeaderHostLabel uses this branch for WSL hosts. The branch prevents a duplicate host tooltip and an unnecessary keyboard tab stop. The retained consumer test does not check either property. Keep the focused test, or add equivalent assertions to the consumer-level test.


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: 9daa0757-9914-495e-86a2-2528ab1bbafd
Commits

Reviewing files that changed from the base of the PR and between c05ce97 and 4a1f51d.

Files selected for processing: 21
  • config/reliability-gates.jsonc
  • config/scripts/ci-shard-timings.json
  • src/renderer/src/components/workspace-cleanup/workspace-cleanup-background-removal-late-settlement.test.ts
  • src/renderer/src/components/workspace-surface-projection.test.ts
  • src/renderer/src/components/worktree-jump/WorktreeJumpPalette.linear-url.test.tsx
  • src/renderer/src/components/worktree-jump/WorktreeJumpPalette.recent-tabs.behavior.test.tsx
  • src/renderer/src/components/worktree-jump/WorktreeJumpPalette.recent-tabs.test.tsx
  • src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx
  • src/renderer/src/components/worktree-jump/use-worktree-jump-palette-task-search.test.tsx
  • src/renderer/src/components/worktree-jump/worktree-jump-palette-browser-navigation.test.tsx
  • src/renderer/src/components/worktree-jump/worktree-jump-palette-interleaved-sections.test.tsx
  • src/renderer/src/components/wsl-host-mark/WslHostMark.test.tsx
  • src/renderer/src/components/wsl-host-stopped/WslHostStoppedWorkspaceNotice.test.tsx
  • src/renderer/src/components/wsl-move/WslMoveDialog.test.tsx
  • src/renderer/src/hooks/agent-hook-completion-notifications.test.ts
  • src/renderer/src/hooks/automation-agent-status-entry-change.test.ts
  • src/renderer/src/hooks/composer-branch-selection.test.ts
  • src/renderer/src/hooks/composer-state/attachment-drop-failure.test.tsx
  • src/renderer/src/hooks/composer-state/composer-name-source-selection.test.ts
  • src/renderer/src/hooks/direct-ssh-state-routing.test.ts
  • src/renderer/src/hooks/editor-external-watch-overflow.test.ts
Files with no reviewable changes: 18
  • src/renderer/src/hooks/editor-external-watch-overflow.test.ts
  • src/renderer/src/hooks/automation-agent-status-entry-change.test.ts
  • src/renderer/src/components/wsl-move/WslMoveDialog.test.tsx
  • src/renderer/src/components/worktree-jump/use-worktree-jump-palette-task-search.test.tsx
  • src/renderer/src/components/worktree-jump/WorktreeJumpPalette.linear-url.test.tsx
  • src/renderer/src/components/worktree-jump/worktree-jump-palette-browser-navigation.test.tsx
  • src/renderer/src/hooks/composer-state/attachment-drop-failure.test.tsx
  • src/renderer/src/components/wsl-host-stopped/WslHostStoppedWorkspaceNotice.test.tsx
  • src/renderer/src/components/workspace-cleanup/workspace-cleanup-background-removal-late-settlement.test.ts
  • src/renderer/src/components/worktree-jump/WorktreeJumpPalette.recent-tabs.behavior.test.tsx
  • src/renderer/src/hooks/composer-state/composer-name-source-selection.test.ts
  • src/renderer/src/hooks/direct-ssh-state-routing.test.ts
  • src/renderer/src/hooks/agent-hook-completion-notifications.test.ts
  • src/renderer/src/components/worktree-jump/WorktreeJumpPalette.recent-tabs.test.tsx
  • src/renderer/src/components/worktree-jump/worktree-jump-palette-interleaved-sections.test.tsx
  • src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx
  • config/scripts/ci-shard-timings.json
  • src/renderer/src/hooks/composer-branch-selection.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.

@OrcaWin
OrcaWin merged commit c9845c5 into main Nov 2, 2026
42 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