openclaw - 💡(How to fix) Fix Mattermost streaming partial: final edit doesn't trigger notification [2 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#71565Fetched 2026-04-26 05:11:25
View on GitHub
Comments
2
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
commented ×2closed ×1cross-referenced ×1
RAW_BUFFERClick to expand / collapse

Bug Description

When using streaming: "partial" in Mattermost, the user receives a notification when the draft preview post is created (at the start of tool/reasoning activity), but does NOT receive a notification when the final answer is edited into the post.

This creates a poor UX where:

  1. User gets notified "someone posted" → opens app → sees incomplete draft/thinking
  2. Final answer arrives as an edit → no new notification → user has no idea the answer is ready
  3. User is left waiting or misses the response entirely

Expected Behavior

The final answer should trigger a notification (or the draft should be created silently and only the final post should notify).

Actual Behavior

  • Draft preview post creation triggers notification
  • Final edit replaces content silently (no notification)

Reproduction

  1. Configure Mattermost channel with streaming: "partial"
  2. Send any message that triggers tool usage (causing a draft preview)
  3. Observe notification on draft creation
  4. Wait for final answer → no new notification

Suggestion

Possible fixes:

  • Option A: Add a config flag like final_notification: true that sends a brief ephemeral/follow-up ping or re-creates the post as new when finalized
  • Option B: Create the draft preview silently (no notification) and only send notification on final post (but this may break real-time feedback expectation)
  • Option C: Add an optional mention or ping action when finalizing the stream

Environment

  • OpenClaw with Mattermost channel
  • streaming: "partial"
  • Mobile/desktop Mattermost clients

extent analysis

TL;DR

Implementing a config flag like final_notification: true to send a notification when the final answer is edited into the post is the most likely fix.

Guidance

  • Investigate Option A: adding a final_notification: true config flag to send a brief ephemeral/follow-up ping or re-create the post as new when finalized.
  • Evaluate the trade-offs of Option B: creating the draft preview silently and only sending notification on final post, considering the potential impact on real-time feedback.
  • Consider the feasibility of Option C: adding an optional mention or ping action when finalizing the stream, and its potential effectiveness in addressing the issue.
  • Test these options in a controlled environment to determine the best approach.

Example

No code snippet is provided as the issue does not contain sufficient technical details to generate a specific example.

Notes

The chosen solution may depend on the specific requirements and constraints of the Mattermost channel and OpenClaw environment. Further testing and evaluation are necessary to determine the most suitable fix.

Recommendation

Apply workaround: Implementing a config flag like final_notification: true is a reasonable workaround to address the issue, as it provides a clear and targeted solution to the problem of missing notifications for final answers.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Mattermost streaming partial: final edit doesn't trigger notification [2 comments, 1 participants]