Repository navigation
ci: trim redundant tests and consolidate suite startup - #29156
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Merge Risk: 🔵 Low · up to
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
a33efca8-e150-4f23-8774-7f0ca2e4a457
📒 Files selected for processing: 98
config/scripts/mobile-web-app-module-closure-entrypoints.test.mjsconfig/scripts/mobile-web-app-module-entry-resolution.test.mjsconfig/scripts/oxc-cli-invocation.test.mjsconfig/scripts/oxlint-cli-invocation.test.mjsconfig/scripts/renderer-boot-graph.test.mjsconfig/scripts/vitest-sqlite-database-runtime-files.mjssrc/main/ipc/pty-controller-owner-recovery.test.tssrc/main/ipc/pty-controller-ownership-routing.test.tssrc/main/ipc/pty-cumulative-ack-accounting.test.tssrc/main/ipc/pty-daemon-controller-teardown.test.tssrc/main/ipc/pty-daemon-ssh-lease-lifecycle.test.tssrc/main/ipc/pty-encoding.test.tssrc/main/ipc/pty-ipc-producer-flow-control.test.tssrc/main/ipc/pty-output-batching-drain.test.tssrc/main/ipc/pty-output-drain-rounds.test.tssrc/main/ipc/pty-pending-output-cap.test.tssrc/main/ipc/pty-renderer-inflight-credit.test.tssrc/main/ipc/pty-renderer-lifecycle-delivery-reset.test.tssrc/main/ipc/pty-renderer-send-failure-recovery.test.tssrc/main/ipc/pty-spawn-cwd-fallback.test.tssrc/main/ipc/pty-wsl-cwd-validation.test.tssrc/main/native-chat/agent-session-journal/journal-host-database-test-support.tssrc/main/persistence/applying-settings/settings-update-machine-name.test.tssrc/main/persistence/applying-settings/settings-update-normalization.test.tssrc/main/persistence/applying-settings/settings-update-terminal-contrast.test.tssrc/main/persistence/applying-settings/settings-update-terminal-default-shell.test.tssrc/main/persistence/profile-state/profile-state-recovery-crash-boundaries.test.tssrc/main/runtime/orca-runtime-structured-status-sink-wiring.test.tssrc/main/runtime/orca-runtime-terminal-close-records.test.tssrc/main/runtime/orchestration/coordinator-stale-base-flag.test.tssrc/main/runtime/orchestration/db.test.tssrc/main/runtime/orchestration/db/decision-gate-lifecycle.test.tssrc/main/runtime/orchestration/db/run-list-cursor.test.tssrc/main/runtime/orchestration/orchestration-db-retention-pagination.test.tssrc/main/runtime/orchestration/preamble.test.tssrc/main/runtime/push/push-agent-state.test.tssrc/main/runtime/push/push-dispatcher.test.tssrc/main/runtime/relay/relay-renewal-jitter.test.tssrc/main/runtime/rpc/methods/diagnostics.test.tssrc/main/runtime/rpc/methods/structured-agent-session-visual.test.tssrc/main/runtime/rpc/methods/terminal/terminal-inspect-process-params.test.tssrc/main/runtime/rpc/methods/worktree-create-args.test.tssrc/main/runtime/rpc/methods/worktree-create-setup-choice.test.tssrc/main/runtime/runtime-reference-integration.test.tssrc/main/runtime/runtime-rpc-browser-host-admission.test.tssrc/main/runtime/runtime-rpc-metadata-lifecycle.test.tssrc/main/runtime/runtime-rpc-pairing-offer.test.tssrc/main/runtime/runtime-rpc-relay-pairing.test.tssrc/main/runtime/runtime-rpc-relay-provider-install.test.tssrc/main/runtime/runtime-rpc-websocket-fallback-port.test.tssrc/main/runtime/session-tabs-inventory-publication.test.tssrc/main/runtime/workspaces/workspace-query-prototype.test.tssrc/renderer/src/components/contextual-tours/ContextualTourOverlay.test.tsxsrc/renderer/src/components/contextual-tours/ContextualTourOverlaySurface.localization.test.tsxsrc/renderer/src/components/native-chat/NativeChatCodeBlock.test.tsxsrc/renderer/src/components/native-chat/NativeChatMessageList.tool-stream-cost.test.tsxsrc/renderer/src/components/native-chat/NativeChatMessageList.turn-status.test.tsxsrc/renderer/src/components/native-chat/NativeChatTurnActivityLine.test.tsxsrc/renderer/src/components/right-sidebar/FileExplorerFilesTreePane.errors.test.tsxsrc/renderer/src/components/right-sidebar/FileExplorerRow.load-error.test.tsxsrc/renderer/src/components/settings/AccountsPane.test.tsxsrc/renderer/src/components/settings/GitPane.test.tssrc/renderer/src/components/settings/GitPane.test.tsxsrc/renderer/src/components/settings/accounts-pane-claude-section.test.tsxsrc/renderer/src/components/sidebar/CommentMarkdown.github-callout.test.tsxsrc/renderer/src/components/sidebar/CommentMarkdown.jira-links.test.tsxsrc/renderer/src/components/sidebar/CommentMarkdown.test.tsxsrc/renderer/src/store/slices/agent-status-cursor-checkpoint.test.tssrc/renderer/src/store/slices/agent-status-main-agent-fact.test.tssrc/renderer/src/store/slices/agent-status-provider-session.test.tssrc/renderer/src/store/slices/agent-status-quit-capture-resumable-agents.test.tssrc/renderer/src/store/slices/agent-status-remember-sleeping-session.test.tssrc/renderer/src/store/slices/agent-status-reminted-pane-key.test.tssrc/renderer/src/store/slices/agent-status-session-boundary-done.test.tssrc/renderer/src/store/slices/agent-status-turn-started-at.test.tssrc/renderer/src/store/slices/terminal-startup-command-retention.test.tssrc/renderer/src/store/slices/terminal-tab-recovery-remount.test.tssrc/shared/agent-resume-argv-drop.spec.tssrc/shared/agent-resume-launch-command.spec.tssrc/shared/agent-startup-plan-inputs-extra-agent-args.spec.tssrc/shared/agent-startup-plan-inputs.spec.tssrc/shared/automation-extra-agent-args.spec.tssrc/shared/dsh-startup.spec.tssrc/shared/freebuff-launch.spec.tssrc/shared/freebuff-startup.spec.tssrc/shared/omp-fresh-launch.spec.tssrc/shared/opencode-startup-prompt.spec.tssrc/shared/opencode2-resume-launch-mode.spec.tssrc/shared/qoder-cn-launch-recipe.spec.tssrc/shared/tui-agent-fork-startup.spec.tssrc/shared/tui-agent-launch-defaults.spec.tssrc/shared/tui-agent-prompt-transport.spec.tssrc/shared/tui-agent-startup-copilot-resume.spec.tssrc/shared/tui-agent-startup-hermes.spec.tssrc/shared/tui-agent-startup-session-options.spec.tssrc/shared/tui-agent-startup-shell.spec.tssrc/shared/tui-agent-startup.spec.tssrc/shared/tui-agent-startup.test.ts
💤 Files with no reviewable changes: 39
- src/renderer/src/store/slices/agent-status-session-boundary-done.test.ts
- src/main/runtime/rpc/methods/worktree-create-setup-choice.test.ts
- src/renderer/src/components/sidebar/CommentMarkdown.github-callout.test.tsx
- src/renderer/src/components/settings/accounts-pane-claude-section.test.tsx
- src/main/ipc/pty-renderer-send-failure-recovery.test.ts
- src/main/runtime/orchestration/coordinator-stale-base-flag.test.ts
- src/renderer/src/store/slices/terminal-startup-command-retention.test.ts
- src/main/runtime/workspaces/workspace-query-prototype.test.ts
- config/scripts/vitest-sqlite-database-runtime-files.mjs
- src/main/runtime/orchestration/db/run-list-cursor.test.ts
- src/renderer/src/store/slices/agent-status-remember-sleeping-session.test.ts
- src/renderer/src/store/slices/agent-status-turn-started-at.test.ts
- src/main/runtime/rpc/methods/structured-agent-session-visual.test.ts
- src/main/ipc/pty-encoding.test.ts
- src/renderer/src/components/native-chat/NativeChatTurnActivityLine.test.tsx
- src/main/runtime/orchestration/db/decision-gate-lifecycle.test.ts
- src/main/persistence/applying-settings/settings-update-terminal-default-shell.test.ts
- src/renderer/src/components/right-sidebar/FileExplorerRow.load-error.test.tsx
- src/main/persistence/profile-state/profile-state-recovery-crash-boundaries.test.ts
- src/main/ipc/pty-wsl-cwd-validation.test.ts
- src/main/runtime/push/push-agent-state.test.ts
- src/main/persistence/applying-settings/settings-update-machine-name.test.ts
- src/main/ipc/pty-cumulative-ack-accounting.test.ts
- src/main/ipc/pty-ipc-producer-flow-control.test.ts
- src/main/ipc/pty-output-drain-rounds.test.ts
- src/main/runtime/rpc/methods/diagnostics.test.ts
- src/renderer/src/components/settings/GitPane.test.tsx
- src/renderer/src/components/sidebar/CommentMarkdown.jira-links.test.tsx
- src/main/persistence/applying-settings/settings-update-terminal-contrast.test.ts
- src/renderer/src/store/slices/agent-status-reminted-pane-key.test.ts
- src/renderer/src/components/contextual-tours/ContextualTourOverlaySurface.localization.test.tsx
- src/main/ipc/pty-controller-owner-recovery.test.ts
- config/scripts/mobile-web-app-module-entry-resolution.test.mjs
- src/main/ipc/pty-daemon-ssh-lease-lifecycle.test.ts
- src/renderer/src/store/slices/agent-status-quit-capture-resumable-agents.test.ts
- src/main/runtime/orca-runtime-structured-status-sink-wiring.test.ts
- config/scripts/oxlint-cli-invocation.test.mjs
- config/scripts/renderer-boot-graph.test.mjs
- src/renderer/src/store/slices/agent-status-cursor-checkpoint.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
ELI5
CI repeatedly starts the same test machinery for small related files. This combines related suites, trims redundant assertions, and keeps the checks that exercise Orca behavior.
What Changed
Application behavior, CI workers, jobs, and test selection policy are unchanged.
Why
This removes repeated setup and assertions directly. Broader cache and worker-policy changes have greater isolation risks. A separate mobile bundle-sharing experiment passed all browser tests but showed no reliable lane speedup, so it is excluded.
Linked Issue
Maintainer-requested CI capacity work; no separate issue.
Visual Proof
N/A — test organization and fixtures only; no product UI or interaction change.
Testing
macOS: normal Bun/Node routing with four fixed workers, including all direct journal-support consumers, relevant siblings, the reliability-manifest checker and Windows registration contract. The corrected final pair passed 3,171 candidate cases across 272 files versus 3,217 baseline passes across 323 files. Candidate: one skipped and five todo; baseline: seven skipped and five todo. The reviewed ledger accounts for all 52 net removals and 556 moved cases.
Local wall timings are mixed. The corrected final pair took 83.57 seconds versus 82.28 baseline; earlier successful pairs ranged from an apparent gain to a regression. No reliable focused wall-time gain is established. Hosted verification is complete; the exact corrected source passed all 12,213 expected test files. Five unit jobs used 2,931 runner-seconds versus 3,018 in the prior observed run. Separate runs differ; this is not a causal speedup claim.
All four CI typecheck projects passed before the title/reference fixes. The corrected source passes the full native-plugin check (using the repository's local mobile import-cycle allowance), changed-code quality gate, formatting, all 146 reliability gates, and 55 manifest/Windows-registration contract cases. Independent review verified all seven IPC suite bodies are unchanged apart from distinct names, and all historical evidence commands are preserved.
The exact corrected head, 5560ab0, passed the full PR workflow, all 39 paginated current checks, and independent source/artifact/log qualification with zero findings. The tested synthetic tree equals the PR tree; all 12,213 test files and reviewed case changes reconcile. The first head failed the duplicate-title guard and was corrected before this run.
AI Disclosure
Review
Independent domain reviews checked the moved assertions, mock/hook isolation, deleted-case coverage, platform handling, and journal fixture consumers. An exact case ledger accounts for deletions, additions/renames, and moves.
Agent skill upstream boundary
Notes
No runtime platform, SSH, folder-workspace, wire-protocol, or provider behavior changes. Windows application tests remain; only the six OS-only checks are deleted.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)