Repository navigation
test(core,plugins,scripts): remove low-value tests (batch d354) - #178949
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review blockedAutomated review did not run, so no review verdict was produced. Reason: The input-safety check rejected material in this revision. No detected value, path, or scanner output is reproduced here. Automatic review is on hold, including after source changes. Request a fresh re-review after resolving the failure; maintainers can also release the hold through an intentional scanner-policy update. Next step: If this is a genuine credential, remove and rotate it. If it is an intentional test fixture, a maintainer must review and qualify it. |
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. |
Reverse the fetch transport change from #178949 so the virtual-clock fixture uses its previous callback-based loopback client. Keep all provider hold, progress, bootstrap, cleanup, and deadline assertions unchanged.
…claw#178949) * test(acpx): deslop z0577 tests * test(acpx): deslop z0577 tests * test(matrix): deslop z0578 tests * test(matrix): deslop z0578 tests * test(qa-lab): deslop z0580 tests * test(qa-lab): deslop z0580 tests * test(openai): deslop z0579 tests * test(openai): deslop z0579 tests * test(openai): deslop z0579 tests * test(security): deslop z0583 tests * test(desktop): deslop z0582 tests * test(desktop): deslop z0582 tests * test(desktop): deslop z0582 tests * test(whatsapp): deslop z0584 tests * test(scripts): deslop z0581 tests * test(scripts): deslop z0581 tests * test(scripts): deslop z0581 tests * test(doctor): deslop z0576 tests * test(doctor): deslop z0576 tests * test(doctor): deslop z0576 tests * test(shared): deslop z0588 tests * test(shared): deslop z0588 tests * test(agents): deslop z0585 tests * test(agents): deslop z0585 tests * test(agents): deslop z0585 tests * test(doctor): deslop z0587 tests * test(doctor): deslop z0587 tests * test(infra): deslop z0586 tests * test(infra): deslop z0586 tests * test: preserve fixture contracts after batch cleanup * test: explain isolated provider and gateway mocks * test: prune explained mocks from export baseline
Resolve the worker test import conflict with openclaw#178949, which removed the baseline ws client and audio clock imports. Co-authored-by: jalehman <[email protected]>
Reverse the fetch transport change from openclaw#178949 so the virtual-clock fixture uses its previous callback-based loopback client. Keep all provider hold, progress, bootstrap, cleanup, and deadline assertions unchanged.
What Problem This Solves
Repeated test setup, expected-object construction, and assertion boilerplate obscure the contracts covered by these suites. This batch consolidates that scaffolding without changing product behavior.
User Impact
No user-visible behavior, API, configuration, or migration changes. Production LOC: +0 / -0. Test and test-support LOC: +5533 / -8926, net -3393, across 99 test/support files. The mock-export baseline additionally shrinks by two obsolete entries; total diff: 100 files, +5533 / -8928 (net -3395).
Why This Change Was Made
Replay 29 of 30 requested campaign commits onto pinned main b6bf52d. Shared fixtures and table-driven cases retain distinct security, authority, lifecycle, cancellation, and cleanup assertions. The only newly added file is a QA Lab test-support helper.
Skipped 7529e8f199b916c430d8ac49d66bde5806d49a08 (z0575): all eight files conflicted with substantially newer main tests; main's cases and fixtures were retained unchanged. No claim that those cleanups are already equivalent.
Conflict resolutions: all three z0576 commits retain current Doctor refusal/recovery wording while consolidating assertions and deadline cases. For both z0586 commits, archive-helpers.test.ts stays unchanged because main has additional archive/root-layout contracts; backup-volatile-filter.test.ts retains every current path-classification case and only takes the first commit's safe shared path assertions. Its second conflicting rewrite was dropped. All other requested commits applied.
CODEOWNERS: no changed path matches the current CODEOWNERS entries. No changelog edit (release-owned).
Evidence
Run 39535717784 accepted both mock-isolation explanations and requested pruning their two obsolete baseline entries. Removed exactly those entries; no new exceptions or test changes. Independent review of the two-line baseline removal was scoped-clean. Its completed lint, type, and changed-file test jobs passed; final-head CI remains the merge gate.
Fresh-head run 39534381708 passed the repaired lint/type checks and changed-file test jobs, but mock-exports rejected two modified full mock factories. Added narrowly scoped mock-isolation explanations for fixture-owned secret resolution and simulated Gateway lifecycle/RPCs; independent review confirmed both comments are accurate. All other baseline ratchets in that run passed. A final fresh-head CI run remains required.
Initial hosted run 39533390444 found batch-caused test-type and type-aware lint errors. Repair commit restores stale fixture references, contextual typing for legacy config fixtures and approval callbacks, the real internal realtime request type, a stable local instance capture, undefined filtering before Promise.allSettled, and an Error-only throw. No casts, suppressions, assertions, or production behavior were weakened. Fresh-head CI is required; the failed initial run is not passing evidence.
Replayed shard inventory
Counts below are the actual final diff against pinned main, including all listed passes for each shard. Declarations are static syntax counts, not executed or expanded case totals.
z0575 is omitted from this inventory because its entire commit was skipped.
z0576 changed files
src/commands/doctor-hosted-gateway.test.tssrc/commands/doctor-install-policy.test.tssrc/commands/doctor-legacy-config.secret-inputs.test.tssrc/commands/doctor-lint.crabbox.test.tssrc/commands/doctor-lint.native-capture.test.tssrc/commands/doctor-lint.plugin-availability.test.tssrc/commands/doctor-lint.snapshot-cleanup.test.tssrc/commands/doctor-maintenance.agent-lease-wait.test.tsz0577 changed files
extensions/acpx/src/config.test.tsextensions/acpx/src/pi-session-catalog-node.test.tsextensions/acpx/src/process-lease.test.tsextensions/acpx/src/runtime-native-permissions.process.test.tsextensions/acpx/src/runtime-preactive-cancellation.process.test.tsextensions/acpx/src/runtime-process-cleanup.process.test.tsextensions/acpx/src/runtime-process.test-support.tsextensions/acpx/src/runtime.admission-retention.test-support.tsz0578 changed files
extensions/matrix/src/matrix/account-state.postgres.test.tsextensions/matrix/src/matrix/client.test.tsextensions/matrix/src/matrix/config-update.import.test.tsextensions/matrix/src/matrix/deps.test.tsextensions/matrix/src/matrix/profile.test.tsz0579 changed files
extensions/openai/realtime-quicksilver-socket-adapter.test.tsextensions/openai/realtime-quicksilver-socket-worker.test.tsextensions/openai/realtime-quicksilver-transcript-publication.test.tsextensions/openai/realtime-sideband-call.test.tsextensions/openai/realtime-talk-defaults.test.tsextensions/openai/realtime-transcription-provider.test-support.tsextensions/openai/realtime-voice-outgoing-response.test.tsextensions/openai/realtime-voice.optional-capture.test.tsz0580 changed files
test/e2e/qa-lab/runtime/gateway-provider-refusal-product-proof.e2e.test.tstest/e2e/qa-lab/runtime/gateway-provider-timeout-recovery.fixture.test.tstest/e2e/qa-lab/runtime/gateway-rate-limit-prompt-cache.e2e.test.tstest/e2e/qa-lab/runtime/gateway-rpc-models.e2e.test.tstest/e2e/qa-lab/runtime/gateway-rpc-tools-skills.e2e.test.tstest/e2e/qa-lab/runtime/gateway-rpc.test-support.tstest/e2e/qa-lab/runtime/gateway-whatsapp-login-authority.e2e.test.tstest/e2e/qa-lab/runtime/mcp-gateway-transport.e2e.test.tsz0581 changed files
test/scripts/agent-plugin-gateway-e2e.test.tstest/scripts/android-access-workflow.test.tstest/scripts/android-pin-version.test.tstest/scripts/android-release-artifacts.test.tstest/scripts/android-release-e2e-diagnostics.test.tstest/scripts/android-release-e2e-workflow.test.tstest/scripts/android-store-version.test.tstest/scripts/anthropic-cache-prefix-stability.test.tsz0582 changed files
src/gateway/desktop/audio-observe.integration.test.tssrc/gateway/desktop/audio.test-support.tssrc/gateway/desktop/computer-process.runtime.test.tssrc/gateway/desktop/desktop.test-support.tssrc/gateway/desktop/host-observe.integration.test.tssrc/gateway/desktop/observe-bridge.remote-ingress.test.tssrc/gateway/desktop/rfb-view-only-filter.test.tsz0583 changed files
src/security/audit-gateway-auth-selection.test.tssrc/security/audit-gateway-http-auth.test.tssrc/security/audit-gateway.test.tssrc/security/audit-node-command-findings.test.tssrc/security/audit-rosterless.test.tssrc/security/audit-sandbox-browser.test.tssrc/security/audit-small-model-risk.test.tssrc/security/audit-summary.test.tsz0584 changed files
extensions/whatsapp/src/accounts.test.tsextensions/whatsapp/src/accounts.whatsapp-auth.test.tsextensions/whatsapp/src/approval-native.test.tsextensions/whatsapp/src/auto-reply.web-auto-reply.routing.test.tsextensions/whatsapp/src/channel-actions.test.tsextensions/whatsapp/src/channel.acp-bindings.test.tsextensions/whatsapp/src/channel.status.test.tsextensions/whatsapp/src/doctor.test.tsz0585 changed files
src/agents/identity-avatar.test.tssrc/agents/identity.test.tssrc/agents/internal-events.test.tssrc/agents/internal-runtime-context.test.tssrc/agents/internal-session-effects.cleanup.test.tssrc/agents/interrupted-input-context.integration.test.tssrc/agents/isolated-completion.plugin-scope.test.tssrc/agents/isolated-completion.usage.test.tsz0586 changed files
src/infra/backup-create-family.test-support.tssrc/infra/backup-create-stream.test.tssrc/infra/backup-create.worktrees.test.tssrc/infra/backup-database-resources.test.tssrc/infra/backup-retention.test.tssrc/infra/backup-sqlite-snapshot.performance.test.tssrc/infra/backup-volatile-filter.test.tsz0587 changed files
src/commands/doctor/shared/legacy-config-migrations.agent-rosters.test.tssrc/commands/doctor/shared/legacy-config-migrations.runtime.system-agent.test.tssrc/commands/doctor/shared/legacy-config-write-ownership.test.tssrc/commands/doctor/shared/legacy-context-budget.test.tssrc/commands/doctor/shared/legacy-runtime-session-migration.test.tssrc/commands/doctor/shared/legacy-tools-by-sender.test.tssrc/commands/doctor/shared/missing-configured-plugin-install.health.test.tssrc/commands/doctor/shared/missing-configured-plugin-install.test-helpers.tsz0588 changed files
src/shared/assistant-error-format.test.tssrc/shared/bounded-serial-queue.test.tssrc/shared/channel-read-authority.test.tssrc/shared/chat-message-content.test.tssrc/shared/device-bootstrap-profile.test.tssrc/shared/device-pairing-access.test.tssrc/shared/entry-status.test.tssrc/shared/frontmatter.test.ts