Skip to content

test(agents,gateway,plugins): remove low-value tests (batch d011) - #166818

Merged
steipete merged 14 commits into
mainfrom
tcr/land-d011-1791408462
Oct 8, 2026
Merged

steipete merged 14 commits into
mainfrom
tcr/land-d011-1791408462

Conversation

@steipete

@steipete steipete commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

What Problem This Solves

The test suite repeats fixture setup and cases already protected by stronger owner tests. Batch d011 consolidates ten campaign shards and removes those redundant replays while preserving distinct authorization, recovery, lifecycle, and platform contracts.

User Impact

No runtime behavior, public API, configuration, or storage change. The final candidate removes 115 test declarations and 3,538 net lines across 99 files. Runtime production LOC is unchanged; tests are +5,877/-9,402 (net -3,525), test support +1/-1, and test routing/configuration +3/-16 (net -13).

Why This Change Was Made

All ten selected commits are replayed onto main at 40d735e451b19b939a0a4289096d7cd89a8f7812; none are skipped. The final base refresh was conflict-free and git range-diff confirmed all 14 commits were patch-identical. Testbox proof below ran on the earlier 961f5c0b709962bd1338edb4d71559583fbd4f2f base; hosted CI validates the refreshed head. The cleanup consolidates retained cases and removes obsolete inventory entries. Independent review led to retaining or strengthening 52 distinct contracts; nine duplicate findings were rejected using their existing primary-owner tests and shared implementation.

Replay and review resolutions:

  • Keep main's entire server.sessions.recover.test.ts after the one Git conflict: its asynchronous placement reader already exists after 83a95401fb8, so the redundant campaign fixture extraction is dropped.
  • Preserve main's database-byte and empty-WAL assertions from fix(cli): keep concurrent Gateway calls authenticated #166523 (7a75498beb6) in the moved device-auth test. The original campaign directory-listing assertion predates that change.
  • Retarget Windows CI, its package-script contract, and its timing entry to the surviving workspace-mutations owner. Retarget protected transport-test routing and the lane assertion to the consolidated transport suite.
  • Keep requireArray private in the list-change test helper: the consolidation removed its external test consumer, while findSession still needs the local helper.
  • Retain the distinct security, crash/WAL recovery, Git index-extension, capacity, clock-change, provider-auth, and plugin lifecycle cases identified during review. These are deliberately excluded from the final reduction. No production seam was removed.

No changed path matches the current CODEOWNERS file. The mock-export baseline edit is shrink-only. Historical Bun qualification hashes remain intact; changed or missing test bytes use the existing Vitest fallback.

Evidence

Local frozen installation, targeted oxfmt, plain oxlint (exit 0), and whitespace checks passed.

On Blacksmith Testbox run 37690699186, all originally surviving changed-test targets and their routing owners obtained passing results across the repaired focused runs. The final follow-up run before review restorations passed 576 tests with two existing skips. Initial failures from the stale Windows test path and superseded SQLite assertion were repaired and passed their reruns.

The full changed-file gate on d0f862d5753 passed core, extension, script, and root-test typechecks plus its initial guards. Its full-tree unused-export scan found the obsolete requireArray export; that export is now private. The gate did not reach its later lint stages.

Infrastructure gap: the final focused restoration tests followed by the full changed-file rerun could not start: Testbox reported Blacksmith Testbox has finished; create a new lease. Thus the latest review-retention edits and private-helper repair have local formatting/plain-lint proof, but their final Testbox rerun is unexecuted. Hosted openclaw/ci-gate remains the merge gate under the campaign infrastructure-gap rule. Both task leases are stopped/completed: tbx_01m4c4btf6vq3a4p9001t46pqp and tbx_01m4c4s5qdnm3w11nfdrj85nbr. The final independent review continues alongside hosted CI; actionable findings will disable auto-merge for repair.

Commands used: pnpm install --frozen-lockfile --prefer-offline; node_modules/.bin/oxfmt --write <changed files>; node_modules/.bin/oxlint -c .oxlintrc.json <changed TS/JS files>; git diff --check origin/main; the repository Crabbox wrapper with CI=1 pnpm test <focused files> and OPENCLAW_TESTBOX=1 node scripts/check-changed.mjs --base 961f5c0b709962bd1338edb4d71559583fbd4f2f -- <changed paths>.

