Repository navigation
test(core,plugins): remove low-value tests (batch d060) - #169801
Merged
Merged
Conversation
Contributor
|
🦞👀 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. |
steipete
enabled auto-merge (squash)
October 12, 2026 09:35
aaroil3
added a commit
to aaroil3/openclaw
that referenced
this pull request
Oct 12, 2026
Resolve translate.test.ts: main removed the localized-bundle assertions (openclaw#169801), so the memory-backed scoping is no longer needed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01C1DuukkHJ7HMnptjsRnUdV
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 13, 2026
) * test(deepgram): deslop x1265 tests * test(talk): deslop x1267 tests * test(sms): deslop x1261 tests * test(infra): deslop x1262 tests * test(openrouter): deslop x1263 tests * test(shared): deslop x1260 tests * test(gateway-protocol): deslop x1274 tests * test(copilot): deslop x1276 tests * test(plugin-sdk): deslop x1269 tests * test(agents): deslop x1275 tests * test: retain independent contracts in batch d060
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Removes duplicate, implementation-mirroring, metadata-inventory, and same-path variant tests from ten audited campaign shards (batch d060).
User Impact
No user-visible or production behavior change. No runtime files, schemas, public APIs, dependencies, test routing, retries, or skips are changed.
Why This Change Was Made
All ten requested commits were replayed in order onto main at
13f49243c4cbe61ee84073e8f3531b8cfb51fb37; no whole commit was skipped. One conflict insubagent-registry-read-snapshot.test.tspreserves main's removal of obsolete immutable-topology/raw physical-basis tests (ef7aa6a1161), while retaining the campaign deletion of four publication cases and a duplicate delete-refusal row. Main's unrelated additions remain.Independent review narrowed the reduction: deletion hunks in 28 files were withdrawn to preserve credential precedence and archival, replay safety, provider wire/capability contracts, resource limits, SMS routing/receipts, protocol schema arms, SDK isolation, and mixed-writer ordering. Completed Telegram replay, accepted-MMS partial delivery, native N−1 floors, and generated Swift discriminated unions are retained. Numeric generated parity remains owned by native codegen/artifact tests, without the duplicate parity parser.
Final diff: production +0/−0; tests +651/−8,005; private test support +47/−81, net −7,388 lines across 102 files. Changed-file declarations: 1,127 → 782. No CODEOWNERS pattern matches these paths.
Evidence
Original focused local run at pre-rebase head
06a7d48bc478:pnpm test <all 128 changed test files> --maxWorkers=1, 15 routed projects, 2,363.26 seconds wall. All selected files except local CLI TTS passed. The private-helper consumersubagent-registry-queued-registration.test.tsseparately passed 40 tests, 508.69 seconds wall. Unchanged-file proof is reused, not presented as exact-head hosted CI.After rebase, both affected agent files passed 18 tests (696.85 seconds runner duration, mostly worker transformation), and Telegram routes passed 22 tests (165.88 seconds). A seven-file selection was then intentionally canceled with exit 143 while checking the OpenRouter index, because that entire file's reduction and the pending TTS reduction were withdrawn. No completed test failure was suppressed; the canceled selection is not a pass.
Final narrowed command:
pnpm test extensions/sms/src/send.test.ts packages/gateway-protocol/src/native-protocol-levels.guard.test.ts --maxWorkers=1passed 7 SMS + 5 native tests, 334.93 seconds wall (319.43 seconds routed runner time). The native file includes N−1/client floors and both generated Swift union contracts. This completes focused proof for the substantive review corrections and rebase resolution; original results cover unchanged inputs.Plain
oxlint -c .oxlintrc.json <changed TS/JS files>,oxfmt --write/oxfmt --check <changed files>, andgit diff --check 13f49243c4call exit 0. No heavy local type-aware lint/broad suite or remote lease was used. Hostedopenclaw/ci-gatesupplies broad proof; CI wall time is not yet available at creation.Investigated local TTS failures (reduction withdrawn)
The original TTS selection had 11 failures at its existing 1,000ms subprocess deadline. A separately installed clean-main control at
ad615e493fcreproduced two: “rejects unrecognized bytes written to a recognized audio extension” and “converts CLI output to raw telephony PCM” (23 passed / 2 failed, 330.32 seconds wall). The other nine original failures remain unattributed. No timeout, assertion, retry, or skip was changed, and no passing replay is claimed as a repair. The final PR does not touch TTS tests or production code. This local evidence is not an inherited-red CI merge exception.Independent review disposition
The complete 13-pass review returned 49 reports, including repeated index-only reports for unstaged restorations. Forty-six are resolved by retaining original-main coverage, restoring the SMS/Telegram cases, preserving the compact native floor invariant and Swift unions, and staging the final result. Three findings are declined as duplicates:
completed/duplicate, and proves no redispatch. The outage case also checks the tombstone.An earlier interrupted finding about Codex mutation capabilities was also declined: retained exact
read/exectool equality with empty bridges excludes mutation tools, while the next case covers explicitly bridged capabilities. No clean-review verdict is fabricated; actionable findings were dispositioned against source.Original shard coverage and final deltas
Coverage below is recorded campaign baseline/candidate evidence, not rerun coverage on this rebased head. Each recorded covered-statement/branch loss was below 1%. Final LOC/declaration columns count only each shard's paths still changed by this PR, including private helpers.
The x1265 campaign used separate UI coverage handling because translation imports produced incomparable transformed offsets; retained registry/catalog owner tests cover the removed eager locale inventory checks. Original broad checks recorded unrelated baseline failures/capacity gaps; these are historical evidence only.
Final changed files by shard
x1265
extensions/deepgram/realtime-transcription-provider.test.tsextensions/moonshot/index.test.tsextensions/moonshot/native-video.test.tsextensions/telegram/src/miniapp/routes.test.tsextensions/workboard/browser/catalog.test.tssrc/pairing/pairing-challenge.test.tssrc/pairing/pairing-store.test.tsui/src/i18n/test/translate.test.tsui/src/pages/cron/view-description.test.tsui/src/pages/cron/view-run-history.test.tsx1267
src/talk/activation-name.test.tssrc/talk/agent-consult-tool.test.tssrc/talk/agent-run-control.test.tssrc/talk/client-voice-mutation-digest-owner.test.tssrc/talk/client-voice-session-store.test.tssrc/talk/exact-speech-protocol.test.tssrc/talk/fast-context-runtime.test.tssrc/talk/forced-consult-coordinator.test.tssrc/talk/provider-resolver.discovery.test.tssrc/talk/provider-resolver.test.tssrc/talk/realtime-session-harness.test.tssrc/talk/realtime-session-policy.test.tssrc/talk/talk-session-controller.test.tssrc/talk/turn-context-tracker.test.tsx1261
extensions/sms/src/accounts.test.tsextensions/sms/src/channel.test.tsextensions/sms/src/gateway.test.tsextensions/sms/src/ingress-spool.test.tsextensions/sms/src/send.test.tsx1262
src/infra/sqlite-strict.test.tssrc/infra/sqlite-user-version.test.tssrc/infra/sqlite-worker-broker-reply.cleanup.test.tssrc/infra/sqlite-worker-operation-admission.test.tssrc/infra/sqlite-worker-transfer.test.tssrc/infra/ssh-config.test.tssrc/infra/stale-lock-file.test.tssrc/infra/startup-migration-checkpoint.test.tssrc/infra/state-migrations.caller-mode.execution.test.tssrc/infra/state-migrations.caller-mode.plugin-execution.test.tssrc/infra/state-migrations.caller-mode.refusal.test.tsx1263
extensions/openrouter/image-generation-provider.test.tsextensions/openrouter/media-understanding-provider.test.tsextensions/openrouter/models.test.tsextensions/openrouter/provider-catalog.test.tsextensions/openrouter/tool-schemas.test.tsextensions/openrouter/usage.test.tsx1260
src/shared/assistant-error-format.html.test.tssrc/shared/assistant-error-format.test.tssrc/shared/bounded-serial-queue.test.tssrc/shared/chat-message-content.test.tssrc/shared/device-bootstrap-profile.test.tssrc/shared/freebsd-process-identity.test.tssrc/shared/frontmatter.test.tssrc/shared/global-singleton.test.tssrc/shared/ignore-rules.test.tssrc/shared/json-schema-defaults.test.tssrc/shared/lazy-promise.test.tssrc/shared/markdown-code.test.tsx1274
packages/gateway-protocol/src/channels.schema.test.tspackages/gateway-protocol/src/connect-error-details.test.tspackages/gateway-protocol/src/cron-validators.test.tspackages/gateway-protocol/src/native-protocol-levels.guard.test.tspackages/gateway-protocol/src/plugins-validators.test.tspackages/gateway-protocol/src/session-agent-status.test.tspackages/gateway-protocol/src/theme.test.tspackages/gateway-protocol/src/update-runs-validators.test.tsx1276
extensions/copilot/src/attempt-active-run.test.tsextensions/copilot/src/byok-proxy.test.tsextensions/copilot/src/event-bridge.test.tsextensions/copilot/src/event-bridge.tools.test-support.tsextensions/copilot/src/hooks-bridge.test.tsextensions/copilot/src/prompt-guidance.test.tsextensions/copilot/src/runtime.test.tsextensions/copilot/src/usage-bridge.test.tsx1269
src/plugin-sdk/channel-secret-basic-runtime.test.tssrc/plugin-sdk/channel-send-result.test.tssrc/plugin-sdk/codex-mcp-projection.test.tssrc/plugin-sdk/core.test.tssrc/plugin-sdk/dedupe-runtime.test.tssrc/plugin-sdk/direct-dm.test.tssrc/plugin-sdk/facade-loader.test.tssrc/plugin-sdk/fetch-runtime.test.tssrc/plugin-sdk/file-lock.test.tssrc/plugin-sdk/ingress-effect-once.test.tssrc/plugin-sdk/keyed-async-queue.test.tssrc/plugin-sdk/memory-host-core.test.tssrc/plugin-sdk/memory-host-events.test.tsx1275
src/agents/subagents/registry/subagent-active-context.test.tssrc/agents/subagents/registry/subagent-catchup.runtime-facts.integration.test.tssrc/agents/subagents/registry/subagent-delivery-state.test.tssrc/agents/subagents/registry/subagent-list.test.tssrc/agents/subagents/registry/subagent-registry-cleanup.test.tssrc/agents/subagents/registry/subagent-registry-completion-runtime.test.tssrc/agents/subagents/registry/subagent-registry-completion.test.tssrc/agents/subagents/registry/subagent-registry-helpers.test.tssrc/agents/subagents/registry/subagent-registry-public-api.read.test.tssrc/agents/subagents/registry/subagent-registry-queued-registration-claims.test-support.tssrc/agents/subagents/registry/subagent-registry-read-context.test.tssrc/agents/subagents/registry/subagent-registry-read-snapshot.test.tssrc/agents/subagents/registry/subagent-registry-read.scoped.test.tssrc/agents/subagents/registry/subagent-registry-requester-wake-commit.test.tssrc/agents/subagents/registry/subagent-registry-state.async.test.tsDeletion hunks withdrawn after review (identical to pinned main)
extensions/copilot/src/replay-shim.test.tsextensions/copilot/src/auth-bridge.test.tsextensions/copilot/src/provider-bridge.test.tsextensions/openrouter/chat-owner-regression.test.tsextensions/msteams/config-doctor-api.test.tsextensions/msteams/doctor-contract-api.test.tsextensions/openrouter/music-generation-provider.test.tsextensions/openrouter/video-generation-provider.test.tsextensions/openrouter/oauth.test.tsextensions/openrouter/speech-provider.test.tsextensions/sms/src/media.test.tsextensions/sms/src/inbound.test.tsextensions/sms/src/delivery-observations.test.tsextensions/sms/src/twilio.test.tsextensions/sms/src/status.test.tsextensions/team-reports/src/render/site.test.tsextensions/tts-local-cli/speech-provider.test.tsextensions/together/video-generation-provider.test.tspackages/gateway-protocol/src/devices.schema.test.tspackages/gateway-protocol/src/exec-approvals-validators.test.tspackages/gateway-protocol/src/gateway-suspend.test.tspackages/gateway-protocol/src/approvals-validators.test.tspackages/gateway-protocol/src/index.test.tssrc/plugin-sdk/channel-route.test.tssrc/shared/config-eval.test.tssrc/infra/sqlite-worker-plugin-comparison.test.tssrc/plugin-sdk/fs-safe-compat.test.tsextensions/openrouter/index.test.ts