Skip to content

test(agents,gateway,channels,infra): remove low-value tests (batch d004) - #166566

Merged
steipete merged 11 commits into
mainfrom
tcr/land-d004-1791367714
Oct 7, 2026
Merged

steipete merged 11 commits into
mainfrom
tcr/land-d004-1791367714

Conversation

@steipete

@steipete steipete commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The agent, Gateway, channel ingress, and heartbeat suites contain redundant variants and split fixtures that add maintenance cost without distinct behavior coverage.

User Impact

Internal test cleanup only; no production behavior, API, configuration, or storage changes. This batch removes duplicate cases and consolidates retained lifecycle, authority, isolation, and regression coverage into existing test owners.

Why This Change Was Made

Replays ten coverage-gated campaign shards onto main at de38a04548251cbd6cc7e190c1470412c077908b. All ten source commits are applied; none are skipped. Removed-file routing entries and mock-baseline entries shrink with their corresponding test deletions.

One modify/delete conflict was resolved by retaining main's entire src/infra/heartbeat-runner.sender-prefers-delivery-target.test.ts. Commit 513871f9ca8 (#166362) had strengthened it to assert background reply destinations, so that deletion was dropped. A later rebase preserved the new Android notifications-event disabled-cadence case from #166522 while retaining the intended deletion of the older restart-sentinel duplicate. Six distinct contract assertions identified during review were restored in existing test owners; other shard hunks were retained. No production seam is removed.

Actual replay diff: production +0/-0 LOC; tests +3,734/-9,841 LOC (net -6,107); exclusive test support +121/-252 (net -131); test routing/baseline tooling +0/-13. Total +3,855/-10,106 (net -6,251) across 95 files. Current CODEOWNERS has no matching owned path in this diff.

Evidence

Final candidate: 08fd3f2519dad95b508dfa6771cb1211c77dcd2b (ten replay commits plus one focused review-restoration commit).

  • pnpm install --frozen-lockfile --prefer-offline: passed.
  • node_modules/.bin/oxfmt --write <changed files>, git diff --check, and plain node_modules/.bin/oxlint -c .oxlintrc.json <changed TS/JS files>: passed; oxlint exit 0.
  • Full batch review completed; six findings repaired, ten rejected with owner evidence below. Follow-up review of all seven restoration files is scoped-clean through P2.
  • Fresh rebased-head Blacksmith Testbox proof: 907 tests passed across all 67 focused test files, eight Vitest shards, 335.91 seconds. This includes the retained sender/destination regression, all six review restorations, and main's new notification-wake case. Proof runner, lease tbx_01m4b2ehfhsha7mfwkqj81kpsj.
  • The same remote invocation ran OPENCLAW_TESTBOX=1 node scripts/check-changed.mjs -- <all 95 changed paths> with the remote-child flags. Its preliminary checks passed, and the full core test-type check failed only on ui/src/components/terminal/terminal-panel-fonts.test.ts(56,5): TS2353, where signal is absent from the connection-controller parameter type. Later changed-gate steps were not reached; this is not a full green check:changed claim.
  • Both prior-head CI failures were independently reproduced on clean detached main 19cc8e6568f28df938905306fee31d1082478d98: the identical terminal-font type error and the missing terminal-fonts.e2e.test.ts private-server ownership entry. The failing files and their owners are outside this diff. Exact commands and main proof.
  • Prior-head hosted CI passed every changed-test job and all batch-related type/lint graphs. Fresh CI is required for this rebased head. The authorized pre-existing-failure exception applies only if its remaining failures match the proven main failures; no assertions, timeouts, or checks were weakened.
  • Initial Testbox queue/source-preparation delays and an AWS sync stall were recorded and their leases stopped. The fresh rebased-head Testbox run above closes the earlier focused-test infrastructure gap.

The coverage figures below are the completed in-shard before/after measurements, not a new whole-batch coverage claim. Every shard's statement and branch loss is below 1%. The originally stale w1042/w1046 handoffs were reconciled against their later successful recovery runs. Their final full changed-file checks had not completed during shard recovery; batch validation is recorded above. w1046's completed comparison loses six statements in src/infra/outbound/targets.ts; its aggregate losses remain 0.182% statements and 0.389% branches. Cases protecting the original Telegram topic/plain-chat routing assertions were restored before the final shard coverage run.