The table counts only test files changed by this final replay; unchanged files are excluded. Declaration counts do not expand parameterized rows. The coverage totals are the original in-shard measurements, preceding current-main replay and review retention restores, not newly measured coverage of this head. Each original covered-statement/branch loss is within 1%. The w1101 coverage comparison is a passing subset: receipt-retirement, recovery-generations, and recovery-shared-owners were excluded after seven inherited failures. Several historical changed-file checks were interrupted, and unsupported per-case attribution used the campaign's source/owner-test fallback. Those historical limitations are not presented as current-head passing proof.

Shard Touched test LOC (before -> after) Declarations (before -> after)
w1012 7065 -> 6644 (-421) 134 -> 120 (-14)
w1105 3498 -> 3073 (-425) 74 -> 59 (-15)
w1106 2805 -> 2528 (-277) 62 -> 52 (-10)
w1095 3023 -> 2852 (-171) 78 -> 73 (-5)
w1102 2186 -> 1809 (-377) 56 -> 41 (-15)
w1103 1626 -> 1506 (-120) 32 -> 25 (-7)
w1101 4788 -> 4194 (-594) 57 -> 52 (-5)
w1104 1382 -> 795 (-587) 76 -> 45 (-31)
w1099 2786 -> 2502 (-284) 43 -> 36 (-7)
w1100 2792 -> 2523 (-269) 70 -> 64 (-6)
Per-shard files and original coverage totals

w1012

covered statements 4364 -> 4364 (0); branches 2292 -> 2291 (-1); functions 799 -> 799 (0)
  • scripts/lib/ci-proof-test-inventory.mts
  • scripts/lib/vitest-shard-metadata.mts
  • src/agents/worktrees/service.acceleration.test.ts
  • src/agents/worktrees/service.canonical-paths.test.ts
  • src/agents/worktrees/service.capacity.test.ts
  • src/agents/worktrees/service.configured-root.test.ts
  • src/agents/worktrees/service.diagnostics.test.ts
  • src/agents/worktrees/service.eviction-nesting.test.ts
  • src/agents/worktrees/service.eviction.test.ts
  • src/agents/worktrees/service.exact-state-races.test.ts
  • src/agents/worktrees/service.exact-state.test.ts
  • src/agents/worktrees/service.gc-maintenance.test.ts
  • src/agents/worktrees/service.gc-performance.test.ts
  • src/agents/worktrees/service.gc.test.ts
  • src/agents/worktrees/service.naming.test.ts
  • test/vitest/vitest.database-worker-core-paths.mjs

w1105

covered statements 1171 -> 1171 (0); branches 747 -> 747 (0); functions 207 -> 207 (0)
  • src/commands/models/auth.test.ts
  • src/commands/models/list.probe.resources.test.ts
  • src/commands/models/list.probe.targets.test.ts
  • src/commands/models/list.probe.test.ts

w1106

covered statements 1654 -> 1654 (0); branches 936 -> 936 (0); functions 308 -> 308 (0)
  • extensions/buzz/src/buzz-bus.history-catchup.test.ts
  • extensions/buzz/src/buzz-bus.mentions.test.ts
  • extensions/buzz/src/buzz-bus.profile-lifecycle.test.ts
  • extensions/buzz/src/buzz-bus.test.ts
  • extensions/buzz/src/buzz-bus.thread-mentions.test.ts
  • extensions/buzz/src/gateway.cold-start-recovery.test.ts
  • extensions/buzz/src/gateway.lifecycle.test.ts
  • extensions/buzz/src/gateway.test.ts
  • extensions/buzz/src/types.test.ts

w1095

covered statements 9336 -> 9307 (-29); branches 4714 -> 4682 (-32); functions 1537 -> 1532 (-5)
  • src/agents/agent-tools.read.host-operations.test.ts
  • src/agents/agent-tools.read.host-write-integrity.test.ts
  • src/agents/agent-tools.read.workspace-mutations.test.ts
  • src/agents/agent-tools.read.workspace-root-guard.test.ts
  • src/agents/isolated-completion.operator-model-policy.test.ts
  • src/agents/isolated-completion.test.ts
  • src/agents/isolated-completion.utility.test.ts
  • src/agents/provider-transport-fetch.headers.test.ts
  • src/agents/provider-transport-fetch.sse.test.ts
  • src/agents/provider-transport-fetch.test.ts
  • src/agents/isolated-completion.plugin-scope.test.ts

