You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Feishu push messages display literal 'NO_REPLY' text when no reply context exists #56117
[Bug]: Feishu push messages display literal 'NO_REPLY' text when no reply context exists
Bug Description
When OpenClaw sends heartbeat/push notifications to Feishu without a reply context (no reply_to message_id), the literal text "NO_REPLY" appears in the message content sent to the user.
Steps to Reproduce
Configure a heartbeat or cron job that sends periodic reports to Feishu
Ensure the push has no reply_to field (no prior message to reference)
Observe the delivered Feishu message contains the text: NO_REPLY
Expected Behavior
Heartbeat/cron push messages should be delivered cleanly without any "NO_REPLY" text
"NO_REPLY" should be a silent instruction (internal), never rendered in user-visible content
Actual Behavior
User sees NO_REPLY appended to the end of normal push messages
This happens only on messages sent without a reply context (heartbeat/cron pushes)
Normal replies (which have reply_to set) do not exhibit this issue
Root Cause Hypothesis
Based on observed behavior:
Feishu plugin has a workaround mechanism to ensure notifications are delivered even without reply context
When there is no reply_to, the system may route through a different code path
The "NO_REPLY" silent instruction is being incorrectly passed through to the rendered message instead of being intercepted before delivery
Current main already suppresses NO_REPLY for heartbeat/cron outbound delivery paths, including mixed-content replies where visible text would otherwise be followed by the silent token. The shared outbound pipeline used by heartbeat delivery drops exact silent payloads when visible content exists, and reply normalization strips leaked trailing NO_REPLY text before channel delivery. The changelog records the cron/announce fix as shipped in v2026.4.15.
What I checked:
Heartbeat uses shared outbound delivery pipeline: Heartbeat sends go through deliverOutboundPayloads, so Feishu heartbeat pushes use the same outbound normalization/suppression path as other channels. (src/infra/heartbeat-runner.ts:1252, 7130e56f872a)
Outbound plan suppresses silent payloads when visible content exists:createOutboundPayloadPlan computes hasVisibleNonSilentContent and skips silent NO_REPLY payloads when a visible payload is present, preventing an extra literal NO_REPLY send after normal content. (src/infra/outbound/payloads.ts:200, 7130e56f872a)
Reply normalization strips leaked trailing NO_REPLY text:normalizeReplyPayload strips NO_REPLY out of mixed-content text before delivery, covering cases where visible text and the silent token are combined in one payload. (src/auto-reply/reply/normalize-reply.ts:64, 7130e56f872a)
Regression coverage for appended NO_REPLY text: Test coverage explicitly asserts that text ending with NO_REPLY is normalized so the token is not present in delivered text. (src/auto-reply/reply/reply-utils.test.ts:122, 7130e56f872a)
Regression coverage for outbound delivery not sending literal NO_REPLY: Outbound delivery tests assert that a direct-delivery send does not emit literal NO_REPLY text. (src/infra/outbound/deliver.test.ts:935, 7130e56f872a)
Shipped fix noted in changelog: The changelog for v2026.4.15 includes cron/announce fixes preventing trailing NO_REPLY from leaking into delivered summary text. (CHANGELOG.md:552, 7130e56f872a)
So I’m closing this as already implemented rather than keeping a duplicate issue open.
Activity
steipete commentedon Apr 25, 2026
Closing this as implemented after Codex review.
Current
mainalready suppressesNO_REPLYfor heartbeat/cron outbound delivery paths, including mixed-content replies where visible text would otherwise be followed by the silent token. The shared outbound pipeline used by heartbeat delivery drops exact silent payloads when visible content exists, and reply normalization strips leaked trailingNO_REPLYtext before channel delivery. The changelog records the cron/announce fix as shipped inv2026.4.15.What I checked:
deliverOutboundPayloads, so Feishu heartbeat pushes use the same outbound normalization/suppression path as other channels. (src/infra/heartbeat-runner.ts:1252, 7130e56f872a)createOutboundPayloadPlancomputeshasVisibleNonSilentContentand skips silentNO_REPLYpayloads when a visible payload is present, preventing an extra literalNO_REPLYsend after normal content. (src/infra/outbound/payloads.ts:200, 7130e56f872a)normalizeReplyPayloadstripsNO_REPLYout of mixed-content text before delivery, covering cases where visible text and the silent token are combined in one payload. (src/auto-reply/reply/normalize-reply.ts:64, 7130e56f872a)NO_REPLYis normalized so the token is not present in delivered text. (src/auto-reply/reply/reply-utils.test.ts:122, 7130e56f872a)NO_REPLYtext. (src/infra/outbound/deliver.test.ts:935, 7130e56f872a)v2026.4.15includes cron/announce fixes preventing trailingNO_REPLYfrom leaking into delivered summary text. (CHANGELOG.md:552, 7130e56f872a)So I’m closing this as already implemented rather than keeping a duplicate issue open.
Review notes: reviewed against 7130e56f872a; fix evidence: release v2026.4.15.