Several shard reports record unsupported case-level coverage comparisons or transformed-source mismatches and use source-review fallback. Their aggregate coverage comparisons completed. Declaration targets were not forced by removing distinct authority, ordering, or regression cases.

Review follow-through

The initial review raised 16 potential gaps. Six were accepted and repaired: account-scoped heartbeat allowlists, loopback-port-stable resume hashes, fresh WHAM cooldown mapping, heap-profile/snapshot authorization, malformed approval request scopes, and placement claim redaction. The remaining ten were rejected after tracing retained tests to their production owners:

  • Default MCP policy: native-mcp-policy.test.ts retains default allow/deny proof; CLI adapter tests retain each projection.
  • Credential-provenance variants: retained mismatch/cleared/degraded cases exercise shared matching, reference, and value guards in auth-profiles/oauth.ts.
  • Missing explicit pins: session-override.selection.test.ts retains actual profile deletion with healthy siblings; missing personal-owner isolation remains in session-override.user-link.test.ts.
  • Gateway-owner variant: both account locators use the same identity-scoped storage/filtering; store-update.test.ts retains real gateway-owner locator proof.
  • Gemini search variants: bundle-mcp.gemini.test.ts retains actual settings-file exclusion; bundle-mcp.test.ts retains the shared provider-pin decision.
  • MEDIA URL variants: src/media/parse.test.ts retains private/loopback rejection and chat.directive-tags.test.ts retains Gateway RFC1918 handling through that parser.
  • Environment preparation policy: server-methods-list.test.ts explicitly asserts admin scope, sidecar startup gating, registration, and control-plane write classification.
  • Suggestion author visibility: sessions-suggestions.visibility.test.ts retains exact Alice/Bob filtering through real request dispatch.
  • Suggestion rollback: retained durable release assertions and definite chat-rejection release cases cover the same !dispatched.ok release owner.
  • Async ingress identity: both inspector forms reach the same awaited identity guard; ingress-monitor.test.ts retains lane mismatch/dead-letter proof and the admission suite retains delayed cancellation and null-result rejection.
Per-shard replay accounting, coverage totals, and changed files

Declaration counts below cover each replay commit's touched test files, so unchanged shard files are excluded. Test-support declarations are counted separately. LOC deltas are from the actual replay on main.

Shard Declarations before -> after Test LOC added/deleted Net test LOC
w1026 105 -> 71 (-34) +86/-914 -828
w1039 82 -> 74 (-8) +109/-306 -197
w1043 91 -> 67 (-24) +451/-1057 -606
w1040 94 -> 81 (-13) +204/-670 -466
w1042 86 -> 64 (-22) +886/-1484 -598
w1045 79 -> 64 (-15) +226/-843 -617
w1044 97 -> 74 (-23) +836/-2047 -1211
w1046 93 -> 82 (-11) +296/-590 -294
w1041 85 -> 55 (-30) +417/-1396 -979
w1047 47 -> 38 (-9) +223/-534 -311

w1039 additionally removes two declarations and 130 LOC from its exclusive test helper. w1041 removes one unused test-helper re-export (net -1 LOC). w1046 retains main's strengthened destination regression, reducing the deletion by one declaration and 60 original shard lines.

w1026

covered statements 7316 -> 7315 (-1); branches 4632 -> 4629 (-3); functions 1367 -> 1367 (0)

Files: config/test-mock-exports-baseline.txt, scripts/lib/ci-proof-test-inventory.mts, src/agents/agent-tool-definition-adapter.after-tool-call.fires-once.test.ts, src/agents/agent-tool-definition-adapter.after-tool-call.test.ts, src/agents/agent-tool-definition-adapter.logging.test.ts, src/agents/agent-tool-definition-adapter.test.ts, src/agents/context.eager-warmup.test.ts, src/agents/context.lookup.test.ts, src/agents/context.test.ts, src/agents/prepared-model-catalog.scoped-thinking.test.ts, src/agents/prepared-model-catalog.test.ts.

w1039

covered statements 22688 -> 22682 (-6); branches 15885 -> 15879 (-6); functions 4303 -> 4301 (-2)

