Repository navigation
test(chat,ui,gateway,whatsapp): remove low-value tests (batch d157) - #174116
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
steipete
enabled auto-merge (squash)
October 16, 2026 10:34
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
steipete
disabled auto-merge
October 16, 2026 10:41
Remove a redundant boolean conversion and retain the asynchronous microphone mock contract. No assertion or runtime behavior changes.
steipete
enabled auto-merge (squash)
October 16, 2026 10:43
steipete
disabled auto-merge
October 16, 2026 10:51
steipete
enabled auto-merge (squash)
October 16, 2026 10:53
steipete
disabled auto-merge
October 16, 2026 11:03
steipete
enabled auto-merge (squash)
October 16, 2026 11:06
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 17, 2026
…penclaw#174116) * test(chat): deslop x7043 tests * test(chat): deslop x7043 tests * test(chat): deslop x7043 tests * test(ui): deslop x7053 tests * test(ui): deslop x7053 tests * test(gateway): deslop x7050 tests * test(gateway): deslop x7050 tests * test(whatsapp): deslop x7056 tests * test(whatsapp): deslop x7056 tests * test: fix typed fixture lint after batch replay Remove a redundant boolean conversion and retain the asynchronous microphone mock contract. No assertion or runtime behavior changes. * test(gateway): preserve bootstrap mock exports * test: repair replayed UI fixtures and prune obsolete mock baseline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Repeated fixture setup and assertion scaffolding make the chat, UI config, Gateway bootstrap, and WhatsApp tests harder to maintain.
User Impact
No intended user-visible behavior change. This is test/support-only consolidation; production code is unchanged. Distinct security, privacy, ordering, cancellation, and lifecycle assertions remain. No runtime speedup or fresh coverage percentage is claimed.
Why This Change Was Made
Replay campaign batch d157 onto main at df84daa, preserving current-main additions. Shared fixture builders replace repetitive setup; equivalent cases use tables. Existing production owners and test boundaries are unchanged.
Nine of ten supplied commits were retained (some partially):
Skipped 196905a778f (x7052): all seven plugin files conflict with current-main rewrites and expanded ownership/alias coverage. Retain current main rather than replay older fixture shapes over those contracts.
Conflict resolution:
Evidence
CI-only mode per maintainer instruction: no local Vitest, check-changed, tsgo, builds, or Testbox. Hosted PR CI and required openclaw/ci-gate provide behavioral proof.
Passed on the replayed diff:
An initial shell path-list invocation selected no files; it was corrected to explicit argument-array invocation, which formatted all 27 files successfully. No tests or coverage ran in either invocation. CI exposed and prompted narrow fixture repairs: a redundant Boolean conversion, an untyped asynchronous microphone mock, two renamed closed mocks, a missing describe import for a preserved main-side regression, and the generic Solid signal initializer. The closed mocks now preserve original exports; their two exact stale baseline entries were removed. Independent review runs alongside CI.
The previous UI run also timed out in four untouched appearance-picker browser tests; this is not claimed as pre-existing without independent proof. The fresh run must resolve or attribute that failure before merge.
Actual replay deltas
Counts below are against the pinned replay base, not the older shard snapshots. Declarations count textual it/test declarations, including each/for declarations once, not expanded cases.
Production LOC: +0/-0. Test files: net -2292. Baseline: -2 lines. Test-support files: net +10, including the new shared 145-line config/composer fixture helper.
Original shard report coverage status
The supplied reports are historical source-lane evidence, not fresh proof of this replay:
No report supplies a measured coverage-totals line; do not infer the older campaign's ≤1% coverage gate was measured for these commits.
Files by shard
x7043 — ui/src/pages/chat/: chat-thread-reply-attribution.test.ts; chat-tool-activity-coalesce.test.ts; chat-view-notices.test.tsx; composer-dictation.test.ts; composer-microphone-picker.test.ts; composer-persistence-restore.test.ts; composer-persistence.test.ts; creation-composer-handoff.test.ts.
x7053 — ui/src/e2e/: composer-draft-fences.test-support.ts; composer-draft-store.e2e.test.ts; composer-recovery-fences.e2e.test.ts; config-composer-fixtures.test-support.ts; config-controls-visual.e2e.test.ts; config-form-defaults.e2e.test.ts; config-form-guidance.e2e.test.ts; config-form-integrity.e2e.test.ts; config-safe-write.e2e.test.ts.
x7050 — src/gateway/: cli-session-history.test-support.ts; client-bootstrap.auth.test.ts; client-bootstrap.test.ts; client.ssh.test.ts; config-get-response.test.ts.
x7056 — extensions/whatsapp/src/: auto-reply.broadcast-groups.combined.test.ts; channel.setup.test.ts; connection-controller.test.ts; directory-config.test.ts; media.test.ts.
No changed path matches the repository CODEOWNERS entries.