w1102

covered statements 2204 -> 2204 (0); branches 1522 -> 1521 (-1); functions 352 -> 352 (0)
  • config/test-mock-exports-baseline.txt
  • extensions/feishu/src/bot.bot-threads.test.ts
  • extensions/feishu/src/bot.broadcast.test.ts
  • extensions/feishu/src/send.reply-fallback.test.ts
  • extensions/feishu/src/send.retry.test.ts
  • extensions/feishu/src/send.test.ts
  • extensions/feishu/src/send.thread-history.test.ts

w1103

covered statements 26994 -> 26924 (-70); branches 16775 -> 16713 (-62); functions 5173 -> 5164 (-9)
  • src/gateway/server.plugin-http-auth.test.ts
  • src/gateway/server.plugin-http-role-scopes.test.ts
  • src/gateway/server-http.probe.test.ts

w1101

covered statements 2520 -> 2520 (0); branches 1710 -> 1710 (0) [passing subset]
  • scripts/lib/ci-command-test-plan.mts
  • scripts/lib/ci-proof-test-inventory.mts
  • src/commands/doctor-session-sqlite.receipt-recovery.test.ts
  • src/commands/doctor-session-sqlite.recovery.test.ts
  • src/commands/doctor-session-sqlite.restore-history.test.ts
  • src/commands/doctor-session-sqlite.restore-paths.test.ts
  • src/commands/doctor-session-sqlite.restore-publication.test.ts
  • src/commands/doctor-session-sqlite.retained-source-verification.test.ts
  • src/commands/doctor-session-sqlite.retirement-disposal.test.ts
  • src/commands/doctor-session-sqlite.retirement-mutations.test.ts
  • src/commands/doctor-session-sqlite.retirement-verification.test.ts
  • src/commands/doctor-session-sqlite.shared-orphan.test.ts
  • src/commands/doctor-session-sqlite.source-conflict-recovery.test.ts
  • src/commands/doctor-session-sqlite.targets.test.ts

w1104

covered statements 1130 -> 1130 (0); branches 797 -> 796 (-1); functions 156 -> 156 (0)
  • packages/markdown-core/src/ir.block-metadata.test.ts
  • packages/markdown-core/src/ir.blockquote-spacing.test.ts
  • packages/markdown-core/src/ir.chunking.test.ts
  • packages/markdown-core/src/ir.dunder-identifiers.test.ts
  • packages/markdown-core/src/ir.emphasis-cjk.test.ts
  • packages/markdown-core/src/ir.fenced-content.test.ts
  • packages/markdown-core/src/ir.hr-spacing.test.ts
  • packages/markdown-core/src/ir.links.test.ts
  • packages/markdown-core/src/ir.metadata-work.test.ts
  • packages/markdown-core/src/ir.nested-lists.test.ts
  • packages/markdown-core/src/ir.raw-html.test.ts
  • packages/markdown-core/src/ir.table-block.test.ts
  • packages/markdown-core/src/ir.test.ts
  • packages/markdown-core/src/ir.text-edits.test.ts

w1099

covered statements 20575 -> 20558 (-17); branches 13172 -> 13154 (-18); functions 3839 -> 3837 (-2)
  • scripts/lib/ci-proof-test-inventory.mts
  • src/gateway/server.sessions.fast-mode-compat.test.ts
  • src/gateway/server.sessions.list-changed.test.ts
  • src/gateway/server.sessions.permission-root.test.ts
  • src/gateway/server.sessions.permissions-hooks.test.ts
  • src/gateway/server.sessions.placement-projection.test.ts
  • src/gateway/server.sessions.plugin-ownership.test.ts
  • src/gateway/server.sessions.preview-resolve.test.ts
  • src/gateway/server.sessions.list-changed.test-helpers.ts

w1100

