Repository navigation
fix: restore iMessage and WhatsApp channel test coverage - #110327
Merged
Merged
Conversation
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 18, 2026
…0327) * test(imessage): mock core turn dispatch for media policy coverage PR openclaw#110095 missed this iMessage media-policy test file. * test(imessage): mock core turn dispatch for last-route coverage * test(whatsapp): mock core turn dispatch for broadcast coverage * test(imessage): drop type-dead terminal-admission branch in media harness
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
Fixes broken
maintest coverage after #110095 moved inbound turn execution into core turn plans. Three missed test surfaces still mocked the retired reply-runtime dispatch path, so their mocks intercepted nothing: iMessage media-policy had two failures and one 120-second timeout, iMessage last-route had 26 failures, and the WhatsApp combined broadcast-groups case timed out. The regression bisects to merge commit601ffa253037e20397bd62bd81fc9f7715ba6200and reproduces on cleanorigin/main.Why This Change Was Made
The affected tests now mock the core turn-plan dispatch seam, matching the modernization already applied to Feishu, Slack, and Telegram in #110095 while preserving every behavioral assertion. The shared WhatsApp harness supplies the corrected dispatch mock once for all five broadcast-group tests.
User Impact
No runtime behavior or product code changes. Maintainers regain reliable iMessage and WhatsApp regression coverage on
main, without false failures or two-minute hangs from stale test interception points.Evidence
8e53e95faad8: zero accepted/actionable findings.git diff --check origin/main...HEAD: clean.AI-assisted: yes. The final rebased branch received a clean structured autoreview.