Skip to content

test: remove 46 low-value test suites - #36403

Merged
OrcaWin merged 1 commit into
mainfrom
audit844-remove-low-value-tests
Oct 30, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
audit844-remove-low-value-tests

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

Remove 46 complete suites (124 authored cases) whose assertions primarily check mock calls, supplied mock outputs, inventories, or narrow argument forwarding. Remove 39 obsolete shard timing entries. No production code changes.

Reviewed 100 previously unaudited files: retained 54 suites / 132 cases unchanged where they protect meaningful behavior. These deletions relinquish the suites’ narrow alarms; no replacement-equivalence claim is made.

Validation: complete deletion-source review, all 256 case rationales reviewed, immutable source/context authentication, and independent canonical forward/reverse patch reconstruction. Fresh PR CI passed all 12 unit shards, static/typecheck, cross-version compatibility, and the full PR aggregate. Exact retained results: 132 passes / 0 skips across 54 suites. Current-main gate verified the canonical patch and 344 finite source/context pins.

@coderabbitai

coderabbitai Bot commented Oct 30, 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: 31250288-7c31-4b61-89ec-9983e6311560
Commits

Reviewing files that changed from the base of the PR and between 71bcf13 and ff5869c.

Files selected for processing: 47
  • config/scripts/ci-shard-timings.json
  • src/main/claude/claude-cli-flag-prewarm.test.ts
  • src/main/codex-accounts/codex-config-mirror-wsl-stopped.test.ts
  • src/main/codex/codex-structured-owner-identity.test.ts
  • src/main/codex/codex-trust-grant-host.test.ts
  • src/main/daemon/daemon-endpoint-windows.test.ts
  • src/main/daemon/daemon-lifecycle-event.test.ts
  • src/main/daemon/pty-subprocess/spawn-preflight-health-probe.test.ts
  • src/main/github/pr-start-point-wsl-gate.test.ts
  • src/main/ipc/hooks/issue-command-wsl-running-signal.test.ts
  • src/main/ipc/hooks/worktree-hook-check-background-gate.test.ts
  • src/main/ipc/pty/host-env/codex-hook-reconcile-spawn.test.ts
  • src/main/ipc/pty/pty-restored-appimage-cli-shim-refresh.test.ts
  • src/main/ipc/pty/runtime/spawn-commit-response.test.ts
  • src/main/ipc/worktrees/listing/detected-provider-listing-meta-index.test.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-restart-reconcile.test.ts
  • src/main/orcad/orcad-wsl-host-login-environment.test.ts
  • src/main/runtime/rpc/methods/client-events.test.ts
  • src/main/runtime/rpc/methods/files-write-disk-precondition.test.ts
  • src/main/runtime/rpc/methods/terminal-navigation.test.ts
  • src/main/runtime/rpc/methods/updater.test.ts
  • src/main/runtime/rpc/terminal-subscribe-lease-only.test.ts
  • src/main/runtime/runtime-git-branch-compare-admission.test.ts
  • src/main/runtime/runtime-project-group-controller-folder-delete.test.ts
  • src/main/runtime/runtime-session-search-settings.test.ts
  • src/main/runtime/runtime-workspace-view-change-events.test.ts
  • src/main/serve-update-handoff.app-environment.test.ts
  • src/main/ssh/config/ssh-config-resolver.test.ts
  • src/main/window/clipboard-text-write-verify.test.ts
  • src/main/window/main-window-updater-headless-serve.test.ts
  • src/renderer/src/components/browser-pane/navigate/navigate-browser-page-notebook-link.test.ts
  • src/renderer/src/components/dashboard-popout/DashboardPopoutRoot.test.tsx
  • src/renderer/src/components/editor/editor-dropped-file-open.escaping-link.test.ts
  • src/renderer/src/components/editor/editor-save-grant.test.ts
  • src/renderer/src/components/editor/pdf-document-loader.test.ts
  • src/renderer/src/components/editor/use-monaco-editor-decorations.doc-link-refresh.test.tsx
  • src/renderer/src/components/native-chat/structured-session-takeover-report.test.tsx
  • src/renderer/src/components/plugins/page/PluginContributionActionLanguage.test.tsx
  • src/renderer/src/components/sidebar/AgentDashboardSidebarHost.test.tsx
  • src/renderer/src/components/sidebar/worktree-attachment-editing.test.ts
  • src/renderer/src/components/terminal-pane/terminal-link-escaping-file-open.test.ts
  • src/renderer/src/components/terminal-pane/terminal-pane-paste-execution.test.ts
  • src/renderer/src/hooks/useIpcEvents-agent-dashboard-shortcut.test.ts
  • src/renderer/src/lib/ai-vault-resume-shell.test.ts
  • src/renderer/src/lib/cmd-j-github-url-lookup.test.ts
  • src/renderer/src/store/slices/agent-status/agent-status-live-freshness-request.test.ts
  • src/renderer/src/store/terminals/terminal-tab-close-providers.test.ts
