Repository navigation
test(core,ui,browser): remove low-value tests (batch d366) - #179129
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. |
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
enabled auto-merge (squash)
October 21, 2026 06:14
steipete
disabled auto-merge
October 21, 2026 06:22
steipete
enabled auto-merge (squash)
October 21, 2026 06:30
steipete
disabled auto-merge
October 21, 2026 06:41
steipete
enabled auto-merge (squash)
October 21, 2026 06:46
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 22, 2026
…179129) * test(browser): deslop z0728 tests * test(browser): deslop z0728 tests * test(config): deslop z0730 tests * test(config): deslop z0730 tests * test(config): deslop z0730 tests * test(plugins): deslop z0733 tests * test(cli): deslop z0731 tests * test(cli): deslop z0731 tests * test(ui): deslop z0732 tests * test(ui): deslop z0732 tests * test(model-auth): deslop z0734 tests * test(model-auth): deslop z0734 tests * test(model-auth): deslop z0734 tests * test(infra): deslop z0729 tests * test(infra): deslop z0729 tests * test(system-agent): deslop z0735 tests * test(system-agent): deslop z0735 tests * test(system-agent): deslop z0735 tests * test(doctor): deslop z0736 tests * test(doctor): deslop z0736 tests * test(doctor): deslop z0736 tests * test(secrets): deslop z0739 tests * test(postgres-sync): deslop z0737 tests * test(postgres-sync): deslop z0737 tests * test(postgres-sync): deslop z0737 tests * test(infra): deslop z0738 tests * test(infra): deslop z0738 tests * test(gateway-cli): deslop z0742 tests * test(gateway-cli): deslop z0742 tests * test: repair batch d366 fixture types and isolation contracts * test: prune obsolete d366 mock export allowances
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 fixtures and assertion plumbing make these test suites harder to maintain.
User Impact
No user-visible or production behavior changes. This batch consolidates test setup and equivalent assertions while retaining distinct error, security, cancellation, recovery, and lifecycle checks.
Why This Change Was Made
Replayed 29 of the 30 requested commits onto pinned main
71b42f2f6ad3930c4f45514c133f3183aafb0de5. The test-only helpers consolidate subprocess observation, Postgres teardown, secret-provider fixtures, and inference-state cleanup. The requested batch is kept together; no production owner or public contract changes.Production LOC: +0 / -0. Test/support LOC: +4,679 / -7,289 (net -2,610) across 99 test/support files, plus 33 removed baseline lines in
config/test-mock-exports-baseline.txt(100 files total), fromgit diff --numstatagainst the pinned base.Evidence
node_modules/.bin/oxfmt --write <99 changed files>: passed.node_modules/.bin/oxlint -c .oxlintrc.json <99 changed TS/TSX files>: exit 0.git diff --check 71b42f2f6ad3930c4f45514c133f3183aafb0de5: passed.openclaw/ci-gatesupplies runtime/typecheck proof. Local test wall time: not run; hosted timing pending.src/plugins/discovery.tsdiscovers configured directories throughDEFAULT_PLUGIN_ENTRY_CANDIDATES, which includes bothindex.tsandindex.cjs. Existing discovery tests exercise metadata-free index loading.b40b391470319gives the store fixture an explicit checked return type, narrows callbacks to callable mocks, uses an arrow property for output waiting, and documents each intentional mock-isolation boundary. No baseline allowance was raised.5e45797f28933removes only those rows. No source behavior changed; the unchanged-code review is reused. The baseline text file is formatter-excluded.Replay decisions
aeef49836683d01de267e42a2cce8d403bad7ec1(z0727): six conflicts and dependence on earlier campaign-only composer/controller helpers absent from current main. Preserved current main's newer composer and draft setup, including nonconflicting portions by skipping the whole commit.815dd61d9d1243d4928f3f862247ab535ca7eb88(z0732): dropped follow-up edits tomarkdown-streaming-highlight.test.tsandmcp-app-security.test.ts; kept their already-replayed versions and newer main Mermaid/security cases. Kept six clean file changes.28fc9a4c1ebe025a91a1ea1079145e26ded3f13f(z0729): kept install-target/is-main cleanup; dropped JSON-file and JSON-UTF8 edits, preserving newer atomic replacement, directory-target, serialization, and Unicode cases.74efda98902bac7d51d0db34d9a43040f8dbc505(z0729): kept four clean files; dropped is-main, JSON-file, JSON-UTF8, and launchd-stop-timeout follow-up edits, preserving current main additions and earlier accepted cleanup.63a2c7c42ab18ca3847be091a8f1fbdb1737cfb2(z0738): dropped legacy-JSON follow-up rewrite, preserving current main's removed reset hook and valid migration fixture. Kept six clean file changes and the earlier accepted legacy-JSON cleanup.Per-shard landing inventory
LOC includes test support and is measured against the pinned main, not the earlier campaign revision. Declaration counts are static syntactic test declarations, not expanded or executed cases; tabulation changes these counts. Coverage status in every original shard report: not run (CI-only).
z0728
extensions/browser/src/browser/pw-tools-core.annotate.test.tsextensions/browser/src/browser/pw-tools-core.responses.test.tsextensions/browser/src/browser/pw-tools-core.trace.test.tsextensions/browser/src/browser/relay-daemon.test.tsextensions/browser/src/browser/runtime-lifecycle.shutdown-race.test.tsextensions/browser/src/browser/runtime-lifecycle.unhandled-rejections.test.tsextensions/browser/src/browser/screenshot-annotate.test.tsextensions/browser/src/browser/server.historical-target.test.tsz0729
src/infra/install-target.test.tssrc/infra/is-main.test.tssrc/infra/lifecycle-tail-retention.test-support.tssrc/infra/lifecycle-timer-retention.test-support.tssrc/infra/machine-model.test.tsz0730
src/config/io.cron-owner-refusal.test.tssrc/config/io.eacces.test.tssrc/config/io.runtime-models.test.tssrc/config/io.write-effects.test-support.tssrc/config/official-external-channel-secret-schema.test.tssrc/config/plugin-auto-enable.test-helpers.tssrc/config/resolution-facts.test.tssrc/config/runtime-group-policy.test.tsz0731
src/cli/program/build-program.test.tssrc/cli/program/command-registry.test.tssrc/cli/program/config-guard.legacy-state.test.tssrc/cli/program/configure-dispatch.test.tssrc/cli/program/register.backup.test.tssrc/cli/program/register.configure.persistence.test.tssrc/cli/program/register.migrate.test.tssrc/cli/program/register.storage.test.tsz0732
ui/src/components/markdown-streaming-highlight.test.tsui/src/components/mascot-animator.test.tsui/src/components/mcp-app-context-strip.test.tsxui/src/components/mcp-app-panel.test.tsxui/src/components/mcp-app-retirement.test.tsxui/src/components/mcp-app-security.test.tsui/src/components/mcp-app-view-lifecycle.test.tsui/src/components/menu-check-alignment.browser.test.tsz0733
src/plugins/contracts/plugin-testing-harness.contract.test.tssrc/plugins/contracts/provider-catalog-deprecation.contract.test.tssrc/plugins/contracts/registry.retry.test.tssrc/plugins/contracts/runtime-import-side-effects.contract.test.tssrc/plugins/contracts/runtime-seams.contract.test.tssrc/plugins/contracts/shape.contract.test.tssrc/plugins/contracts/shared-upstream-model.contract.test.tsz0734
src/agents/model-auth-availability.native.test.tssrc/agents/model-auth-env.provider-aliases.test.tssrc/agents/model-auth.no-auth.test.tssrc/agents/model-auth.oauth-refresh-fail-closed.test.tssrc/agents/model-auth.workspace-plugin.test.tssrc/agents/model-catalog-entry.test.tssrc/agents/model-catalog.configured.test.tssrc/agents/model-catalog.planning.test.tsz0735
src/system-agent/setup-inference-auth-options.test.tssrc/system-agent/setup-inference-detect.lifecycle.test.tssrc/system-agent/setup-inference-provider-snapshot.test.tssrc/system-agent/setup-inference-state.test-support.tssrc/system-agent/setup-inference-transition.test.tssrc/system-agent/setup-inference-utility.test.tssrc/system-agent/setup-native-runtime.test.tssrc/system-agent/system-agent.lifecycle.test.tsz0736
src/flows/doctor-health-contribution-runners.config.deferred.test.tssrc/flows/doctor-health-contribution-runners.state.codex.test.tssrc/flows/doctor-health-contributions.test-support.tssrc/flows/doctor-health-startup.test.tssrc/flows/doctor-health.deletion-recovery.test.tssrc/flows/doctor-health.nocow.test.tssrc/flows/doctor-health.plugin-load.test.tssrc/flows/doctor-health.update-scope.test.tsz0737
src/infra/postgres-sync/locks-worker.test-support.tssrc/infra/postgres-sync/postgres.test-support.tssrc/infra/postgres-sync/read-facts.postgres.test.tssrc/infra/postgres-sync/reuse.postgres.test.tssrc/infra/postgres-sync/session-publication.postgres.test.tsz0738
src/infra/state-migrations.agent-owner-guidance.test.tssrc/infra/state-migrations.derived-cleanup.test.tssrc/infra/state-migrations.legacy-json.test.tssrc/infra/state-migrations.mcp-oauth-faults.test-support.tssrc/infra/state-migrations.meeting-transcripts-stage-cleanup.test.tssrc/infra/supervisor-markers.test.tssrc/infra/system-presence.version.test.tssrc/infra/system-run-approval-context.test.tsz0739
src/secrets/plugin-secret-provider.test-support.tssrc/secrets/prepared-plugin-input.test.tssrc/secrets/resolve-store.test.tssrc/secrets/resolve.manifest-registry.test.tssrc/secrets/resolve.mixed-failures.test.tssrc/secrets/runtime.auth.integration.test.tssrc/secrets/runtime.gateway-auth.integration.test.tssrc/secrets/runtime.loadable-plugin-origins.test.tssrc/secrets/runtime.test-support.tsz0742
src/cli/gateway-cli/crash-loop-recovery.test.tssrc/cli/gateway-cli/dev.integration.test.tssrc/cli/gateway-cli/pre-bootstrap.reset-invalid-config.test.tssrc/cli/gateway-cli/register-restart-handoff.test.tssrc/cli/gateway-cli/run-loop.forced-cron.process.test.tssrc/cli/gateway-cli/run-loop.forced-cron.test-support.tssrc/cli/gateway-cli/run-loop.model-acquisition.process.test.tssrc/cli/gateway-cli/run-loop.model-acquisition.test-support.tssrc/cli/gateway-cli/run-loop.process.test-support.ts