Repository navigation
test(cli,config,ui): remove low-value tests (batch d356) - #178987
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
e463a6c to
fb12703
Compare
|
Codex review: needs maintainer review before merge. What this changesThis PR consolidates repeated test setup and assertions across CLI, config, channels, Gateway, workers, tooling, and Control UI suites. Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: the maintainer-directed test cleanup is useful, and inspection found no actionable introduced defect; exact-head CI is still pending. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe changed test suites supply synthetic configuration, network responses, lifecycle events, and UI interactions to existing production owners, then check their observable results. flowchart LR
A[Synthetic fixtures] --> B[Tests and shared test helpers]
B --> C[Existing production owners]
C --> D[Observable results]
D --> E[Contract assertions]
E --> F[Hosted CI]
Technical reviewBest possible solution: Land the test-only consolidation with its retained behavioral assertions once the existing exact-head CI gate passes. Do we have a high-confidence way to reproduce the issue? This PR claims test-maintenance improvements rather than a user-visible bug; source comparison and hosted CI are the relevant evidence. Is this the best way to solve the issue? Consolidating fixtures and case tables within existing suites fits the stated maintenance goal, and the inspected changes retain distinct lifecycle, authorization, configuration, and UI contracts. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 4adb225357c2. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfacePR surface statistics unavailable: the file list is incomplete. Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 21, 2026, 12:25 AM ET / 04:25 UTC. |
…8987) * test(cli): deslop z0603 tests * test(cli): deslop z0603 tests * test(cli): deslop z0603 tests * test(config): deslop z0602 tests * test(config): deslop z0602 tests * test(config): deslop z0602 tests * test(sidebar): deslop z0605 tests * test(sidebar): deslop z0605 tests * test(ui): deslop z0607 tests * test(ui): deslop z0607 tests * test(config): deslop z0608 tests * test(config): deslop z0608 tests * test(scripts): deslop z0609 tests * test(scripts): deslop z0609 tests * test(board): deslop z0613 tests * test(board): deslop z0613 tests * test(gateway): deslop z0610 tests * test(gateway): deslop z0610 tests * test(gateway): deslop z0610 tests * test(msteams): deslop z0614 tests * test(cli): deslop z0606 tests * test(cli): deslop z0606 tests * test(infra): deslop z0612 tests * test(infra): deslop z0612 tests * test(infra): deslop z0612 tests * test(worker): deslop z0611 tests * test(worker): deslop z0611 tests * test(worker): deslop z0611 tests * test(channels): deslop z0616 tests * test(channels): deslop z0616 tests * test(sidebar): preserve current startup fixture in compacted test * test: repair compacted fixture contracts found by CI * test: preserve isolated mock contracts in compacted suites * test: prune stale mock export baseline entries
What Problem This Solves
Test fixtures and repeated assertions carry unnecessary duplication across CLI, config, sidebar, worker, gateway, channel, script, and board suites.
User Impact
No production or user-visible behavior change. This batch compacts tests and reuses test-only fixtures; it does not change runtime code, configuration, dependencies, or public APIs.
Why This Change Was Made
Replay campaign batch d356 onto pinned main f88c606. All 30 supplied commits were applied in order, with only the conflict adjustments listed below. Keep distinct behavioral checks and main's newer regression coverage while removing repetitive test plumbing.
Replay adjustments
Evidence
Per-shard replay inventory
The counts below are static source counts on the actual replay versus pinned main, not executed test counts. Declarations count it/test calls (including table declarations); table expansion is not inferred. LOC includes shard-local test support. The source reports contain no measured coverage totals: they explicitly say coverage was not run under CI-only instructions. Therefore no <=1% coverage-drop claim is made.
z0603: LOC 1218 → 978 (-240); declarations 20 → 20
src/cli/runtime-cleanup-scope.retirement.test.tssrc/cli/runtime-cleanup-scope.test.tssrc/cli/signal-exit-barrier.test.tssrc/cli/skills-cli.clawhub-install.e2e.test.tssrc/cli/skills-cli.sag.process.test.tssrc/cli/skills-library-input.test.tssrc/cli/skills-search-cli.test.tssrc/cli/startup-trace.test.tsSource-report validation/coverage statement: Formatting,
git diff --check, and plain oxlint passed (exit 0). No production or external support files changed. Tests, coverage, and check-changed were not run, per CI-only mode; hosted CI remains pending.z0602: LOC 1221 → 974 (-247); declarations 27 → 22
ui/src/pages/config/config-page-update-report.test.tsui/src/pages/config/config-page.memory-route.test.tsui/src/pages/config/curated-settings.test.tsxui/src/pages/config/memory-page.browser.test.tsui/src/pages/config/talk-render.test.tsui/src/pages/config/updates-page.confirmation.test.tsui/src/pages/config/updates.test-support.tsui/src/pages/config/view.themes.browser.test.tsSource-report validation/coverage statement: Plain oxlint exited 0; formatting and diff checks passed. No production/support changes or bug fixes. Tests, coverage, and typechecking were not run under CI-only instructions.
z0605: LOC 1082 → 811 (-271); declarations 8 → 8
ui/src/e2e/sidebar-contract.test-support.tsui/src/e2e/sidebar-new-conversation.e2e.test.tsui/src/e2e/sidebar-pinned-agents.e2e.test.tsui/src/e2e/sidebar-plugin-order.e2e.test.tsui/src/e2e/sidebar-profileless-scope.e2e.test.tsui/src/e2e/sidebar-rail-alignment.e2e.test.tsui/src/e2e/sidebar-refresh-availability.e2e.test.tsui/src/e2e/sidebar-restart-recovery.e2e.test.tsSource-report validation/coverage statement: Plain oxlint exited 0; formatting and diff checks passed. Tests, coverage, and check-changed were not run, per CI-only mode.
z0607: LOC 1208 → 1015 (-193); declarations 24 → 22
ui/src/components/agent-avatar-hat.test.tsui/src/components/agent-row-chip.test.tsui/src/components/agent-scope-control.test.tsxui/src/components/app-sidebar-catalog-menu.test.tsxui/src/components/app-sidebar.owner-query.test.tsui/src/components/app-sidebar.personal-agent-scope.test.tsui/src/components/app-sidebar.pinned-agents.test.tsui/src/components/app-sidebar.sessions.test.tsui/src/test-helpers/agent-sidebar.test-support.tsSource-report validation/coverage statement: Plain oxlint exited 0; formatting and diff checks passed. Tests and coverage were not run, per CI-only instructions.
z0608: LOC 1211 → 973 (-238); declarations 58 → 57
src/config/channel-capabilities.test.tssrc/config/channel-configured.test.tssrc/config/config-paths.test.tssrc/config/config.model-ref-validation.test.tssrc/config/config.sandbox-docker.test.tssrc/config/config.utility-model.test.tssrc/config/config.web-search-provider.test.tssrc/config/control-ui-link-base.test.tsSource-report validation/coverage statement: Plain oxlint exited 0; formatting and
git diff --checkpassed. Tests, coverage, and check-changed were not run, per CI-only instructions.z0609: LOC 1211 → 882 (-329); declarations 28 → 27
test/scripts/check-deadcode-reporting.test.tstest/scripts/check-deprecated-api-usage.test.tstest/scripts/check-docs-mdx.test.tstest/scripts/check-dynamic-import-warts.test.tstest/scripts/check-file-utils.test.tstest/scripts/check-line-cap-ratchet.test.tstest/scripts/check-madge-import-cycles.test.tstest/scripts/check-no-conflict-markers.test.tsSource-report validation/coverage statement: Formatting, diff-check, and plain oxlint passed. Tests, coverage, and check-changed were not run, per CI-only mode.
z0613: LOC 1207 → 890 (-317); declarations 25 → 25
ui/src/lib/board/grid.test.tsui/src/lib/board/widget-sandbox-host.test.tsSource-report validation/coverage statement: Oxlint exited 0; formatting and diff checks passed. Tests and coverage were not run under CI-only instructions.
z0610: LOC 1210 → 1059 (-151); declarations 19 → 19
src/gateway/server-methods/chat-send-attachments.private-skills.test.tssrc/gateway/server-methods/chat-send-attachments.test-support.tssrc/gateway/server-methods/chat-send-auth-policy.test.tssrc/gateway/server-methods/chat-send-command-replies.test.tssrc/gateway/server-methods/chat-send-hidden-question.test.tssrc/gateway/server-methods/chat-send-history-delivery.test-support.tssrc/gateway/server-methods/chat-send-interrupt.test.tssrc/gateway/server-methods/chat-send-late-followup.test.tsSource-report validation/coverage statement: Formatting,
git diff --check, and plain oxlint passed. Tests, coverage, and typechecking were not run, per CI-only mode. No bug or flake fixes.z0614: LOC 1049 → 790 (-259); declarations 36 → 36
extensions/msteams/src/auth-coverage.test.tsextensions/msteams/src/channel-config.account-mutations.test.tsextensions/msteams/src/conversation-store-helpers.test.tsextensions/msteams/src/conversation-store-state.test.tsextensions/msteams/src/conversation-store.shared.test.tsextensions/msteams/src/format.test.tsextensions/msteams/src/graph-group-management.test.tsSource-report validation/coverage statement: Formatting, plain oxlint, and diff checks passed. Tests, coverage, and typechecking were not run, per CI-only instructions. No production or external support files changed; no bug fixes.
z0606: LOC 899 → 653 (-246); declarations 25 → 20
src/cli/machine-output-modes.test.tssrc/cli/mcp-cli.cleanup.test.tssrc/cli/mcp-cli.import-boundary.test.tssrc/cli/message-plugin-cleanup.process.test.tssrc/cli/models-cli.lazy.test.tssrc/cli/nodes-cli.plugin-registration.test.tsSource-report validation/coverage statement: Oxlint exited 0; formatting and
git diff --checkpassed. Tests, coverage, and typechecks were not run, per CI-only mode. No bug fixes were attempted.z0612: LOC 1207 → 1012 (-195); declarations 17 → 15
src/infra/update-runner-git-admission.test-support.tssrc/infra/update-runner-git-cleanup.test.tssrc/infra/update-runner-git-node-preflight.test.tssrc/infra/update-runner.test.tssrc/infra/update-runtime-path-index.test.tssrc/infra/update-startup-discovery.test.tssrc/infra/update-startup.test-support.tssrc/infra/warning-filter.test.tsSource-report validation/coverage statement: Oxlint exited 0; formatting and diff checks passed. Tests, coverage, and check-changed were not run, per CI-only mode. Coordinator review and hosted CI remain pending.
z0611: LOC 1217 → 970 (-247); declarations 27 → 25
src/worker/browser-runtime.test.tssrc/worker/native-worker-authority.test.tssrc/worker/native-worker.test-support.tssrc/worker/node-supervisor-protocol.test.tssrc/worker/worker-connection-endpoint.test.tssrc/worker/worker-deploy-entry.test.tssrc/worker/worker-fault-injection.cleanup.test.tssrc/worker/worker.transcript-failure.test.tsSource-report validation/coverage statement: Plain oxlint, oxfmt, and
git diff --checkpassed. Tests, coverage, and check-changed were not run, per CI-only mode. No production/support changes or bug fixes. Coordinator follow-up: hosted CI verification and acceptance of the target shortfall.z0616: LOC 1203 → 884 (-319); declarations 37 → 28
src/channels/plugins/account-config-mutation.msteams.test.tssrc/channels/plugins/account-config-mutation.test.tssrc/channels/plugins/account-key-policy.test.tssrc/channels/plugins/acp-configured-binding-consumer.test.tssrc/channels/plugins/acp-stateful-target-driver.test.tssrc/channels/plugins/binding-targets.test.tssrc/channels/plugins/chat-target-prefixes.test.tssrc/channels/plugins/config-helpers.test.tsSource-report validation/coverage statement: Formatting, plain oxlint, and diff checks passed. Tests, coverage, and typechecks were not run, per CI-only mode.