covered statements 4991 -> 5000 (9); branches 2774 -> 2779 (5); functions 964 -> 966 (2)
  • src/infra/device-auth-store.test.ts
  • src/infra/device-auth-store.worker.test.ts
  • src/infra/session-event-wake.poll-disposition.test.ts
  • src/infra/session-event-wake.preemption.test.ts
  • src/infra/state-migrations.workspace-setup.multi-agent.test.ts
  • src/infra/state-migrations.workspace-setup.portable-move.test.ts
  • src/infra/state-migrations.workspace-setup.test.ts
  • src/infra/unhandled-rejections.fatal-detection.test.ts
  • src/infra/unhandled-rejections.plugin-sync-hooks.test.ts
  • src/infra/unhandled-rejections.test.ts
Rejected duplicate review findings

Retained proof: Feishu recovery in send.concurrent.test.ts; SDK error extraction and missing-ID partial delivery in send.reply-fallback.test.ts; single-object message parsing in send.test.ts; caller compare-and-delete in server.sessions.delete-state-lifecycle.test.ts; shared sync-hook rejection containment in unhandled-rejections.plugin-sync-hooks.test.ts through runSyncMessageHookStep; the common abort/throw handoff in session-event-wake.poll-disposition.test.ts; SIGTERM cancellation, deferred disposal, and lock/listener release in list.probe.resources.test.ts; and HEAD/non-read probe methods in server-http.probe.test.ts plus the real Gateway requests in server/plugin-legacy-listeners.test.ts. The preview maximum remains protected by session-display-projection.test.ts, and this batch strengthens the existing RPC test to prove forwarding of a smaller requested budget.

@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.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime scripts Repository scripts commands Command implementations agents Agent runtime and tooling channel: feishu Channel integration: feishu channel: buzz size: XL labels Oct 7, 2026
@steipete
steipete enabled auto-merge (squash) October 7, 2026 23:41
@clawsweeper

clawsweeper Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed October 7, 2026, 11:39 PM ET / October 8, 2026, 03:39 UTC (Revision 3).

ClawSweeper review

What this changes

The branch consolidates overlapping tests and redirects test inventories and Windows CI to the surviving suites.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful consolidation with supporting historical tests, but final-head validation and failure attribution remain incomplete.
Proof confidence 🦐 gold shrimp (3/6) Not applicable: The supplied repository state identifies maintainer-sponsored test maintenance, with no changed production owner or user-visible runtime behavior; historical focused runs support the cleanup but do not prove final-head validation.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes
Reason: Reducing repeated fixtures and redundant executions has clear maintenance value within an established owner-sponsored test-pruning effort.

Merge readiness

⛔ Blocked before merge - 5 items remain

This maintainer-sponsored cleanup remains useful. The earlier generic upgrade blocker is unsupported by the introduced changes, and no concrete patch defect was established in the reviewed consolidation paths; current-head validation still has an unattributed failure.

Priority: P3
Reviewed head: 3173158d4e6c390dec850bf4502be4b57aa4a661

Before merge

  • Resolve merge risk (P1) - The current-head Codex side-question test failure has not been attributed to the baseline, fixture ordering, or this diff; failed-check disposition remains unresolved.
  • Complete next step (P2) - Attribute the current-head side-question test failure against the pinned base and repair it only if this PR causes it, or record the supported inherited-failure disposition.
  • 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.

Findings

None.

Provenance

  • scripts/lib/ci-proof-test-inventory.mts and associated test routing: original intent not found (unknown: File history was readable, but git log -S and targeted blame could not read historical blobs; exact introduction of the selection entries was not established.)

Tests

  • Missing end-to-end proof: No shipped behavior changes require a new end-to-end scenario; final retention edits lack completed focused Testbox results, and current-head CI contains an unattributed failure.
Agent review details

How this fits together

OpenClaw’s test infrastructure selects regression suites for agents, Gateway services, plugins, and shared packages. These changes reorganize those suites and their CI selection without changing the shipped runtime.

flowchart TD
  A[Changed files] --> B[CI test selection]
  B --> C[Surviving owner suites]
  D[Consolidated regression cases] --> C
  C --> E[Test results]
  E --> F[Required CI gate]
