WeCom markdown truncation and message splitting fix
Cluster 19689 · gateway. Data as of
1 open item. Fix merged in #130866 on 2 Oct 2026. Check it covers your case.
The short answer
- Known?
- Yes. 6 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #130866. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
partially resolved, deciding PR #130866. That is separate from the fix event. - Still open
- 1 issue and 0 PRs.
Next step: read #130866, then check whether your report is the one still open.
Read #130866Pick up a Lab taskThese issues and PRs concern a bug where WeCom outbound markdown messages are silently truncated at 4000 characters, and proposed fixes to split long messages into multiple sends instead.
Open issues1
- Issue#47571[BUG] WeCom adapter: send() hard-truncates content at 4000 chars, breaking plugin-level segmentation (OLG)
Open PRs0
Fixes on record
-
#130866 fix(gateway): SMS, email and WeCom deliver long replies and cron output in full instead of failing or truncating
files:
cron/scheduler_delivery.py,gateway/delivery.py,gateway/platforms/helpers.py,plugins/platforms/email/adapter.py,plugins/platforms/sms/adapter.py,plugins/platforms/wecom/adapter.py,plugins/platforms/wecom/callback_adapter.py,tests/cron/test_scheduler.py,tests/gateway/test_email.py,tests/gateway/test_sms.py,tests/gateway/test_wecom.py,tests/gateway/test_wecom_callback.py,website/docs/user-guide/messaging/wecom-callback.md,website/docs/user-guide/messaging/wecom.md,website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/wecom-callback.md,website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/wecom.md
3 PRs closed without merging
From the close comments: done elsewhere 1 · stale or abandoned 1 · superseded by another PR 1
- #19751 fix(wecom): split long outbound markdown instead of silent truncation · stale or abandoned
-
#19811 fix(wecom): split long markdown into multiple messages instead of silently truncating · superseded by another PR →
#19751 -
#20006 fix(wecom): split long markdown sends · done elsewhere →
be5e9f7,#130866
Closed issues · 1
- Closed#19689WeCom outbound markdown silently truncates long Hermes responses at 4000 characters
How this cluster was grouped
-
Link evidence (
partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text. - Members outside that structural core may belong to a different underlying problem.
-
Pairwise link density
0.29: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- gateway
- Merged PRs
- #130866
- Closed issues
- 1
- Attempts
- 3 PRs closed without merging
- Fix link checked
- 2 Oct 2026