Repository navigation
test(providers,ui,qa): remove low-value tests (batch d633) - #185072
Merged
Merged
Conversation
Reuse the shared frame clock and no-op observer fixture, preserving frame cancellation, snapshot flush ordering, and per-test reset. Native and remote browser response branches and lifecycle teardown remain unchanged. No test cases removed; CI-only validation.
Use the prepared provider for all unsupported-input rows and reuse its typed model fixture for catalog enrichment. Keep all eight cases and their distinct result, catalog, admission, prototype-safety, cancellation, and missing-model assertions. Drop the duplicate worker-label assertion: the retained classifier-estimates case verifies the choice and complete label probability map. Preserve serialized input and the physical admission callback checks. CI-only validation: oxfmt, oxlint, and git diff --check.
Reuse guarded response fixtures and keep the registered transport proof focused on catalog routing. Text reconstruction and usage accounting remain covered by stream.test.ts's fragmented SSE test. Preserve both OAuth setup modes and pinned-account dynamic model resolution.
Share the pinned-model, catalog, and native-transport fixture while retaining account locking, unknown-model rejection, catalog metadata, and routing assertions. Remove the redundant disk registry layer: src/agents/sessions/model-registry.test.ts preserves persisted and registered model metadata. Preserve both OAuth setup branches and exact credential/config assertions.
Exercise complete and incomplete native pricing in one discovery response while retaining text/vision metadata and credential-free request assertions. Complete pricing remains covered by the text model and recovery case; incomplete pricing remains covered by the vision model. Remove duplicate fetch-count checks and the now-single-use cost matcher helper. Preserve onboarding, recovery, and all cache-routing boundaries. CI-only campaign: local oxlint, oxfmt, and diff-check; no runtime tests.
Collapse catalog response, auth context, and registration setup into one fixture runner. Reuse a catalog model for payload routing while explicitly overriding compat, and retain all native/proxy/opt-out cases. Remove repeated recovered-model pricing assertions: the credential-free native metadata test already checks each cost field; recovery still verifies unavailable status followed by a discovered model. Original shard: 168 lines; final: 134. CI-only validation: oxfmt, plain oxlint, git diff --check.
Reuse the AppsPage fixture for heading coverage and consolidate DOM queries and launch assertions. Retain all three cases: lazy loading/retry/retirement, session-owned agent discovery, and accessible headings. CI-only campaign; local format, oxlint, and diff checks pass.
The retained session-agent lifecycle test now covers the deleted standalone discovery/launch replay using a mismatched selected agent. Keep request-target and launch-target assertions, lazy preload ordering, visible retry/loading, retired-route error suppression, deep-link identity, and the separate accessible-heading regression. Replace internal import call-count assertions with visible loading states. CI-only: format, plain oxlint, and diff checks passed; no tests run.
Replace handwritten package JSON parsing and copied metadata with a typed JSON import and the existing minimal channel fixture. Flatten single-table suites while retaining all channel capability, deny-policy, install provenance, and Feishu prompt assertions. No cases or sibling files removed. CI-only: oxfmt, oxlint, and diff check pass; tests not run.
Successful loading and includeDesktopSetup remain covered by systems-workspace.e2e.test.ts: names Macs consistently and enables a discovered desktop without reconnecting. Request retirement remains covered by systems-page.test.ts: drops late work after departure or gateway replacement. Canonical inventory rejection remains covered by systems-page.test.ts: retains inventory while a failed refresh is retried through its visible error. Preserve the distinct auxiliary-failure case and inline its now-single-use setup.
Consolidate provider and published-auth fixtures while retaining all configuration-presence cases. The throwing tool factory preserves the no-execution assertion without redundant spy bookkeeping. Keep supplied auth ownership, empty published stores, env-only isolation, credential sources, key-free exclusion, and unavailable setup checks.
Keep all configuration-presence cases and share the throwing provider factory. The retained 'uses published auth stores without cold admission' test covers authoritative empty snapshots; 'uses the supplied auth owner only when configuration needs source presence' covers empty provider auth. Remove their redundant replays and discovery call-shape bookkeeping, compact credential fixtures, and flatten the suite wrapper.
The repeated-schema-ID case retains successful validation and now asserts schema forwarding by identity, replacing the duplicate schema-success case. Keep both parse and schema rejection cases, isolated execution, provider-prefix selection, invalid thinking, and in-flight cancellation. Share the stateless tool fixture and compact typed completion fixtures. CI-only: oxlint, oxfmt, and diff checks passed; runtime and coverage proof deferred to hosted CI.
Consolidate synthetic parsed-reasoning coverage into the real request-path test on both completion routes. Keep future Qwen, non-reasoning, and non-Qwen controls alongside disabled and enabled effort cases. Preserve the GPT OSS clamping regression and provider registration contracts.
Compact request/image fixtures and validation tables while retaining all 13 cases. Preserve endpoint routing, polling, auth headers, release cleanup, input rejection and failed-result assertions; check full submission bodies across all success variants.
Replace the cross-owner composer fixture with a direct resize listener while retaining overlay teardown and listener-isolation assertions. Composer layout remains covered by chat-composer.test.ts: releases layout observation when a banner replaces the input.
Reuse the UI harness ResizeObserver, remove unused dimensions and body content, and assert pointer event behavior instead of capture call counts. Keep animation creation and reduced-motion coverage without the internal duration shape. The browser sibling keeps same-mode render animation identity coverage; repeating an unchanged signal value here adds no render.
Infer retention result types and reuse reply fixture; remove one-use tool and snapshot projection wrappers. Preserve active-history release, settled observer release, attribution, pending-input, signal identity and GC control checks. The owner assertion remains in agent-loop.retention.test.ts.
Consolidate native search checks without dropping platform predicates. Exercise malformed plugin entries through normalization; retain the undefined non-array representative. Legacy operator access remains covered by readGatewayOperatorAccess's legacy operator authentication case in ui/src/app/operator-access.test.ts.
Keep model setup ownership at the rendered sidebar boundary: settings-sidebar.test.tsx, keeps Models selected while its setup flow is open. Model setup bookmark routing remains covered through openModelSetup in model-setup-replacement.e2e.test.ts. Remove local route inventory assertions. Keep Security exclusion and Approvals visibility in settings-sidebar.test.tsx, excludes admin-only pages and config blocks from non-admin search. Retain Channels and Communications visibility in the existing admin table. Reuse the iOS snapshot for sparse-capability checks and retain one representative of its fallback label branch.
steipete
disabled auto-merge
October 26, 2026 21:59
steipete
enabled auto-merge (squash)
October 26, 2026 22:07
steipete
disabled auto-merge
October 26, 2026 22:14
steipete
enabled auto-merge (squash)
October 26, 2026 22:16
steipete
disabled auto-merge
October 26, 2026 22:27
steipete
enabled auto-merge (squash)
October 26, 2026 22:29
steipete
disabled auto-merge
October 26, 2026 22:43
steipete
enabled auto-merge (squash)
October 26, 2026 22:45
steipete
disabled auto-merge
October 26, 2026 22:58
steipete
enabled auto-merge (squash)
October 26, 2026 23:00
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 27, 2026
…185072) * test(qa-lab): deslop o0695 tests * test(ui): deslop o0694 tests Reuse the shared frame clock and no-op observer fixture, preserving frame cancellation, snapshot flush ordering, and per-test reset. Native and remote browser response branches and lifecycle teardown remain unchanged. No test cases removed; CI-only validation. * test(onnx): deslop o0692 tests Use the prepared provider for all unsupported-input rows and reuse its typed model fixture for catalog enrichment. Keep all eight cases and their distinct result, catalog, admission, prototype-safety, cancellation, and missing-model assertions. Drop the duplicate worker-label assertion: the retained classifier-estimates case verifies the choice and complete label probability map. Preserve serialized input and the physical admission callback checks. CI-only validation: oxfmt, oxlint, and git diff --check. * test(radius): deslop o0696 tests Reuse guarded response fixtures and keep the registered transport proof focused on catalog routing. Text reconstruction and usage accounting remain covered by stream.test.ts's fragmented SSE test. Preserve both OAuth setup modes and pinned-account dynamic model resolution. * test(radius): consolidate o0696 model lifecycle proof Share the pinned-model, catalog, and native-transport fixture while retaining account locking, unknown-model rejection, catalog metadata, and routing assertions. Remove the redundant disk registry layer: src/agents/sessions/model-registry.test.ts preserves persisted and registered model metadata. Preserve both OAuth setup branches and exact credential/config assertions. * test(cerebras): deslop o0698 tests Exercise complete and incomplete native pricing in one discovery response while retaining text/vision metadata and credential-free request assertions. Complete pricing remains covered by the text model and recovery case; incomplete pricing remains covered by the vision model. Remove duplicate fetch-count checks and the now-single-use cost matcher helper. Preserve onboarding, recovery, and all cache-routing boundaries. CI-only campaign: local oxlint, oxfmt, and diff-check; no runtime tests. * test(cerebras): consolidate o0698 catalog fixtures Collapse catalog response, auth context, and registration setup into one fixture runner. Reuse a catalog model for payload routing while explicitly overriding compat, and retain all native/proxy/opt-out cases. Remove repeated recovered-model pricing assertions: the credential-free native metadata test already checks each cost field; recovery still verifies unavailable status followed by a discovered model. Original shard: 168 lines; final: 134. CI-only validation: oxfmt, plain oxlint, git diff --check. * test(ui): deslop o0697 tests Reuse the AppsPage fixture for heading coverage and consolidate DOM queries and launch assertions. Retain all three cases: lazy loading/retry/retirement, session-owned agent discovery, and accessible headings. CI-only campaign; local format, oxlint, and diff checks pass. * test(ui): consolidate o0697 discovery coverage The retained session-agent lifecycle test now covers the deleted standalone discovery/launch replay using a mismatched selected agent. Keep request-target and launch-target assertions, lazy preload ordering, visible retry/loading, retired-route error suppression, deep-link identity, and the separate accessible-heading regression. Replace internal import call-count assertions with visible loading states. CI-only: format, plain oxlint, and diff checks passed; no tests run. * test(qa-lab): deslop o0699 tests * test(qa-lab): consolidate o0699 capture fixtures * test(voice-call): deslop o0701 tests * test(channels): deslop o0700 tests Share bundled registry setup and cleanup while retaining all catalog, channel capability, deny-policy, and Feishu prompt assertions. Preserve the Feishu regression from 57b2bd7 and ask_user gating from 62c1b7c. CI-only validation: oxlint, oxfmt, and diff check. * test(channels): compact o0700 catalog fixtures Replace handwritten package JSON parsing and copied metadata with a typed JSON import and the existing minimal channel fixture. Flatten single-table suites while retaining all channel capability, deny-policy, install provenance, and Feishu prompt assertions. No cases or sibling files removed. CI-only: oxfmt, oxlint, and diff check pass; tests not run. * test(systems): deslop o0703 tests * test(systems): remove duplicate o0703 loader proof Successful loading and includeDesktopSetup remain covered by systems-workspace.e2e.test.ts: names Macs consistently and enables a discovered desktop without reconnecting. Request retirement remains covered by systems-page.test.ts: drops late work after departure or gateway replacement. Canonical inventory rejection remains covered by systems-page.test.ts: retains inventory while a failed refresh is retried through its visible error. Preserve the distinct auxiliary-failure case and inline its now-single-use setup. * test(oc-path): deslop o0702 tests * test(oc-path): trim duplicate boundary variants for o0702 * test(web-search): deslop o0704 tests Consolidate provider and published-auth fixtures while retaining all configuration-presence cases. The throwing tool factory preserves the no-execution assertion without redundant spy bookkeeping. Keep supplied auth ownership, empty published stores, env-only isolation, credential sources, key-free exclusion, and unavailable setup checks. * test(web-search): reduce o0704 fixture and assertion layers Keep all configuration-presence cases and share the throwing provider factory. The retained 'uses published auth stores without cold admission' test covers authoritative empty snapshots; 'uses the supplied auth owner only when configuration needs source presence' covers empty provider auth. Remove their redundant replays and discovery call-shape bookkeeping, compact credential fixtures, and flatten the suite wrapper. * test(llm-task): deslop o0705 tests The repeated-schema-ID case retains successful validation and now asserts schema forwarding by identity, replacing the duplicate schema-success case. Keep both parse and schema rejection cases, isolated execution, provider-prefix selection, invalid thinking, and in-flight cancellation. Share the stateless tool fixture and compact typed completion fixtures. CI-only: oxlint, oxfmt, and diff checks passed; runtime and coverage proof deferred to hosted CI. * test(groq): deslop o0707 tests Consolidate synthetic parsed-reasoning coverage into the real request-path test on both completion routes. Keep future Qwen, non-reasoning, and non-Qwen controls alongside disabled and enabled effort cases. Preserve the GPT OSS clamping regression and provider registration contracts. * test(zai): deslop o0706 tests Compact request/image fixtures and validation tables while retaining all 13 cases. Preserve endpoint routing, polling, auth headers, release cleanup, input rejection and failed-result assertions; check full submission bodies across all success variants. * test(ui): deslop o0709 tests Replace the cross-owner composer fixture with a direct resize listener while retaining overlay teardown and listener-isolation assertions. Composer layout remains covered by chat-composer.test.ts: releases layout observation when a banner replaces the input. * test(ui): trim o0709 layout fixtures Reuse the UI harness ResizeObserver, remove unused dimensions and body content, and assert pointer event behavior instead of capture call counts. Keep animation creation and reduced-motion coverage without the internal duration shape. The browser sibling keeps same-mode render animation identity coverage; repeating an unchanged signal value here adds no render. * test(agent-core): deslop o0711 tests Infer retention result types and reuse reply fixture; remove one-use tool and snapshot projection wrappers. Preserve active-history release, settled observer release, attribution, pending-input, signal identity and GC control checks. The owner assertion remains in agent-loop.retention.test.ts. * test(ui): deslop o0708 tests Consolidate native search checks without dropping platform predicates. Exercise malformed plugin entries through normalization; retain the undefined non-array representative. Legacy operator access remains covered by readGatewayOperatorAccess's legacy operator authentication case in ui/src/app/operator-access.test.ts. * test(ui): consolidate o0708 navigation coverage Keep model setup ownership at the rendered sidebar boundary: settings-sidebar.test.tsx, keeps Models selected while its setup flow is open. Model setup bookmark routing remains covered through openModelSetup in model-setup-replacement.e2e.test.ts. Remove local route inventory assertions. Keep Security exclusion and Approvals visibility in settings-sidebar.test.tsx, excludes admin-only pages and config blocks from non-admin search. Retain Channels and Communications visibility in the existing admin table. Reuse the iOS snapshot for sparse-capability checks and retain one representative of its fallback label branch. * test(llm): deslop o0710 tests * test(llm): trim o0710 retry fixtures * test: preserve boundary contracts and repair d633 fixtures * test(onnx): preserve the asymmetric matcher receiver * test(ui): retain apps import lifecycle proof * test(voice-call): document guarded HTTP mock isolation * test: prune the retired Twilio mock baseline entry
This was referenced Oct 30, 2026
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 repeated test setup, duplicate same-path checks, and unnecessary fixture layers across provider, QA, channel, and UI tests (batch d633).
User Impact
No intended production or visual behavior change. Production LOC: +0/-0. Test and test-support LOC: +771/-1243 (net -472), across 18 files. One exact stale mock-baseline entry is removed (one additional line/file; total net -473). No files deleted; no dependency or workflow changes.
Why This Change Was Made
Reuses existing fixtures, consolidates related cases at their owning boundary, and trims repeated assertions. Retains provider routing/authentication, parsing/security boundaries, cancellation, retention, and UI lifecycle checks. All 30 supplied commits replayed in order onto main
d509800b6ca63a361f767a838f621a17f6fa0d3f; none skipped, no conflicts. Review subsequently dropped the Radius lifecycle consolidation (0dab69a08767) and Systems loader-proof deletion (a66e5967e652), retaining their earlier fixture cleanups. CI also caused the entire Apps-page shard (56f5e8182124,b64787a7a9b0) to be dropped and restored byte-for-byte to the pinned main version.Evidence
pnpm install --frozen-lockfile --prefer-offline: passed.node_modules/.bin/oxfmt --write <changed files>and final--check: passed.node_modules/.bin/oxlint -c .oxlintrc.json <changed files>: exit 0.git diff --check d509800b6ca63a361f767a838f621a17f6fa0d3f: passed.openclaw/ci-gatesupplies runtime and broad proof. Local test wall time and coverage totals are therefore not measured.createStreamFnonly lazy-forwards arguments unchanged to the stream owner;extensions/radius/stream.test.ts, “preserves signed content, bounded tool previews and accounting across fragmented SSE”, already checks content and usage through that owner while this PR retains registration/catalog/transport wiring.ui/src/app/operator-access.test.tsalready asserts the legacy role-only snapshot yieldscanAdmin: true; this navigation suite retains the true/false visibility matrix.40408253993exposed batch-caused type/boundary failures. Restored explicit Cerebras model fields, the typed ONNX catalog fixture (including abstention), contextually typed web-search diagnostics, and runtime WhatsApp package reading instead of a forbidden static core-to-extension import. The Groq indexed-access error was already fixed during review. Replacement-head CI is the landing proof; the failed original head is not treated as passing evidence.40410011259passed the repaired boundary checks and exposed an unboundexpect.closeToalias in the ONNX test (obj.__flagsTypeError under Bun). Restored direct matcher calls without changing expected values. No retries, timeouts, assertions, or CI gates were weakened.40411122585passed the ONNX shard, boundary checks, and all test-type stripes. Its late UI/lint failures both came from the Apps-page reduction (unbound query method and removed import-start synchronization); that entire file is now restored, rather than weakening assertions or increasing waits.40412860410passed all other selected CI jobs and failed only the mock-export ratchet for the changed Twilio mock fingerprint. The mock now explicitly documents why it isolates the HTTP guard from the plugin-entry/TTS runtime barrel using the guard's supportedmock-isolationannotation; no baseline allowance was added.40414837684accepted that annotation and required removal of exactly one stale grandfathered entry fromconfig/test-mock-exports-baseline.txt. Removed only the entry named by CI; this is shrink-only maintenance, with no new allowance. The local--prunechecker was not run under CI-only instructions. All other selected CI jobs passed on that head.Shard inventory and exact replay deltas
LOC and declaration counts below compare the pinned main to this PR. Declarations are static
it/testcalls, including table declarations, not expanded/executed case counts. Shared helpers have zero declarations.extensions/onnx/src/decisions.test.tsui/src/components/browser/test-helpers/native-browser.tsextensions/qa-lab/src/live-transports/matrix/substrate/events.test.tsextensions/radius/index.test.tsui/src/pages/apps/apps-page.test.tsx(unchanged)extensions/cerebras/onboard.test.tsextensions/qa-lab/src/live-transports/slack/slack-live.capture.test.tssrc/channels/plugins/contracts/channel-catalog.contract.test.tsextensions/voice-call/src/providers/twilio/api.test.tsextensions/oc-path/src/oc-path/tests/scenarios/security-and-limits.test.tsui/src/pages/systems/systems-data.test.tssrc/web-search/runtime-configuration.test.tsextensions/llm-task/src/llm-task-tool.test.tsextensions/zai/video-generation-provider.test.tsextensions/groq/index.test.tsui/src/app-navigation-groups.test.tsui/src/pages/debug/debug-overlay-layout.test.tsxsrc/llm/utils/retry.test.tspackages/agent-core/src/agent-loop.retention.test-support.tsCoverage evidence for every listed shard: not run under CI-only instructions. The available per-shard reports explicitly defer tests/coverage to hosted CI, and refer to later campaign commit IDs rather than these replayed commits; they are not presented as exact-head coverage proof. No statement/branch percentage claim is made.