Loading

Technical review

Best possible solution:

Keep distinct regressions with their existing owner suites and resolve the failing check through baseline comparison before normal CI-gated landing.

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

Not applicable to the cleanup itself. GitHub supplies a concrete current-head test failure, but this read-only review did not reproduce or establish its cause.

Is this the best way to solve the issue?

Yes for the reviewed consolidation approach: moving retained assertions into surviving suites and updating their existing selection owners avoids parallel implementations.

AGENTS.md: found and applied where relevant.

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

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep distinct regressions with their existing owner suites and resolve the failing check through baseline comparison before normal CI-gated landing.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Testing

Proof path: unit tests only. Added test files: 58.

Security

None.

Evidence

What I checked:

  • Pinned introduction scope: The complete local delta contains tests, test support, test inventories, a shrink-only mock baseline, and the Windows test script; no runtime source, public API, configuration schema, or storage writer changes were identified. (3173158d4e6c)
  • Review continuity: The preceding review reported no findings and a generic configuration/default compatibility concern. The package change only substitutes the surviving workspace-mutations test in the Windows CI command, so that historical concern does not establish an upgrade blocker. (package.json:2178, 3173158d4e6c)
  • Preserved transport selection: The protected runtime inventory selects provider-transport-fetch.test.ts after the header and stream suites are consolidated into it; the corresponding lane assertion is updated too. (scripts/lib/ci-proof-test-inventory.mts:1278, 3173158d4e6c)
  • Historical qualification fallback: Deleted Markdown test paths remain only in historical Bun qualification records. The qualification owner returns undefined for missing inputs and requires matching source hashes, preserving ordinary Vitest selection for changed tests. (scripts/lib/ci-test-runtime.mts:360, 3173158d4e6c)
  • Recent authentication contract retained: The consolidated device-token suite retains database-byte and empty-WAL assertions from the merged authentication repair at fix(cli): keep concurrent Gateway calls authenticated #166523. Its recorded intent was to preserve actor, transaction, and commit-admission checks while narrowing credential reads. (src/infra/device-auth-store.test.ts, 7a75498beb6e)
  • Validation evidence and limits: The complete PR body was retrieved through REST, extending the supplied body identified by SHA-256 611f806eff98036f57d45cea20a579884f96b96537bbd344ed7782899202505c. It reports 576 passing tests before final retention edits, explicitly discloses the expired Testbox lease, and does not claim a passing final-head rerun. (3173158d4e6c)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

PR surface

PR surface statistics unavailable: the file list is incomplete.

Stored data model

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

Labels

Label changes:

  • add P3: This is test-maintenance work with no demonstrated change to shipped behavior; the CI failure does not raise its product priority.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This is test-maintenance work with no demonstrated change to shipped behavior; the CI failure does not raise its product priority.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Compare the failing restricted-sender side-question scenario against the pinned base and document its cause.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only; repair and merge need explicit maintainer commands such as @clawsweeper autofix or @clawsweeper automerge.

History

Review history (2 earlier review cycles)
  • reviewed 2026-10-07T23:41:29.672Z sha 288017b4092a813d61a30f2a48f53f0e3ac0407a :: blocked before merge. :: none
  • reviewed 2026-10-08T00:14:31.468Z sha 53bbc8f :: blocked before merge. :: none

@blacksmith-sh

This comment has been minimized.

@steipete
steipete disabled auto-merge October 8, 2026 00:30
Port w1012 onto the campaign lane while preserving its newer recovery,
authority, registry-access, and cleanup coverage. Keep the lane allocation
readiness test and carry newer GC fixture cleanup into the consolidation.

Testbox: 164 tests passed across all 10 surviving test files, no skips;
265.49s from fresh main plus the 16 resolved shard paths.
Targeted oxlint, oxfmt, diff checks, and independent review passed.
Port w1099 while retaining the lane recovery assertions and lifecycle teardown. Preserve the already-applied inbound worktree fix and provide both placement readers in recovery fixtures for current main.

Validation: 67 tests passed across 7 files on Blacksmith Testbox from the small-delta proof checkout. Targeted oxlint, oxfmt, whitespace checks, and final autoreview passed.
@steipete
steipete force-pushed the tcr/land-d011-1791408462 branch from 53bbc8f to 3173158 Compare October 8, 2026 03:31
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 8, 2026
@steipete

