Skip to content

test: remove 18 low-value renderer and web tests - #37809

Merged
OrcaWin merged 1 commit into
mainfrom
codex/remove-low-value-renderer-web-tests-18
Nov 3, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
codex/remove-low-value-renderer-web-tests-18

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 14 0 $\color{#cf222e}{\Huge{\mathbf{−}}}$​634 $\color{#cf222e}{\Huge{\mathbf{−}}}$​634
Prod 2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​3 $\color{#cf222e}{\Huge{\mathbf{−}}}$​6 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3

Remove 18 low-value renderer and web tests, including four entire suites, after reviewing 306 authored cases across 82 files. Keep the other 288 cases unchanged.

  • Delete Recent stamp switch, mirrored terminal ID, web search compatibility and attachment picker smoke suites.
  • Remove ordinary setter/map bookkeeping, duplicate listing fallback, supplied-row stamping and mocked request/payload examples.
  • Remove the four deleted suites’ timing entries and document the lost routing alarms in the existing reliability gate. Historical evidence and flaky-pattern baseline counts stay unchanged.

No production code or replacement tests. These removals intentionally give up their narrow request-option, facade wiring, timestamp, token-handoff and ID acceptance alarms; retained cases are not claimed as equivalent coverage.

Validation: all 82 source blobs match merged main; parser verification confirms exactly 18 removals and identical ASTs for all 288 retained registrations. Formatting, correctness/unused lint and whitespace checks pass. Unrelated reliability gates, current commands/assertion references and historical evidence are unchanged. Full runtime/typecheck/repository checks run in CI; no application was launched.

Risk: runtime behavior is unchanged. A revert restores the tests and metadata. No platform, remote/mobile or workspace-kind production changes.

@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Walkthrough

The changes remove tests and test cases across renderer worktree, terminal, and web preload areas. They also remove related CI timing entries and update reliability-gate notes to record coverage omissions. Three web preload timing entries remain with their existing values.

Merge Risk: Minimal · up to 1810c

This PR is limited to intentional test and inventory removals; no actionable merge-blocking risk remains.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title is a short, single-line conventional-commit style summary that names the main change: removing 18 low-value renderer and web tests. The raw summary and PR objectives confirm the changeset is…
Description check Passed The description follows the repository template in substance. It has a clear what-changed section listing removed suites and cases, a risk statement, and validation notes. It lacks the ELI5 section, a…
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 is a short, single-line conventional-commit style summary that names the main change: removing 18 low-value renderer and web tests. The raw summary and PR objectives confirm the changeset is almost entirely test deletions across renderer store slices, terminal store, and web preload tests, plus timing-entry and reliability-gate metadata edits. The title is accurate and specific enough for a teammate scanning history, though it does not name the four deleted suites.

Full details: Description check

Explanation

The description follows the repository template in substance. It has a clear what-changed section listing removed suites and cases, a risk statement, and validation notes. It lacks the ELI5 section, a Why section that explains the rationale against alternatives, a Linked Issue (the template says one should always exist, and the 'Fixes #' line is left blank), a Visual Proof entry (N/A with reason is missing), the Testing checkboxes are unticked and no platforms are listed, the Risk section has no 'Level' selection, and the Review and Agent skill sections are left unfilled. The content is substantive, so the description is mostly complete but missing several required items.

Resolution

Fill in the ELI5 section in plain language. Add a Why section explaining why deleting these tests beats keeping or rewriting them. Link a real issue under Linked Issue, or confirm the maintainer exemption applies. Replace the blank Visual Proof entry with N/A and a short reason. Mark the Testing checkboxes that apply and list the platforms tested. Set the Risk level to Low, Medium, or High. Complete the Review and Agent skill upstream boundary sections.

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

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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
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: bfecfde6-5784-4888-9e4b-e5152e6337b0
Commits

Reviewing files that changed from the base of the PR and between c2257e3 and 1810c11.

Files selected for processing: 16
  • config/reliability-gates.jsonc
  • config/scripts/ci-shard-timings.json
  • src/renderer/src/store/slices/ui/ui-slice-surface-actions.test.ts
  • src/renderer/src/store/slices/worktrees-fetch-listing-merge.test.ts
  • src/renderer/src/store/slices/worktrees-fetch-owner-routing.test.ts
  • src/renderer/src/store/slices/worktrees-fetch-persisted-metadata-fallback.test.ts
  • src/renderer/src/store/slices/worktrees-fetch-removal-purge.test.ts
  • src/renderer/src/store/slices/worktrees-lineage-state.test.ts
  • src/renderer/src/store/slices/worktrees-metadata-persistence.test.ts
  • src/renderer/src/store/slices/worktrees-pending-creation-state.test.ts
  • src/renderer/src/store/slices/worktrees-recent-stamp-switch-on.test.ts
  • src/renderer/src/store/slices/worktrees-remote-runtime-create.test.ts
  • src/renderer/src/store/slices/worktrees-terminal-pr-url-linking.test.ts
  • src/renderer/src/store/terminals/terminal-tab-mirrored-id.test.ts
  • src/renderer/src/web/preload-api/web-ai-vault-search-compat.test.ts
  • src/renderer/src/web/preload-api/web-shell-attachment-picker.test.ts
Files with no reviewable changes: 15
  • src/renderer/src/store/terminals/terminal-tab-mirrored-id.test.ts
  • src/renderer/src/web/preload-api/web-shell-attachment-picker.test.ts
  • src/renderer/src/store/slices/ui/ui-slice-surface-actions.test.ts
  • src/renderer/src/store/slices/worktrees-recent-stamp-switch-on.test.ts
  • src/renderer/src/store/slices/worktrees-remote-runtime-create.test.ts
  • src/renderer/src/web/preload-api/web-ai-vault-search-compat.test.ts
  • src/renderer/src/store/slices/worktrees-terminal-pr-url-linking.test.ts
  • src/renderer/src/store/slices/worktrees-lineage-state.test.ts
  • src/renderer/src/store/slices/worktrees-fetch-listing-merge.test.ts
  • src/renderer/src/store/slices/worktrees-fetch-owner-routing.test.ts
  • src/renderer/src/store/slices/worktrees-metadata-persistence.test.ts
  • src/renderer/src/store/slices/worktrees-fetch-removal-purge.test.ts
  • src/renderer/src/store/slices/worktrees-pending-creation-state.test.ts
  • src/renderer/src/store/slices/worktrees-fetch-persisted-metadata-fallback.test.ts
  • 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.

@OrcaWin
OrcaWin merged commit e7cfc54 into main Nov 3, 2026
41 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