Files: src/agents/embedded-agent-runner/run-entry.failures.test-support.ts, src/agents/embedded-agent-runner/run-entry.test.ts, src/agents/embedded-agent-runner/run-orchestrator.projection.test.ts, src/agents/embedded-agent-runner/run-orchestrator.suspension.test.ts, src/agents/embedded-agent-runner/runs.steering.test.ts, src/agents/embedded-agent-runner/runs.test.ts, src/agents/embedded-agent-runner/tool-result-context-guard.image.test.ts, src/agents/embedded-agent-runner/tool-result-context-guard.prepared-counts.test.ts, src/agents/embedded-agent-runner/tool-result-context-guard.test.ts.

w1043

covered statements 7237 -> 7235 (-2); branches 5360 -> 5350 (-10); functions 1047 -> 1046 (-1)

Files: scripts/lib/ci-proof-test-inventory.mts, src/gateway/server-methods/environments.node-command-authority.test.ts, src/gateway/server-methods/environments.pool.test.ts, src/gateway/server-methods/environments.prepare.test.ts, src/gateway/server-methods/environments.test.ts, src/gateway/server-methods/plugin-approval.scope.test.ts, src/gateway/server-methods/plugin-approval.test.ts, src/gateway/server-methods/session-catalog.home-isolation.test.ts, src/gateway/server-methods/session-catalog.session-share.test.ts, src/gateway/server-methods/session-catalog.test.ts.

w1040

covered statements 7468 -> 7468 (0); branches 5254 -> 5254 (0); functions 1335 -> 1335 (0)

Files: src/agents/cli-runner/bundle-mcp.codex.test.ts, src/agents/cli-runner/bundle-mcp.gemini.test.ts, src/agents/cli-runner/bundle-mcp.resume.test.ts, src/agents/cli-runner/bundle-mcp.test.ts, src/agents/cli-runner/bundle-mcp.user-config.test.ts, src/agents/cli-runner/bundle-mcp.web-search.test.ts, src/agents/cli-runner/execute.pending-cancellation.test.ts, src/agents/cli-runner/execute.supervisor-capture.test.ts.

w1042

covered statements 1104 -> 1104 (0); branches 719 -> 718 (-1); functions 243 -> 243 (0)

Files: src/channels/message/ingress-monitor.admission.test.ts, src/channels/message/ingress-monitor.capacity.test.ts, src/channels/message/ingress-monitor.inspection.test.ts, src/channels/message/ingress-monitor.shutdown.test.ts, src/channels/message/ingress-monitor.test.ts, src/channels/message/ingress-queue.dead-letters.test.ts, src/channels/message/ingress-queue.pruning.test.ts, src/channels/message/ingress-queue.read-only-access.test.ts, src/channels/message/ingress-queue.test.ts, test/vitest/vitest.database-worker-core-paths.mjs.

w1045

covered statements 5277 -> 5277 (0); branches 3634 -> 3633 (-1); functions 1032 -> 1032 (0)

Files: config/test-mock-exports-baseline.txt, src/agents/agent-model-discovery.auth.test.ts, src/agents/agent-model-discovery.endpoint.test.ts, src/agents/agent-model-discovery.membership.test.ts, src/agents/bash-tools.exec-runtime.cleanup.test.ts, src/agents/bash-tools.exec-runtime.test.ts, src/agents/models-config.providers.auth-provenance.test.ts, src/agents/sandbox.context.github-identity.test.ts, src/agents/sandbox.resolveSandboxContext.test.ts.

w1044

covered statements 9313 -> 9317 (+4); branches 6228 -> 6208 (-20); functions 1661 -> 1662 (+1)

Files: config/test-mock-exports-baseline.txt, src/gateway/server-methods/chat-reply-media.authority.test.ts, src/gateway/server-methods/chat-reply-media.test.ts, src/gateway/server-methods/chat-reply-media.workspace.test.ts, src/gateway/server-methods/diagnostics.cpu-profile.test.ts, src/gateway/server-methods/diagnostics.heap-profile.test.ts, src/gateway/server-methods/diagnostics.heap-snapshot.test.ts, src/gateway/server-methods/diagnostics.test.ts, src/gateway/server-methods/session-change-event.fallback.test.ts, src/gateway/server-methods/session-change-event.prepared.test.ts, src/gateway/server-methods/session-change-event.test.ts, src/gateway/server-methods/sessions-suggestions.provider-review.test.ts, src/gateway/server-methods/sessions-suggestions.store-binding.test.ts, src/gateway/server-methods/sessions-suggestions.test.ts, src/gateway/server-methods/sessions-suggestions.visibility.test.ts.

