Repository navigation
test(core,plugins,ui): remove low-value tests (batch d365) - #179124
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
steipete
enabled auto-merge (squash)
October 21, 2026 06:10
Contributor
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. |
steipete
disabled auto-merge
October 21, 2026 06:18
steipete
enabled auto-merge (squash)
October 21, 2026 06:34
steipete
force-pushed
the
tcr/land-d365-1792562027
branch
2 times, most recently
from
October 21, 2026 06:58
1253180 to
91dd5ef
Compare
steipete
disabled auto-merge
October 21, 2026 07:11
steipete
enabled auto-merge (squash)
October 21, 2026 07:17
steipete
disabled auto-merge
October 21, 2026 07:28
steipete
force-pushed
the
tcr/land-d365-1792562027
branch
from
October 21, 2026 07:55
0d36a4b to
66590fb
Compare
steipete
enabled auto-merge (squash)
October 21, 2026 07:56
This was referenced Oct 21, 2026
steipete
added a commit
that referenced
this pull request
Oct 21, 2026
Restore the explicit Worker receiver contract removed by6480ff70b857 (#179124), capture postMessage before spying, and retain apply forwarding to the actual worker. Remove the unbound-method suppression without changing the pinned97-entry inventory. Reproduced the suppression test at98versus97 before repair. All60 affected tests across7 files pass with one worker, including real worker-loss cases. The matching agents-sessions test typecheck leaf, targeted lint, formatting and P2 review pass.
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 22, 2026
…179124) * test(browser): deslop z0715 tests * test(browser): deslop z0715 tests * test(browser): deslop z0715 tests * test(systems): deslop z0717 tests * test(systems): deslop z0717 tests * test(systems): deslop z0717 tests * test(memory-core): deslop z0718 tests * test(memory-core): deslop z0718 tests * test(memory-core): deslop z0718 tests * test(qa-lab): deslop z0720 tests * test(qa-lab): deslop z0720 tests * test(scripts): deslop z0722 tests * test(scripts): deslop z0722 tests * test(secrets): deslop z0723 tests * test(secrets): deslop z0723 tests * test(agents): deslop z0721 tests * test(agents): deslop z0721 tests * test(agents): deslop z0721 tests * test(feishu): deslop z0719 tests * test(feishu): deslop z0719 tests * test(browser): deslop z0724 tests * test(browser): deslop z0724 tests * test(browser): deslop z0724 tests * test(config): deslop z0725 tests * test(config): deslop z0725 tests * test(config): deslop z0725 tests * test(state): deslop z0726 tests * test(state): deslop z0726 tests * test(state): deslop z0726 tests * test(ui): deslop z0727 tests * test: repair batch d365 fixtures and preserve browser contracts * test: prune resolved batch d365 mock allowances
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 22, 2026
Restore the explicit Worker receiver contract removed by6480ff70b857 (openclaw#179124), capture postMessage before spying, and retain apply forwarding to the actual worker. Remove the unbound-method suppression without changing the pinned97-entry inventory. Reproduced the suppression test at98versus97 before repair. All60 affected tests across7 files pass with one worker, including real worker-loss cases. The matching agents-sessions test typecheck leaf, targeted lint, formatting and P2 review pass.
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
Repeated test setup and duplicate assertions make the selected browser, plugin, agent, state, and UI tests harder to maintain.
User Impact
No user-visible or production-code changes. This batch consolidates test fixtures and equivalent cases while retaining the distinct authorization, lifecycle, failure, and persistence checks.
Why This Change Was Made
Replay all 30 selected campaign commits onto pinned main
5ceb735696cd258e5340a31df44f5c785eccc006. All were applied; none skipped. The batch changes 89 test/support files: +4724/-7157 lines, net -2433. Production LOC: +0/-0. Physical test/support LOC: 13317 → 10884; lexical test declaration/call sites: 300 → 269 (parameterized cases are not expanded).Conflict resolutions preserve current main:
initialSignaloption; keep the fixture/case consolidation.After GitHub reported a merge conflict, rebase onto the pinned main above retained all 30 campaign commits plus the CI repair. Range-diff confirmed the repair patch is unchanged. Additional resolutions:
A second confirmed merge conflict required another pinned rebase: session memory export retains main's new cache-reuse and memory-pressure invalidation checks, including the parameterized expected payload-read count. The CI repair patch remains unchanged.
No production seams or runtime policies changed. Six exact obsolete allowances are removed from
config/test-mock-exports-baseline.txt; no allowances are added. CODEOWNERS: none of the changed paths match the current explicit rules.Review and CI repair
The first hosted run (39553848349) exposed batch-caused type, typed-lint, and mock-export guard errors. A follow-up repair preserves behavior cases: tagged-table row types move to callbacks; browser discovery fixtures provide complete fields; the memory sync helper returns its manager; the environment type comes from the worker-context owner; intentional mock isolation and receiver forwarding remain explained; the unnecessary generic DOM-query wrapper is removed.
Independent full-diff review accepted two findings: restore unconditional browser-service teardown and restore the outbound no-display HTTP 409 mapping check. Both are fixed. Its missing-timestamp report was rejected because the timestamp is declared immediately above the cited use. The combined repair was independently reviewed with no actionable findings.
The next fresh-head run (39558803836) required pruning exactly six mock-export baseline rows made obsolete by those reviewed isolation comments. The six-line shrink-only follow-up was independently reviewed with no actionable findings. These metadata deletions are separate from the test/support LOC totals above.
A subsequent run (39560855646) passed the batch's jobs but exposed unrelated planner test-type errors in
test/scripts/ci-changed-node-test-plan.test.ts. Main fixed those errors in5ceb735696cd258e5340a31df44f5c785eccc006. This branch was rebased onto that exact fix; all 32 batch/follow-up patches are unchanged by range-diff. Fresh-head CI is the gate; no inherited-failure merge exception was used.Evidence
pnpm install --frozen-lockfile --prefer-offline: passed.node_modules/.bin/oxfmt --write <all 89 changed files>: passed.node_modules/.bin/oxlint -c .oxlintrc.json <all 89 changed files>: exited 0.git diff --check 5ceb735696cd258e5340a31df44f5c785eccc006: passed.openclaw/ci-gateis the behavioral merge gate. Independent full-diff and repair reviews completed; fresh-head CI verifies the repair.Per-shard replay inventory
Counts below are computed from the actual rebased tree against the pinned base, including test-support files. The supplied reports describe an earlier shard pass, so their earlier LOC/declaration totals are not substituted for these batch totals.
z0715
extensions/browser/src/browser/extension-relay/gateway-relay-ingress.integration.test.tsextensions/browser/src/browser/extension-relay/owner-connection.integration.test.tsextensions/browser/src/browser/extension-relay/preauth-websocket-guard.test.tsextensions/browser/src/browser/extension-relay/relay-auth.test.tsextensions/browser/src/browser/extension-relay/relay-coexistence.e2e.test.tsextensions/browser/src/browser/extension-relay/relay-http.test-support.tsextensions/browser/src/browser/extension-relay/relay-protocol.test.tsextensions/browser/src/browser/extension-relay/relay-runtime.test-support.tsz0717
ui/src/pages/systems/systems-data.test.tsui/src/pages/systems/systems-page.test.tsui/src/pages/systems/systems.test-support.tsz0718
extensions/memory-core/src/postgres-product.test-support.tsextensions/memory-core/src/recall-result.test-support.tsextensions/memory-core/src/short-term-promotion-artifacts.settlement.test.tsextensions/memory-core/src/short-term-promotion-memory-write.test.tsextensions/memory-core/src/standing-intents.postgres.test.tsextensions/memory-core/src/tools.postgres.test.tsextensions/memory-core/src/tools.recall-tracking.test.tsz0720
extensions/qa-lab/src/plugin-subagent-current-requester.e2e.test.tsextensions/qa-lab/src/posix-command-settlement.test.tsextensions/qa-lab/src/posix-process-group.test.tsextensions/qa-lab/src/process-tree-cpu.test.tsextensions/qa-lab/src/process-tree-cpu.windows.test.tsextensions/qa-lab/src/profile-selection.test.tsextensions/qa-lab/src/runtime-parity-cache-diagnostics.test.tsextensions/qa-lab/src/runtime-parity.execution-order.test.tsz0722
test/scripts/shrink-ratchet.test.tstest/scripts/source-file-scan-cache.test.tstest/scripts/source-update-artifact-preflight.test.tstest/scripts/sqlite-reliability-process.test.tstest/scripts/sqlite-schema-catalog-equivalence.test.tstest/scripts/sqlite-session-schema-baseline.test.tstest/scripts/stage-cloudflared-macos.test.tsz0723
src/secrets/runtime-auth-store-admission.test.tssrc/secrets/runtime-channel-inactive-variants.test.tssrc/secrets/runtime-degraded-state.test.tssrc/secrets/runtime-external-channel-origin-discovery.test.tssrc/secrets/runtime-inactive-core-surfaces.test.tssrc/secrets/runtime-nostr.test.tssrc/secrets/runtime-plugin-secret-owners.test.tssrc/secrets/runtime-state.clear.test.tsz0721
src/agents/embedded-agent-runner/run/attempt-context-engine.test-support.tssrc/agents/embedded-agent-runner/run/attempt-decision-prefilter.test.tssrc/agents/embedded-agent-runner/run/attempt-finalize.media.test.tssrc/agents/embedded-agent-runner/run/attempt-memory-audience.test.tssrc/agents/embedded-agent-runner/run/attempt.context-engine-helpers.test.tssrc/agents/embedded-agent-runner/run/attempt.exec-review-transcript.test.tssrc/agents/embedded-agent-runner/run/attempt.model-wait.test.tssrc/agents/embedded-agent-runner/run/attempt.tool-call-argument-repair.test.tsz0719
extensions/feishu/src/monitor.bot-menu.test.tsextensions/feishu/src/monitor.cleanup.test.tsextensions/feishu/src/monitor.message-handler.test-support.tsextensions/feishu/src/policy.test.tsextensions/feishu/src/reactions.test.tsextensions/feishu/src/reply-dispatcher.model-wait.test.tsextensions/feishu/src/sequential-key.test.tsextensions/feishu/src/sequential-queue.test.tsz0724
extensions/browser/src/browser/client-fetch.cold-start.test.tsextensions/browser/src/browser/client-fetch.unavailable.test.tsextensions/browser/src/browser/errors.test.tsextensions/browser/src/browser/extension-install-atomic.test.tsextensions/browser/src/browser/extension-pairing.test.tsextensions/browser/src/browser/extension-setup.test.tsextensions/browser/src/browser/extension-windows-host.test.tsextensions/browser/src/browser/extension-windows.test-support.tsz0725
src/config/sessions/session-history-eviction.lifecycle-contention.test.tssrc/config/sessions/session-history-read.imports.test.tssrc/config/sessions/session-lifecycle-projection.reads.test.tssrc/config/sessions/session-memory-entry.worker.test.tssrc/config/sessions/session-model-context-window.test.tssrc/config/sessions/session-native-binding.execution.test-support.tssrc/config/sessions/session-pending-input-foreign-rewrite.test.tssrc/config/sessions/session-pending-input-source.test.tsz0726
src/state/openclaw-state-lease-native-admission.test.tssrc/state/openclaw-state-lease-native-cleanup.test.tssrc/state/openclaw-state-lease-renewal.worker.test.tssrc/state/openclaw-state-lease-worker.test.tssrc/state/openclaw-state-lease-worker.transaction-group.test.tssrc/state/openclaw-state-read-source.test.tssrc/state/openclaw-state-read.owned-native-token.test.tssrc/state/openclaw-state-read.worker.test.tsz0727
ui/src/pages/new-session/cloud-target.browser.test.tsui/src/pages/new-session/composer-attachments.test.tsui/src/pages/new-session/composer-critters.test.tsui/src/pages/new-session/composer.test-support.tsui/src/pages/new-session/draft-cloud-machine-state.test.tsui/src/pages/new-session/draft-controller.test-support.tsui/src/pages/new-session/draft.catalog-reconnect.test.tsui/src/pages/new-session/draft.model-defaults.test.ts