steipete commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

Admin-landing exact head 3173158d4e6 past failures this batch does not cause (it deletes/folds tests only; no production code, and it touches no codex, memory, telegram, or android files):

@steipete
steipete merged commit 34b093e into main Oct 8, 2026
247 of 250 checks passed
@steipete
steipete deleted the tcr/land-d011-1791408462 branch October 8, 2026 03:49
MarMarLabs added a commit to MarMarLabs/openclaw that referenced this pull request Oct 8, 2026
14 upstream commits. openclaw#166818 removes low-value tests across several
areas, including seven Feishu test files. In
extensions/feishu/src/send.test.ts it deletes the test that checked a
send works without the Feishu runtime text helpers and moves that
condition into beforeEach for every test in the file. This branch had
changed one line in that deleted test, adding the accountId the send now
passes to resolveMarkdownTableMode, so the two sides conflicted.

The merge follows upstream's pruning and takes upstream's send.test.ts.
The accountId forwarding is still covered by this branch's
send.markdown-tables.test.ts, which checks the posted text for a named
account and for the channel default rather than the arguments of a mock.
openclaw#166599 changes extensions/feishu/src/tool-result.ts and adds tests, and
merged without conflict. Every Feishu file this merge changes is
identical to upstream/main, and every other file is the same as the
previous branch head.

Upstream did not change the config baseline in this range. The merge
took upstream's generated files and regenerated all three from this
merge with build:docker in a separate detached checkout. Counts are core
2495, channel 3876 and plugin 4527, the same as the previous branch
head, and every hash matches it. The generated metadata differs from
upstream/main only by the two Feishu markdown.tables entries. The three
generated-file checks pass there.

Feishu: 102 files and 1502 tests in the extension project, 17 files and
217 tests in the database-workers project, all passing. The drop from
1523 and 218 is the tests openclaw#166818 removed less the ones openclaw#166599 added.
The forwarder test and the routing guards pass, 503 tests. tsgo:core,
tsgo:extensions, tsgo:extensions:test, tsgo:test:root, the line-cap,
max-lines, assertion-safety, database-worker, test-timeout-race and
test-mock-exports ratchets against upstream/main, oxlint with
unused-directive errors and oxfmt on the 42 changed code files all pass.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 8, 2026
…enclaw#166818)

* test(agents): deslop w1012 tests

Port w1012 onto the campaign lane while preserving its newer recovery,
authority, registry-access, and cleanup coverage. Keep the lane allocation
readiness test and carry newer GC fixture cleanup into the consolidation.

Testbox: 164 tests passed across all 10 surviving test files, no skips;
265.49s from fresh main plus the 16 resolved shard paths.
Targeted oxlint, oxfmt, diff checks, and independent review passed.

* test(models): deslop w1105 tests

* test(buzz): deslop w1106 tests

* test(agents): deslop w1095 tests

* test(feishu): deslop w1102 tests

* test(gateway): deslop w1103 tests

* test(doctor): deslop w1101 tests

* test(markdown): deslop w1104 tests

* test(gateway): deslop w1099 tests

Port w1099 while retaining the lane recovery assertions and lifecycle teardown. Preserve the already-applied inbound worktree fix and provide both placement readers in recovery fixtures for current main.

Validation: 67 tests passed across 7 files on Blacksmith Testbox from the small-delta proof checkout. Targeted oxlint, oxfmt, whitespace checks, and final autoreview passed.

* test(infra): deslop w1100 tests

* test: retain Windows coverage after test consolidation

* test: preserve transport coverage routing after consolidation

* test(infra): retain current read-only token assertions

* test: retain distinct safety and lifecycle coverage
ArcueidMP added a commit to ArcueidMP/openclaw that referenced this pull request Oct 8, 2026
Upstream openclaw#166818 folded service.naming.test.ts into service.canonical-paths.test.ts; move the base-mismatch reuse cases into the consolidated allocation suite.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling channel: buzz channel: feishu Channel integration: feishu commands Command implementations gateway Gateway runtime P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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