w1046

covered statements 8234 -> 8219 (-15); branches 5405 -> 5384 (-21); functions 1559 -> 1555 (-4)

Files: src/infra/heartbeat-runner.ack-token-heartbeat-acks.test.ts, src/infra/heartbeat-runner.broadcast-outcomes.test.ts, src/infra/heartbeat-runner.event-ownership.test.ts, src/infra/heartbeat-runner.exact-session-busy.test.ts, src/infra/heartbeat-runner.identity.test.ts, src/infra/heartbeat-runner.isolated-key-stability.test.ts, src/infra/heartbeat-runner.model-override.test.ts, src/infra/heartbeat-runner.response-prefix-template.test.ts, src/infra/heartbeat-runner.returns-default-unset.test.ts, src/infra/heartbeat-runner.scheduler.test.ts, src/infra/heartbeat-runner.session-created.test.ts, src/infra/heartbeat-runner.session-state.test.ts, src/infra/heartbeat-runner.settings.test.ts.

w1041

covered statements 5671 -> 5684 (+13); branches 3982 -> 3995 (+13); functions 1080 -> 1083 (+3)

Files: src/agents/auth-profiles/session-override.agent-scope.test.ts, src/agents/auth-profiles/session-override.rotation.test.ts, src/agents/auth-profiles/session-override.selection.test.ts, src/agents/auth-profiles/session-override.test-support.ts, src/agents/auth-profiles/session-override.test.ts, src/agents/auth-profiles/session-override.user-pin.test.ts, src/agents/auth-profiles/usage.inherited-owner.test.ts, src/agents/auth-profiles/usage.test.ts.

w1047

covered statements 11661 -> 11653 (-8); branches 6804 -> 6789 (-15); functions 2079 -> 2076 (-3)

Files: src/agents/prepared-model-runtime.cancelled-admission.test.ts, src/agents/prepared-model-runtime.reload-auth-adoption.test.ts, src/agents/prepared-model-runtime.reload-auth.test.ts, src/agents/prepared-model-runtime.remote-publication.test.ts, src/agents/prepared-model-runtime.sources.test.ts, test/vitest/vitest.database-worker-core-paths.mjs.

@clawsweeper

clawsweeper Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@steipete
steipete enabled auto-merge (squash) October 7, 2026 11:02
@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime scripts Repository scripts docker Docker and sandbox tooling agents Agent runtime and tooling size: XL labels Oct 7, 2026
@steipete
steipete disabled auto-merge October 7, 2026 11:09
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 7, 2026
@clawsweeper

clawsweeper Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed October 7, 2026, 8:22 AM ET / 12:22 UTC (Revision 2).

ClawSweeper review

What this changes

The branch removes redundant agent, Gateway, channel-ingress, and heartbeat tests, moves retained coverage into existing suites, and shrinks associated test inventories.

Merge readiness

⛔ Blocked before merge - 3 items remain

The cleanup remains useful and is not superseded by current main. No blocking defect was identified in the inspected consolidations and restored boundary coverage; this review does not establish exhaustive equivalence for every deleted case.

Priority: P3
Reviewed head: 08fd3f2519dad95b508dfa6771cb1211c77dcd2b

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful test maintenance with concrete restored contracts and reported focused validation; no blocking defect was found in the inspected scope.
Proof confidence 🌊 off-meta tidepool Not applicable: The supplied repository state identifies trusted authorship, and this patch changes tests and their inventories rather than production behavior. Focused Testbox results are supplemental validation; no stored-data contract changes require upgrade proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The supplied repository state identifies trusted authorship, and this patch changes tests and their inventories rather than production behavior. Focused Testbox results are supplemental validation; no stored-data contract changes require upgrade proof.
Evidence reviewed 9 items Pinned introduced scope: The complete introduced file list contains tests, exclusive test support, and test-inventory reductions. It does not introduce production configuration, APIs, schema changes, dependencies, or workflow execution changes.
Captured discussion identity: The complete GitHub body was inspected, including the previously omitted shard accounting. Its SHA-256 matches the supplied snapshot identity a19463c5b3298c0a5a1f679d7a0aa3fe0d66e8a7985aa09120ed68e49f56baa5. It records six repaired coverage gaps and concrete owner-based explanations for ten rejected concerns.
Review restorations: The exact-head restoration patch reinstates account-scoped heartbeat allowlists, loopback-port-stable resume hashes, fresh cooldown mapping, heap diagnostics authorization, malformed approval scopes, and placement claim redaction in existing test owners.
Findings None None.
Security None None.

