Repository navigation
test(core,plugins): remove low-value tests (batch d600) - #184375
Conversation
|
🦞👀 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. |
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. |
|
Codex review: needs maintainer review before merge. What this changesThis PR consolidates test fixtures and overlapping coverage across core, plugins, and the Control UI. Example: xAI video generation uses an opted-in private endpoint.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open as useful maintainer-directed test maintenance; no actionable introduced defect was found, but current-head CI remains unresolved. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe test suites exercise production owners using synthetic inputs, local transports, and isolated state, then report assertions through CI. flowchart LR
A[Test fixtures] --> B[Core and plugin owners]
B --> C[Local transports and isolated state]
C --> D[Boundary assertions]
D --> E[CI gate]
Technical reviewBest possible solution: Retain the consolidation and existing boundary assertions, then complete the normal CI landing gate. Do we have a high-confidence way to reproduce the issue? This PR addresses duplicated test maintenance rather than a reported runtime bug; source inspection confirms its test-only scope. Is this the best way to solve the issue? Reusing existing fixtures and keeping assertions at their owning boundaries is appropriate; inspected replacement suites preserve the central contracts. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 89a0cb40efa9. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfacePR surface statistics unavailable: the file list is incomplete. Review metrics
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 26, 2026, 5:02 AM ET / 09:02 UTC. |
239d259 to
d2b1b6f
Compare
Remove the unused cleanup registrar from attempt.test-support; attempt.test retains the same pre-session failures, cancellation, and callback drain cases through attempt-cleanup.test-support. Share the caller-owned transcript fixture without dropping ownership or serialization checks. Trim same-branch auth variants and consolidate runtime artifact fixture writes.
Keep real SDK catalog cancellation ordering; retained source and SDK post-close rejection stays in tool-bridge.test.ts: binds retained code-mode source and SDK controls exactly once. Merge host-prepared reader execution and SDK metadata into the memory-surface cases. Consolidate auth precedence setup and same-branch replay variants. Token rotation retains credential invalidation; attempt.test.ts replay session selection and consolidated mutating tool metadata retain replay outcomes. The final appended developer instructions test absorbs positive delegation normalization and conversation context; delegation-guidance.test.ts owns no-usable-tool omission. Shrink runtime artifact fixtures and share existing attempt gates while retaining transcript rebinding, detached cleanup, and transport checks. CI-only: formatting, diff check, and plain oxlint passed; no tests or coverage run. Shard lines: 1716 to 1372.
Keep one provider row per fallback/cancellation branch: timeout degraded, provider AbortError recovered, and caller cancellation. Remove repeated internal return-shape assertions while retaining persisted outcomes, authority, usage accounting, and replay normalization. Consolidate keybinding creation/reload setup and reuse session-state setup for compaction. No production changes; CI-only mode, oxfmt and plain oxlint passed. Cumulative shard reduction remains below the requested 20% because remaining cases protect distinct owner boundaries.
Share Linux timer setup, procfs file reads, and watcher callbacks across child-memory scenarios. Preserve every case and assertion, including sampling cadence, descendant accounting, retry cancellation, and memory limits. The remaining shard fixtures protect distinct process lifecycle and security boundaries; no unsafe deletion to meet the line target.
Keep native Darwin selected-PID and UTC identity proof in darwin-process-inspection.native.test.ts. Retain one representative census mapping instead of replaying its enum inventory. Keep post-admission cancellation completion in gateway-work-admission.test.ts (retains resumed independent work until its original completion after admission cancellation). Keep active-source closure and blocked-consumer disposal in service-child-relay-host.awaited-output.test.ts (rejects premature stdout close after root exit through the actual caller; joins accepted stdout after identity loss while preserving an observed root). Keep real secret-byte delivery and zeroing in spawn-secret-input.test.ts POSIX and Windows pipe cases; narrow the controlled stream to late-error settlement. Keep forced Windows helper command checks in exec.windows.test.ts and retain graceful settlement liveness with both successful and failed helpers.
Delete command-process-custody.process.test.ts: update-command-doctor-delegation.test.ts covers CPU-bound owner loss, retained writer identities, actual custody publication, and native cleanup in its settles a CPU-bound Doctor at its deadline or records unresolved writer identity cases. Keep the scoped-spawn adopted-zombie regression from 0316fd1, while removing its runner replay and extra unrelated-child fixture. Runner cleanup is covered by exec.test.ts (joins owned descendants even when a successful root closes its output) and scoped-child-reaper.test.ts (settles a cooperative descendant throughout a longer command grace period). Isolation remains covered by child-process-tree.reaping.test.ts and the native active-root-orphan case in service-child-subreaper.real.test.ts. Drop the synchronous spawn-throw passthrough probe. Drop the composed live-parent closing-scope replay: gateway-work-admission.test.ts retains continuation ownership under suspension, and async-work-scope.test.ts joins synchronous descendants during drain and fences late work. No production changes or test runs; local formatting, oxlint and diff checks passed.
Reuse session-page polling assertions and the config snapshot fixture. Read shortcut labels, fonts, and ink alignment in one browser pass while preserving all assertions and both platform cases. CI-only validation: plain oxlint, oxfmt, and git diff --check pass. No runtime tests or coverage executed. The shard retains lifecycle, durable-state, payload, layout, and explicit failure-diagnostic contracts rather than deleting them for the line target.
Port o0213 onto the campaign lane, retaining the lane's newer schema regression cases, modified adapter test, and request-shape assertion. Reuse Git and registry fixtures and preserve the compaction-to-fallback integration regression. CI-only validation: oxlint and oxfmt --check on all ten changed files, plus git diff --check; runtime tests deferred to landing CI.
Share skills reset fixtures, panel queries and status assertions; table route normalization without removing URL branches. Keep deferred-write, scope retirement, authority, retry and DOM identity checks. Retain Workshop allowlist assertions in the reset/retry case and one-of-binary diagnostics in the refreshed-row case. Remove the direct-callback retry replay in favor of the Refresh-button case. Skills library view.test.tsx also retains the one-of-binary install diagnostic. CI-only campaign: oxfmt, plain oxlint and diff-check pass; no local tests or coverage. Test LOC 1691 to 1513 (10.5%); below 20% because remaining lifecycle, authority and distinct UI paths are retained.
Reuse steering and compaction fixtures and simplify provenance setup and effort expectations. Keep distinct lifecycle and provenance assertions. Remove pre-acknowledgement abort variants: attempt-steering.test.ts already proves in-flight request cancellation and pending-entry removal; waitForTranscriptCommit is read only after acknowledgement.
Keep provenance budgeting with the native observation attempt suite in its existing database-worker project. Projection-owner tests retain historical sender attribution; the continuity-projection test retains inert sender escaping. Remove missing-executable replay covered by attempt-startup-retry preserves spawn failure without retrying. Keep cache module identity in the expiry test; client-runtime installs shared handlers once per physical client and same-build retained-owner tests retain notification routing and runtime sharing. Replace observation cleanup-only interruption replay with the terminal fixture; attempt-client-cleanup retains exact-turn interruption proof. Consolidate cache invalidation scenarios and fixtures; preserve custody, redaction, prior-history validation and native effort branches.
d2b1b6f to
a87a5e2
Compare
Settlement: remaining failures are inheritedLanding head
Telegram PR / base / clean-main results
The local comparison used the repository wrapper, one worker, an empty inherited environment, and a fresh isolated HOME, OpenClaw config/state/OAuth location, XDG directories, and module-cache path for each run. No operator Gateway or real credentials were used. The repository-pinned Bun revision was CI=1 OPENCLAW_VITEST_RUNTIME=bun OPENCLAW_BUN_PATH="$PINNED_BUN" \
node scripts/run-vitest.mjs run \
--config test/vitest/vitest.e2e.config.ts \
test/e2e/qa-lab/runtime/telegram-recovered-artifact.e2e.test.ts \
--maxWorkers=1The test has identical Git blob No new batch source fixes were needed in this attribution pass. The earlier fixture restoration and main repair incorporation remain intact; the retained batch has no production-runtime changes. Existing independent correction reviews and the completed exact-head code review are reused because the submitted patch is unchanged. |
) * test(copilot): deslop o0209 tests Remove the unused cleanup registrar from attempt.test-support; attempt.test retains the same pre-session failures, cancellation, and callback drain cases through attempt-cleanup.test-support. Share the caller-owned transcript fixture without dropping ownership or serialization checks. Trim same-branch auth variants and consolidate runtime artifact fixture writes. * test(copilot): consolidate o0209 boundary fixtures Keep real SDK catalog cancellation ordering; retained source and SDK post-close rejection stays in tool-bridge.test.ts: binds retained code-mode source and SDK controls exactly once. Merge host-prepared reader execution and SDK metadata into the memory-surface cases. Consolidate auth precedence setup and same-branch replay variants. Token rotation retains credential invalidation; attempt.test.ts replay session selection and consolidated mutating tool metadata retain replay outcomes. The final appended developer instructions test absorbs positive delegation normalization and conversation context; delegation-guidance.test.ts owns no-usable-tool omission. Shrink runtime artifact fixtures and share existing attempt gates while retaining transcript rebinding, detached cleanup, and transport checks. CI-only: formatting, diff check, and plain oxlint passed; no tests or coverage run. Shard lines: 1716 to 1372. * test(cli): deslop o0210 tests Consolidate update result fixtures and runtime captures, retain every registry routing interleaving, and trim duplicate search/recovery variants. Version-format variants remain covered by skills-search-cli.test.ts. Scoped recovery denial remains covered for both unversioned and versioned requests with recovery metadata enabled. * test(cli): consolidate o0210 duplicate proof layers Keep generation and host-cohort proof in plugins-update-command.generation.integration.test.ts. Keep stderr interleaving in json-output-mode.test.ts, timing serialization in command-startup-timing.test.ts and diagnostics-timeline.test.ts, classifier behavior in gateway/call.test.ts, and package/version parsing in plugins-cli.install.test.ts. Preserve authority, recovery, signal ordering, and transport cases; consolidate service fixtures and reuse the canonical Nix error. * test(xai): deslop o0211 tests Consolidate video request and tool-policy fixtures without dropping their cases. Keep source-based image replay in the cross-turn prefix test, replacing the narrower replay duplicate. Share catalog fixtures while preserving migration exclusions, and retain all SSRF, header isolation, compaction, and lazy lifecycle checks. * test(xai): consolidate o0211 test layers Merge image and video private-endpoint transport fixtures, retaining credential isolation and direct/redirected SSRF checks in image-generation-provider.test.ts. Combine video release/poll lifecycle proof and OAuth header proof without duplicating setup. Reuse configuration builders, replace unused mock bookkeeping with result assertions, and remove the unreferenced deferred WebSocket-close fixture. Grok 4.7 represents the shared post-4.6 tool-effort branch; runtime-model-compat.test.ts retains the Grok 4.8 model mapping proof. * test(config): consolidate o0215 fixtures and schema cases Use the on-disk startup corpus rather than regenerating model and disabled-skill inventories. Keep the historical hamverbot source-preservation case on the identical operator shape, and retain the JSON-schema compatibility field at the schema validation boundary. Consolidate schema inputs by validation path, combine case and whitespace provider normalization, retain unavailable and unknown-provider branches, and remove CLI validator call-count assertions plus the root documentation inventory. Reuse the empty metadata fixture index without rebuilding it. Original baseline: 1748 lines; final: 1483 lines (-15.2%). The 20% target remains unmet: preserve distinct authority/revocation, preflight ordering, durable write/rollback, migration, and credential checks rather than deleting their only proof. The six metadata cases removed in the prior commit remain in validation.allowed-values.test.ts. CI-only mode: oxfmt, plain oxlint, and git diff --check pass; no tests, builds, or coverage run. * test(infra): deslop o0212 tests Consolidate repeated Windows fallback and credential-lifecycle setup while retaining all 92 expanded cases. Keep PID validation in the existing rejects PID table, preserve exact shell environment and timeout assertions, and share the compile-cache enable call across fixture modes. * test(infra): consolidate o0212 branch and fixture coverage Remove unused compile-cache fixture modes: sqlite-worker-store.compile-cache.test.ts only calls openclaw/foreign with unset overrides. Keep both worker generations and bytecode flush assertions. Deduplicate ClawHub consent against src/plugins/clawhub.test.ts (cancels before download when confirmation is declined); keep all artifact binding controls. Windows diagnostic environments remain covered by windows-diagnostic-env.test.ts and process-env.test.ts. Standalone invocation and parent binding remain covered by entry.compile-cache.test.ts and the real recovery gateway-drain test. Bun selection failure, immutable inherited capabilities and retained callable ownership remain covered by bun-sqlite-library.worker.test.ts. Keep deferred publication, early topology and missing-parent admission here. Preserve credential rejection with the stronger newer-layout case and share child database cleanup. * test(subagents): deslop o0214 tests Consolidate initial dispatch identity assertions into the retained persisted-retry custody matrix. Preserve every custody, generation, and retry transition. Keep mirror delivery outcomes and scope checks; remove repeated expiry callback and log assertions covered by subagent-registry-lifecycle.test.ts: preserves the concrete delivery error through retries. Inline the fixture publication wrapper and simplify metadata payload assertions without dropping invalid-row readers. CI-only campaign: oxfmt, diff check, and plain oxlint pass; no tests or coverage run. This already-consolidated shard remains below the requested 20% line reduction. * test(subagents): consolidate o0214 reconciliation and mirror proof Merge metadata-read proof into the same routed reconciliation suite and share lifecycle fixtures. Keep every owning-agent, opaque-peer, incognito, cold-payload, and malformed-row check. Cover current delivery, long replies, and explicit requester ownership together; preserve distinct key-prefix and stale/sibling rejection branches. Payload and attempt clearing remain covered by the late-mirror ownership matrix in subagent-registry-lifecycle.test.ts. Remove a duplicate dispatching identity row, reuse the real queued-registration SQLite reader, and shrink generic store fixtures and observer cleanup. CI-only: plain oxlint, oxfmt, and diff check pass. No tests or coverage run. This additional safe cut remains below the campaign line target; retain distinct recovery, ordering, and durability proof rather than deleting unique paths. * test(subagents): remove redundant o0214 boundary fixtures Keep one unrelated cold row at the reconciliation boundary; snapshot field selection remains covered by session-entry-read.worker.test.ts: hydrates only requested snapshots while retaining exact-read lifecycle and authorization facts. Drop narrow identity replays covered by restart-recovery.test.ts: keeps the dispatched surviving cohort owned after a member retires, and subagent-control.worker.test.ts: recovers a known missing required result through periodic admission. Retain every requester binding and custody branch. Use local injected collector lookup in the sweeper fixture and preserve cleanup guards with less callback scaffolding. CI-only: oxfmt, diff check, and plain oxlint pass; no tests or coverage run. Cumulative line reduction remains short of 20 percent because remaining cases protect distinct boundaries. * test(agents): deslop o0213 tests Consolidate OAuth body replay into the retained bootstrap challenge case; the second-rejection case retains existing-token retry coverage. Fold schema-map keyword names into the exact traversal diagnostic case. Share sandbox containment setup without dropping positive or negative boundary assertions. CI-only shard: retain distinct authorization, persistence, recovery, and lifecycle cases. No runtime tests or coverage run; local formatting, diff check, and plain oxlint passed. Reduction is intentionally below target because additional inspected cases protect distinct behavior. * test(gateway): deslop o0216 tests * test(gateway): consolidate o0216 owner-boundary proof Keep backup.status as an RPC integration case; target grouping, namespace separation and latest-success selection remain covered by src/state/backup-run-records.test.ts (reads legacy manifests and round trips offsite details and external command outcomes; does not count namespace successes toward another namespace schedule; retains target attempts and successes beyond the 200-row window). Keep provider cancellation diagnostics while leaving successor admission ordering to session-catalog-provider-access.test.ts: releases retired queued work before active providers settle. Reuse the read-only cron fixture without scheduler startup, as in cron.list-scoped.test.ts. Preserve all redaction, consent-write, release, and lifecycle assertions. * test(gateway): trim o0216 fixtures and naming cases Consolidate existing-session naming into the display-name decision table, keep the merged-name assertion and new-session absence guards, and remove unrelated cron fixture metadata. Keep the readonly plugin response and runtime identity while leaving restart/plugin-id response shape to plugins-mutations.test.ts: returns reload restart requirement and deduplicated warnings. * test(sessions): deslop o0218 tests Reuse the existing session-state fixture for custody and prepared-write proof, factor repeated Code Mode value assertions, and share prompt checkpoint envelopes. Preserve all authority, persistence, replay, and lifecycle cases and assertions. CI-only validation: plain oxlint, oxfmt, and diff checks; runtime proof deferred to hosted CI. * test(sessions): consolidate o0218 boundary proof Keep one provider row per fallback/cancellation branch: timeout degraded, provider AbortError recovered, and caller cancellation. Remove repeated internal return-shape assertions while retaining persisted outcomes, authority, usage accounting, and replay normalization. Consolidate keybinding creation/reload setup and reuse session-state setup for compaction. No production changes; CI-only mode, oxfmt and plain oxlint passed. Cumulative shard reduction remains below the requested 20% because remaining cases protect distinct owner boundaries. * test(process): deslop o0217 tests Share Linux timer setup, procfs file reads, and watcher callbacks across child-memory scenarios. Preserve every case and assertion, including sampling cadence, descendant accounting, retry cancellation, and memory limits. The remaining shard fixtures protect distinct process lifecycle and security boundaries; no unsafe deletion to meet the line target. * test(process): remove duplicated o0217 boundary proofs Keep native Darwin selected-PID and UTC identity proof in darwin-process-inspection.native.test.ts. Retain one representative census mapping instead of replaying its enum inventory. Keep post-admission cancellation completion in gateway-work-admission.test.ts (retains resumed independent work until its original completion after admission cancellation). Keep active-source closure and blocked-consumer disposal in service-child-relay-host.awaited-output.test.ts (rejects premature stdout close after root exit through the actual caller; joins accepted stdout after identity loss while preserving an observed root). Keep real secret-byte delivery and zeroing in spawn-secret-input.test.ts POSIX and Windows pipe cases; narrow the controlled stream to late-error settlement. Keep forced Windows helper command checks in exec.windows.test.ts and retain graceful settlement liveness with both successful and failed helpers. * test(process): consolidate o0217 lifecycle fixtures Delete command-process-custody.process.test.ts: update-command-doctor-delegation.test.ts covers CPU-bound owner loss, retained writer identities, actual custody publication, and native cleanup in its settles a CPU-bound Doctor at its deadline or records unresolved writer identity cases. Keep the scoped-spawn adopted-zombie regression from cc301b6, while removing its runner replay and extra unrelated-child fixture. Runner cleanup is covered by exec.test.ts (joins owned descendants even when a successful root closes its output) and scoped-child-reaper.test.ts (settles a cooperative descendant throughout a longer command grace period). Isolation remains covered by child-process-tree.reaping.test.ts and the native active-root-orphan case in service-child-subreaper.real.test.ts. Drop the synchronous spawn-throw passthrough probe. Drop the composed live-parent closing-scope replay: gateway-work-admission.test.ts retains continuation ownership under suspension, and async-work-scope.test.ts joins synchronous descendants during drain and fences late work. No production changes or test runs; local formatting, oxlint and diff checks passed. * test(ui): deslop o0219 tests Reuse session-page polling assertions and the config snapshot fixture. Read shortcut labels, fonts, and ink alignment in one browser pass while preserving all assertions and both platform cases. CI-only validation: plain oxlint, oxfmt, and git diff --check pass. No runtime tests or coverage executed. The shard retains lifecycle, durable-state, payload, layout, and explicit failure-diagnostic contracts rather than deleting them for the line target. * test(agents): consolidate o0213 fixture setup Port o0213 onto the campaign lane, retaining the lane's newer schema regression cases, modified adapter test, and request-shape assertion. Reuse Git and registry fixtures and preserve the compaction-to-fallback integration regression. CI-only validation: oxlint and oxfmt --check on all ten changed files, plus git diff --check; runtime tests deferred to landing CI. * test(agents): deslop o0221 tests Share skills reset fixtures, panel queries and status assertions; table route normalization without removing URL branches. Keep deferred-write, scope retirement, authority, retry and DOM identity checks. Retain Workshop allowlist assertions in the reset/retry case and one-of-binary diagnostics in the refreshed-row case. Remove the direct-callback retry replay in favor of the Refresh-button case. Skills library view.test.tsx also retains the one-of-binary install diagnostic. CI-only campaign: oxfmt, plain oxlint and diff-check pass; no local tests or coverage. Test LOC 1691 to 1513 (10.5%); below 20% because remaining lifecycle, authority and distinct UI paths are retained. * test(infra): factor repeated o0212 census assertions * test(codex): deslop o0220 tests Reuse steering and compaction fixtures and simplify provenance setup and effort expectations. Keep distinct lifecycle and provenance assertions. Remove pre-acknowledgement abort variants: attempt-steering.test.ts already proves in-flight request cancellation and pending-entry removal; waitForTranscriptCommit is read only after acknowledgement. * test(codex): consolidate o0220 test layers Keep provenance budgeting with the native observation attempt suite in its existing database-worker project. Projection-owner tests retain historical sender attribution; the continuity-projection test retains inert sender escaping. Remove missing-executable replay covered by attempt-startup-retry preserves spawn failure without retrying. Keep cache module identity in the expiry test; client-runtime installs shared handlers once per physical client and same-build retained-owner tests retain notification routing and runtime sharing. Replace observation cleanup-only interruption replay with the terminal fixture; attempt-client-cleanup retains exact-turn interruption proof. Consolidate cache invalidation scenarios and fixtures; preserve custody, redaction, prior-history validation and native effort branches. * test: retain consent and schema isolation regressions * test: drop incompatible fixture reductions exposed by CI * test: preserve metadata fixture boundary and mock isolation * test: shrink annotated Gateway mock export baseline * test: restore lint-safe request and update fixtures * test: restore shared requester-wake registry fixture
Keep source-config preservation assertions on the operator-container case. The removed alias has loaded byte-identical operator-container input since #184375, so it repeats one config startup and two prior-release state startup cases.
Keep source-config preservation assertions on the operator-container case. The removed alias has loaded byte-identical operator-container input since openclaw#184375, so it repeats one config startup and two prior-release state startup cases.
What Problem This Solves
Reduces duplicated test layers and repeated fixtures in batch d600 while retaining owner-boundary checks.
User Impact
No production-runtime behavior change. This is test/support maintenance; CI inventory edits remove only deleted test paths. No visual change, migration, or operator action.
Why This Change Was Made
Replayed 27 of the 30 supplied commits onto pinned main
f5eb9570aac03eccd09bf38d8a155d4039fc768f. Consolidations keep observable authority, cancellation, recovery, transport, persistence, and lifecycle assertions at their owning boundary.Rebased onto pinned main
6f94c2a27fbac10784eec09676b4357dcfde5671, incorporating #184427's requester-wake ordering and session-entry equality repair. Restored the complete shared registry-state fixture to its merge-base version after tracing all six failing tests' transitive local imports: requester-wake directly imports this changed support file; the other five have no changed support dependency (the only shared changed runtime import is package.json, whose sole change removes a deleted Windows test from its script). No vitest/setup/harness configuration is changed. The rebase had no conflicts; all 33 replay/correction patches were unchanged ingit range-diff. Changed-file formatting, plain lint, and diff-check were repeated. Fresh-head CI is required; prior-head results are not substituted.Replay decisions
92cf754b21e3c: main already removed the duplicate config metadata/SecretRef section (current file history includes49a092d67f339, batch d220); do not resurrect it.06fa23da86b2eentirely: Gateway browser/recovery fixtures diverged on main; deleting the old test family without porting every replacement would risk losing current proof.7f115abc858f0entirely: identity-admission fixture changed on main (fed1c12d0d4ee); preserve current boundary tests rather than merge an obsolete fixture family.Evidence
node_modules/.bin/oxfmt --write: passed.node_modules/.bin/oxlint -c .oxlintrc.json: exit 0.git diff --check f5eb9570aac03eccd09bf38d8a155d4039fc768f: passed.openclaw/ci-gateis the merge proof. Independent review completed: two accepted findings restored to pinned-main tests; the correction review is scoped-clean (P0–P2).Per-shard final replay inventory
LOC below is actual added/deleted lines against the pinned main. Declaration counts are textual
it/test(...)/it.each(...)declarations in retained changed test/support files, not expanded or executed cases. Supplied reports predate additional consolidation commits, so their initial LOC figures are not substituted for this replay.o0209
extensions/copilot/src/attempt-transcript-memory.test.tsextensions/copilot/src/auth-bridge.test.tsextensions/copilot/src/runtime-artifact.test.tsextensions/copilot/src/attempt-cleanup.test-support.tsextensions/copilot/src/attempt-prompt.test-support.tsextensions/copilot/src/tool-bridge.host-surface.test.tso0210
src/cli/plugin-registry-loader.test.tssrc/cli/plugins-search-command.test.tssrc/cli/gateway-rpc.runtime.test.tssrc/cli/logs-cli.port.test.tssrc/cli/plugins-update-command.authority.integration.test.tssrc/cli/profile.test.tso0211
extensions/xai/doctor-contract-api.test.tsextensions/xai/responses-tool-policy.test.tsextensions/xai/server-compaction.test.tsextensions/xai/stream.test.tsextensions/xai/video-generation-provider.test.tsextensions/xai/video-generation-provider.transport.test.tsextensions/xai/image-generation-provider.test.tsextensions/xai/lazy-capability-providers.test-support.tsextensions/xai/lazy-capability-providers.test.tsextensions/xai/realtime-voice-socket.test-support.tso0215
src/config/config-corpus.test-support.tssrc/config/config.web-search-provider.test.tssrc/config/io.cli-validation.integration.test.tssrc/config/io.write-preflight.test-support.tssrc/config/plugin-auto-enable.test-helpers.tssrc/config/schema.hints.test.tso0212
src/infra/client-credential-lifecycle.test.tssrc/infra/sqlite-worker-store.compile-cache-parent.test-support.tssrc/infra/windows-process-start.test.tssrc/infra/windows-process-census.test.tspackage.jsonsrc/infra/package-update-permission-drift.test.tso0214
src/agents/subagents/registry/subagent-registry-lifecycle-delivery-mirror.test-support.tssrc/agents/subagents/registry/subagent-requester-settle-identity.test.tssrc/agents/subagents/registry/subagent-registry-run-wait.test.tssrc/agents/subagents/registry/subagent-registry-running-registration.native.test.tssrc/agents/subagents/registry/subagent-registry-sweeper.test-support.tso0213
src/agents/agent-tools.turn-authority.test.tssrc/agents/mcp-oauth-fetch.test.tssrc/agents/prepared-tool-surface.test.tssrc/agents/sandbox-media-paths.test.tssrc/agents/code-mode-state.test.tssrc/agents/code-mode.bridge.test.tssrc/agents/code-mode.bridge.tts-delivery.test.tssrc/agents/core-coding-tools.linked-worktrees.test.tssrc/agents/mcp-oauth-provider.preparation.test.tssrc/agents/mcp-oauth-writes.test.tssrc/agents/model-fallback.overflow-recovery.test.tso0216
src/gateway/server-methods/agent-session-patch.test.tssrc/gateway/server-methods/backup.test.tssrc/gateway/server-methods/cron.list-plugin-command.test.tssrc/gateway/server-methods/cron.scratch-read.test.tssrc/gateway/server-methods/devices.test-support.tssrc/gateway/server-methods/session-catalog-provider-diagnostics.test.tso0218
src/agents/sessions/agent-session.context-usage.test.tssrc/agents/sessions/session-manager-async-message-custody.test.tssrc/agents/sessions/session-manager-code-mode-store.test.tssrc/agents/sessions/system-prompt-pool.retention.test-support.tssrc/agents/sessions/agent-session-compaction-boundary.test.tssrc/agents/sessions/agent-session-compaction.provider-boundary.test.tssrc/agents/sessions/session-manager-target-capture.test.tso0217
src/process/child-memory.test.tssrc/process/darwin-process-inspection.test.tssrc/process/decoded-output.test.tssrc/process/exec-termination.liveness.test.tssrc/process/gateway-work-admission.continuation.test.tssrc/process/command-process-custody.process.test.tssrc/process/exec-adopted-reaping.test.tssrc/process/respawn-child-runner.test.tso0219
ui/src/e2e/chat-flow-fixtures.test-support.tsui/src/e2e/sidebar-assertions.test-support.tsui/src/e2e/typography-module-boundaries.test-support.tso0221
ui/src/pages/agents/file-status.test.tsxui/src/pages/agents/identity-status.test.tsxui/src/pages/agents/panel-channels.test.tsxui/src/pages/agents/panels-skills.browser.test.tsui/src/pages/agents/skills.test.tso0220
extensions/codex/src/app-server/attempt-steering.confirmation.test-support.tsextensions/codex/src/app-server/shared-client-compaction-retention.test-support.tsextensions/codex/src/app-server/rate-limit-cache.test.tsextensions/codex/src/app-server/settled-turn-prior-context.test.tsextensions/codex/src/app-server/transport-spawn.test.tsReview resolution
Restored the entire ClawHub Claw trust and tool-schema projection files to pinned main, retaining suspicious-package consent and malformed-schema/sibling isolation cases. These files are no longer part of the final diff. The table above is recomputed from the final retained diff.
The original provenance consolidation was subsequently dropped after its moved budget test failed CI. Four other findings rejected with current-source evidence: OAuth one-time consume remains in
mcp-oauth-store.test.ts:118-120; busy-owner loss and custody remain inupdate-command-doctor-delegation.test.ts; unrelated-child isolation remains inchild-process-tree.reaping.test.tsandservice-child-subreaper.real.test.ts; pre-ack abort and pending-entry cleanup remain inattempt-steering.test.ts:400-418.CI repair
Run 40289629581 exposed batch-caused failures. Restored the route table, session write-hold, tool-result replay, native provenance/observation, and reconciliation/metadata-read families to pinned main rather than weaken their assertions. Kept the supported separate export for the XAI hoisted fixture and documented the credential/network isolation of two mocks. Restored the provenance inventory entries. Every corrective delta passed plain oxlint where applicable, formatting, diff-check, and isolated review. The mock annotation additionally made one exact baseline tuple stale; removed only the tuple printed by CI (shrink-only). Fresh-head core test-type jobs passed on 3d193a0.
Run 40292433487 exposed two more batch-caused lint failures: an async native HTTP callback violated the void handler contract, and a method shorthand changed the inferred binding contract of existing destructured update helpers. Restored both complete files to pinned main. The correction passed format, plain oxlint, diff-check, and isolated P0–P2 review; no local tests or typechecks ran.
Run 40297145653 reported Telegram recovered-artifact setup timeout, requester-wake ordering, native-hook CLI version mismatch, Codex compaction ownership, catalog first-page delivery, and command-ownership SQLite conflict. Read each failed job log once. Restored the shared registry-state fixture without changing any failing test, timeout, assertion, or skip. Isolated P0–P2 correction review is scoped-clean. Scheduled main run 40294882381's failed test logs contain no matching signature, so none of those failures is waived. Rebased to incorporate #184427; fresh-head CI remains the proof and any remaining failures require reclassification.
Settlement result
Head
a87a5e2df886f3970e90d032c8cac316b6fc9ac0completed CI run 40304203935 and one failed-job rerun. Requester-wake, catalog first-page delivery, command ownership, native-hook pressure, dispatch, and PR-context checks now pass. Two test jobs remain red:apply_patchcustom tool. The same assertion fails on both attempts. The test is identical on old base, PR head, and refreshed main92415c1e5fe71a311d6a3f72cf66b139d6d2df26. Failed test logs from the three recent scheduled main CI runs (40302156926, 40294882381, 40288296632) contain no matching signature. This is not waived; no clean-main reproduction is claimed.Auto-merge is disabled because the Telegram failure is not proven pre-existing. No admin merge, second rerun, local tests/typechecks, or leases. No assertion, timeout, skip, or unrelated failing test was changed. Landing remains blocked on a repair or matching scheduled-main proof for the Telegram assertion.