Repository navigation
test: remove 40 low-value test suites - #36336
Conversation
|
No actionable comments were generated in the recent review.
|
There was a problem hiding this comment.
Actionable comments posted: 1

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:
80f5cb6d-f5b2-44d3-9064-085ed95b3cd8
Files selected for processing: 42-
config/reliability-gates.jsoncconfig/scripts/ci-shard-timings.jsonsrc/main/browser/browser-tab-identity.test.tssrc/main/claude/structured/claude-structured-owner-identity.test.tssrc/main/codex-accounts/codex-login-session-windows-only.test.tssrc/main/codex-accounts/wsl-codex-command.test.tssrc/main/external-conversations/external-conversation-start.test.tssrc/main/git/command-runner/wsl-command-resolution-launch-note.test.tssrc/main/git/paused-rebase-exec-real-git.test.tssrc/main/git/source-control/resolve-git-dir.test.tssrc/main/ipc/pty/ipc/painted-cold-restore-ack.test.tssrc/main/ipc/watched-worktree-catalog-notification.test.tssrc/main/managed-server/lifecycle/orcad-managed-tunnel-bridge-port.test.tssrc/main/providers/windows-shell-fallback-chain.test.tssrc/main/rate-limits/codex-rpc-rate-limit-probe-windows-only.test.tssrc/main/rate-limits/inactive-codex-home.test.tssrc/main/ripgrep/wsl-missing-cwd-exit.test.tssrc/main/runtime/remote-server-updater.test.tssrc/main/runtime/rpc/methods/session-terminal-scrollback.test.tssrc/main/runtime/rpc/methods/structured-agent-session-create-tab-publication.test.tssrc/main/runtime/rpc/methods/worktree-set-method.test.tssrc/main/runtime/rpc/terminal-subscribe-terminal-use.test.tssrc/main/runtime/runtime-file-listing-producer-budgets.test.tssrc/main/ssh/hostile-host-test-support/ssh-hostile-host-local-sshd.test.tssrc/main/ssh/orcad-remote-node-runtime-report.test.tssrc/main/ssh/ssh-host-server-on-connect-contact-lost.test.tssrc/main/ssh/ssh-remote-node-toolchain-probe.test.tssrc/main/telemetry/wsl-move-orchestrator-telemetry.test.tssrc/main/wsl/wsl-background-exec-gate.test.tssrc/renderer/src/components/editor/rich-markdown-save-benchmark.test.tssrc/renderer/src/components/jira-list-columns.test.tssrc/renderer/src/components/settings/ssh-target-save-payload.test.tssrc/renderer/src/components/skills/skill-delete-selection.test.tssrc/renderer/src/components/status-bar/StatusBarUsageEmptyCta.test.tsxsrc/renderer/src/components/status-bar/workspace-space-visit-activity.test.tssrc/renderer/src/components/terminal-pane/WslDistroStoppedHoldCard.test.tsxsrc/renderer/src/components/terminal-pane/terminal-freeze-report.test.tssrc/renderer/src/components/terminal-pane/use-wsl-host-stopped-pane.test.tssrc/renderer/src/components/wsl-drive-project/WslDriveUncConversionRow.test.tsxsrc/renderer/src/lib/structured-agent-session-launch-failure-wsl.test.tssrc/renderer/src/runtime/web-runtime-pane-layout-params.test.tssrc/renderer/src/store/repos/repo-removal-host-twin-teardown.test.ts
Files with no reviewable changes: 41-
- src/main/runtime/rpc/terminal-subscribe-terminal-use.test.ts
- src/renderer/src/runtime/web-runtime-pane-layout-params.test.ts
- src/main/ipc/watched-worktree-catalog-notification.test.ts
- src/renderer/src/components/status-bar/workspace-space-visit-activity.test.ts
- src/renderer/src/components/jira-list-columns.test.ts
- src/renderer/src/lib/structured-agent-session-launch-failure-wsl.test.ts
- src/main/codex-accounts/wsl-codex-command.test.ts
- src/renderer/src/components/terminal-pane/WslDistroStoppedHoldCard.test.tsx
- src/main/git/source-control/resolve-git-dir.test.ts
- src/main/browser/browser-tab-identity.test.ts
- src/main/ssh/ssh-host-server-on-connect-contact-lost.test.ts
- src/main/runtime/rpc/methods/worktree-set-method.test.ts
- src/renderer/src/components/status-bar/StatusBarUsageEmptyCta.test.tsx
- src/renderer/src/components/terminal-pane/terminal-freeze-report.test.ts
- src/main/ipc/pty/ipc/painted-cold-restore-ack.test.ts
- src/main/claude/structured/claude-structured-owner-identity.test.ts
- src/main/codex-accounts/codex-login-session-windows-only.test.ts
- src/main/git/paused-rebase-exec-real-git.test.ts
- src/main/ssh/orcad-remote-node-runtime-report.test.ts
- src/main/runtime/rpc/methods/structured-agent-session-create-tab-publication.test.ts
- src/main/rate-limits/inactive-codex-home.test.ts
- src/renderer/src/components/settings/ssh-target-save-payload.test.ts
- src/main/runtime/rpc/methods/session-terminal-scrollback.test.ts
- src/main/ripgrep/wsl-missing-cwd-exit.test.ts
- src/main/ssh/hostile-host-test-support/ssh-hostile-host-local-sshd.test.ts
- src/main/ssh/ssh-remote-node-toolchain-probe.test.ts
- src/main/external-conversations/external-conversation-start.test.ts
- src/main/runtime/remote-server-updater.test.ts
- src/renderer/src/store/repos/repo-removal-host-twin-teardown.test.ts
- src/main/telemetry/wsl-move-orchestrator-telemetry.test.ts
- src/main/managed-server/lifecycle/orcad-managed-tunnel-bridge-port.test.ts
- src/main/providers/windows-shell-fallback-chain.test.ts
- src/renderer/src/components/terminal-pane/use-wsl-host-stopped-pane.test.ts
- src/renderer/src/components/editor/rich-markdown-save-benchmark.test.ts
- src/main/rate-limits/codex-rpc-rate-limit-probe-windows-only.test.ts
- src/main/runtime/runtime-file-listing-producer-budgets.test.ts
- src/renderer/src/components/skills/skill-delete-selection.test.ts
- src/renderer/src/components/wsl-drive-project/WslDriveUncConversionRow.test.tsx
- src/main/wsl/wsl-background-exec-gate.test.ts
- src/main/git/command-runner/wsl-command-resolution-launch-note.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.
-
| "commands": [ | ||
| "pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/worktree-base-directory-event-filter.test.ts src/main/ipc/worktree-base-directory-watcher.test.ts src/main/ipc/worktree-base-directory-poller.test.ts src/main/ipc/worktree-head-identity-reader.test.ts src/renderer/src/hooks/worktree-head-identity-apply.test.ts src/renderer/src/components/right-sidebar/git-status-push-signal-refresh.test.ts src/renderer/src/hooks/useIpcEvents-browser-tab-create.test.ts", | ||
| "pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/watched-worktree-catalog-notification.test.ts src/main/runtime/external-worktree-paired-client-discovery.integration.test.ts src/main/window/attach-main-window-services.test.ts", | ||
| "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/external-worktree-paired-client-discovery.integration.test.ts src/main/window/attach-main-window-services.test.ts", |
There was a problem hiding this comment.
Update the historical evidence run’s currentCommand.
This line removes watched-worktree-catalog-notification.test.ts from the active command, but the retained historical run has no currentCommand and still records the old command. The gate checker compares that command with the active command list and will fail validation. The PR workflow runs this checker in its static-analysis lane. (raw.githubusercontent.com)
Add currentCommand to the historical evidence record. Keep command unchanged to preserve the command that actually ran.
Proposed change
-
"command": "pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/watched-worktree-catalog-notification.test.ts src/main/runtime/external-worktree-paired-client-discovery.integration.test.ts src/main/window/attach-main-window-services.test.ts", +"currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/external-worktree-paired-client-discovery.integration.test.ts src/main/window/attach-main-window-services.test.ts",
Remove 40 complete low-value test suites (115 test cases) that mostly check mock forwarding, copied inventories/strings, small presentation decisions, or test-authored shell/Git examples. Remove their 26 obsolete timing entries and the deleted notification suite's active reliability-gate references; preserve the historical run record.
The audit read all 100 selected test files and their bounded implementation context. The other 60 suites remain byte-for-byte unchanged, retaining 148 cases. Some narrow schema, parser, fallback, mapping and callback alarms are deliberately relinquished; no equivalent replacement coverage is claimed.
Validation: authenticated source/context snapshots, strict prior-review eligibility, complete retained declaration/callback identity, current implementation review, exact metadata cleanup, canonical patch reconstruction with forward/reverse application, and whitespace checks. Fresh PR CI passed, including all 12 unit shards, static analysis/typecheck, and the required aggregate. The retained selected suites registered 148 cases: 142 passed and 6 were platform/opt-in skips. No local runtime tests or builds were run.