How this fits together

These suites check how OpenClaw admits agent work, handles Gateway requests, queues channel messages, and schedules heartbeat turns. The cleanup changes test coverage and test selection without changing the production implementations.

flowchart TD
  A[Agent and Gateway scenarios] --> C[Retained owner tests]
  B[Channel and heartbeat scenarios] --> C
  C --> D[Production boundaries]
  E[Test inventories] --> F[CI test selection]
  C --> F
  F --> G[Validation results]
Loading

Before merge

  • Resolve review confidence - ClawSweeper must reach high confidence before merge readiness is known.
  • Review config compatibility - Confirm compatibility and upgrade impact for the changed config or default surface before merge.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

None.

Stored data model

Persistent data-model change detected: unknown-truncated-pull-files. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Keep meaningful lifecycle, isolation, authorization, and regression assertions in their canonical test owners while removing redundant fixtures.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this PR addresses test redundancy rather than a reported runtime defect; no runtime reproduction was attempted.

Is this the best way to solve the issue?

Yes for the inspected consolidations: moving retained assertions into existing owner suites avoids competing fixtures, and the six repaired boundary contracts are present.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 1b395594318b.

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is internal test maintenance with no introduced production behavior change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The supplied repository state identifies trusted authorship, and this patch changes tests and their inventories rather than production behavior. Focused Testbox results are supplemental validation; no stored-data contract changes require upgrade proof.

Evidence

What I checked:

  • Pinned introduced scope: The complete introduced file list contains tests, exclusive test support, and test-inventory reductions. It does not introduce production configuration, APIs, schema changes, dependencies, or workflow execution changes. (08fd3f2519da)
  • Captured discussion identity: The complete GitHub body was inspected, including the previously omitted shard accounting. Its SHA-256 matches the supplied snapshot identity a19463c5b3298c0a5a1f679d7a0aa3fe0d66e8a7985aa09120ed68e49f56baa5. It records six repaired coverage gaps and concrete owner-based explanations for ten rejected concerns. (08fd3f2519da)
  • Review restorations: The exact-head restoration patch reinstates account-scoped heartbeat allowlists, loopback-port-stable resume hashes, fresh cooldown mapping, heap diagnostics authorization, malformed approval scopes, and placement claim redaction in existing test owners. (src/gateway/server-methods/session-change-event.test.ts:304, 08fd3f2519da)
  • Verified merge composition: Raw test-merge parent records identify the pinned main followed by the exact PR head. Comparison with that main parent leaves the sender/destination regression unchanged and retains the Android notifications-event disabled-cadence case. The related merged fixes are fix: stop repeated browser replies after background child work #166362 and fix(heartbeat): deliver Android notification wakes when heartbeat.every is 0m #166522. (src/infra/heartbeat-runner.scheduler.test.ts:476, 7cdad82f8b73)
  • Routing residue does not select a missing test: One deleted response-prefix test remains named in the protected inventory, but the test planner filters selected paths through an isFile check. This residue does not establish a CI regression; the prefix scenarios were moved into the acknowledgement suite. (scripts/lib/ci-changed-node-test-plan.mts:563, 08fd3f2519da)
  • Validation and inherited failures: The captured body reports 907 passing tests across 67 focused files in 335.91 seconds on the final candidate and explicitly avoids claiming a fully passing changed-file gate. The supplied human comment independently attributes the terminal-font type error and private-server inventory failure to clean main: test(agents,gateway,channels,infra): remove low-value tests (batch d004) #166566 (comment). The linked Testbox workflow is cancelled, so its workflow conclusion is not independent confirmation of the reported remote command results. (08fd3f2519da)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Jay Zhou: Raw commit de38a04 adds src/infra/heartbeat-runner.scheduler.test.ts:476 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: de38a0454825; files: src/infra/heartbeat-runner.scheduler.test.ts)
  • shakkernerd: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-10-07T11:08:31.023Z sha 2fca29d :: blocked before merge. :: none