Files with no reviewable changes: 47
  • src/main/ipc/hooks/issue-command-wsl-running-signal.test.ts
  • src/main/ipc/pty/host-env/codex-hook-reconcile-spawn.test.ts
  • src/main/runtime/runtime-workspace-view-change-events.test.ts
  • src/main/ssh/config/ssh-config-resolver.test.ts
  • src/renderer/src/components/sidebar/AgentDashboardSidebarHost.test.tsx
  • src/main/ipc/pty/runtime/spawn-commit-response.test.ts
  • src/main/serve-update-handoff.app-environment.test.ts
  • src/renderer/src/lib/cmd-j-github-url-lookup.test.ts
  • src/main/daemon/daemon-endpoint-windows.test.ts
  • src/main/runtime/rpc/methods/terminal-navigation.test.ts
  • src/main/runtime/rpc/methods/files-write-disk-precondition.test.ts
  • src/renderer/src/components/browser-pane/navigate/navigate-browser-page-notebook-link.test.ts
  • src/main/codex-accounts/codex-config-mirror-wsl-stopped.test.ts
  • src/main/runtime/rpc/methods/updater.test.ts
  • src/main/github/pr-start-point-wsl-gate.test.ts
  • src/main/claude/claude-cli-flag-prewarm.test.ts
  • src/renderer/src/components/terminal-pane/terminal-link-escaping-file-open.test.ts
  • src/main/ipc/pty/pty-restored-appimage-cli-shim-refresh.test.ts
  • src/renderer/src/hooks/useIpcEvents-agent-dashboard-shortcut.test.ts
  • src/renderer/src/components/terminal-pane/terminal-pane-paste-execution.test.ts
  • src/renderer/src/lib/ai-vault-resume-shell.test.ts
  • src/renderer/src/components/editor/editor-dropped-file-open.escaping-link.test.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-restart-reconcile.test.ts
  • src/main/runtime/rpc/methods/client-events.test.ts
  • src/main/orcad/orcad-wsl-host-login-environment.test.ts
  • src/main/daemon/daemon-lifecycle-event.test.ts
  • src/renderer/src/components/sidebar/worktree-attachment-editing.test.ts
  • src/main/runtime/runtime-git-branch-compare-admission.test.ts
  • src/renderer/src/components/native-chat/structured-session-takeover-report.test.tsx
  • src/main/runtime/rpc/terminal-subscribe-lease-only.test.ts
  • src/main/runtime/runtime-session-search-settings.test.ts
  • src/main/ipc/worktrees/listing/detected-provider-listing-meta-index.test.ts
  • src/renderer/src/components/dashboard-popout/DashboardPopoutRoot.test.tsx
  • src/main/daemon/pty-subprocess/spawn-preflight-health-probe.test.ts
  • src/main/ipc/hooks/worktree-hook-check-background-gate.test.ts
  • src/renderer/src/store/slices/agent-status/agent-status-live-freshness-request.test.ts
  • src/renderer/src/components/editor/editor-save-grant.test.ts
  • src/main/window/clipboard-text-write-verify.test.ts
  • src/renderer/src/components/plugins/page/PluginContributionActionLanguage.test.tsx
  • src/main/runtime/runtime-project-group-controller-folder-delete.test.ts
  • src/renderer/src/components/editor/use-monaco-editor-decorations.doc-link-refresh.test.tsx
  • src/renderer/src/components/editor/pdf-document-loader.test.ts
  • src/main/codex/codex-trust-grant-host.test.ts
  • src/main/codex/codex-structured-owner-identity.test.ts
  • src/renderer/src/store/terminals/terminal-tab-close-providers.test.ts
  • src/main/window/main-window-updater-headless-serve.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; 9 remain after this review.

Walkthrough

This change deletes test files across main-process and renderer code. The removed tests covered integrations, runtime services, IPC behavior, and renderer features. The CI shard timing map also loses 39 test-duration records.

Priority: Low

Merge Risk: Minimal · up to ff586

The removed suite gives up a narrow forwarding check, but the disk-conflict behavior remains tested. No issue requiring correction before merge is established.

Pre-merge checks: Passed 3 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description explains the scope, rationale, limitations, and validation results, but it does not follow the required template. It omits the required section headings and does not provide a linked i… Rewrite the description using all required template sections. Add an actual linked issue after Fixes #, provide visual proof or state N/A with a reason, document manual and automated testing with platforms, complete the AI Disclosure an…
Passed Passed checks: 3 passed
Check name Status Explanation
Title check Passed The title clearly identifies the main change: removal of 46 test suites. It is concise and related to the changeset.
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 scope, rationale, limitations, and validation results, but it does not follow the required template. It omits the required section headings and does not provide a linked issue, visual proof or an explicit N/A statement, testing checklist status, AI disclosure, review notes, upstream-boundary checkbox, or checklist completion.

Resolution

Rewrite the description using all required template sections. Add an actual linked issue after Fixes #, provide visual proof or state N/A with a reason, document manual and automated testing with platforms, complete the AI Disclosure and Agent skill upstream boundary sections as applicable, address the Review and Notes items, and mark or explain each Checklist item.

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 c18bf65 into main Oct 30, 2026
47 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