@steipete

steipete commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor Author

Fresh CI on the final rebased head 08fd3f2519dad95b508dfa6771cb1211c77dcd2b is complete: run 37619647769. All 11 changed-test jobs and all type/lint jobs passed. The only remaining red job is checks-node-compact-small-10 (plus its aggregate gate), with the same private-server ownership failure reproduced below. The failing test, ownership helper/config, and UI E2E files are unchanged between the tested main revision and current main. This qualifies for the explicitly authorized campaign pre-existing-failure merge exception.

The earlier terminal-font signal type error was fixed separately on main by 1d10375ee56; the fresh PR typecheck is green. The fresh focused Testbox run also passed 907 tests in 67 files in 335.91 seconds (runner).

CI for the initially submitted head 2fca29d9c6fbc550fa61796e1054fa1b8a64a9b1 completed: all changed-test jobs and the batch-related type/lint graphs passed. The CI run has two underlying failures, plus their aggregate CI gate.

Both failures were reproduced independently from a clean, detached checkout of main at 19cc8e6568f28df938905306fee31d1082478d98 on Blacksmith Testbox tbx_01m4b12x7c228sk368pdst0q5x (proof runner). The checkout SHA and empty tracked/untracked status were verified before each command; no batch patch was applied to that checkout.

  1. checks-node-compact-small-10: test/scripts/ci-workflow-guards.test.ts / “keeps private Control UI servers and resource-sensitive files under one serial owner” fails with the same 52-versus-51 inventory difference: ui/src/e2e/terminal-fonts.e2e.test.ts is missing from the declared private-server owner list. The clean-main focused test exits 1.
  2. check-test-types-core-2: ui/src/components/terminal/terminal-panel-fonts.test.ts(56,5) produces the identical TS2353: the object literal passes signal, which is absent from the connection-controller parameter type. The exact --stripe 2/5 --concurrency 2 command exits 2 on clean main; its other five type graphs pass.

Clean-main commands:

CI=1 pnpm test test/scripts/ci-workflow-guards.test.ts -t 'keeps private Control UI servers and resource-sensitive files under one serial owner'
CI=1 OPENCLAW_CI_STATIC_EVIDENCE=1 node scripts/run-tsgo-core-test-shards.mjs --stripe 2/5 --concurrency 2

The failing tests, UI implementation, UI type configuration, and private-server ownership config are outside this batch's diff. No timeout, retry, assertion, or check was weakened. These are separate main repairs under the authorized campaign pre-existing-failure exception.

The initial independent review's six accepted coverage findings were repaired; the restoration review is clean through P2. The automated review also reports no actionable finding. Its generic config/storage compatibility checklist is driven by unknown-truncated-pull-files; inspection of the complete 95-file diff confirms test/test-support changes and shrink-only test-routing/baseline entries, with no production configuration or stored-data change.

@steipete
steipete force-pushed the tcr/land-d004-1791367714 branch from 2fca29d to 08fd3f2 Compare October 7, 2026 12:14
@steipete
steipete enabled auto-merge (squash) October 7, 2026 12:15
@steipete
steipete disabled auto-merge October 7, 2026 12:24
@steipete
steipete merged commit 34caa05 into main Oct 7, 2026
132 of 135 checks passed
@steipete
steipete deleted the tcr/land-d004-1791367714 branch October 7, 2026 12:33
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 8, 2026
…04) (openclaw#166566)

* test(agents): deslop w1026 tests

* test(agents): deslop w1039 tests

* test(gateway): deslop w1043 tests

* test(cli-runner): deslop w1040 tests

* test(channels): deslop w1042 tests

* test(agents): deslop w1045 tests

* test(gateway): deslop w1044 tests

* test(infra): deslop w1046 tests

* test(auth-profiles): deslop w1041 tests

* test(agents): deslop w1047 tests

* test: retain distinct boundary coverage in batch d004
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docker Docker and sandbox tooling gateway Gateway runtime P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant