Skip to content

Cherry-pick batch: Mattermost adapter (27 commits)#1970

Merged
alexey-pelykh merged 21 commits intomainfrom
staging/cherry-pick-1880
Mar 24, 2026
Merged

Cherry-pick batch: Mattermost adapter (27 commits)#1970
alexey-pelykh merged 21 commits intomainfrom
staging/cherry-pick-1880

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Cherry-pick batch from upstream

Issue: #1880
Commits: 27 attempted (15 picked, 5 resolved, 7 skipped as empty after conflict resolution)

See issue for full commit list.

Closes #1880

🤖 Generated with Claude Code

steipete and others added 20 commits March 24, 2026 12:00
…w#44021)

Merged via squash.

Prepared head SHA: 856f11f
Co-authored-by: LyleLiu666 <[email protected]>
Co-authored-by: mukhtharcm <[email protected]>
Reviewed-by: @mukhtharcm

(cherry picked from commit c965049)
…reading are active (openclaw#41362)

* fix(mattermost): prevent duplicate messages when block streaming + threading are active

Remove replyToId from createBlockReplyPayloadKey so identical content is
deduplicated regardless of threading target. Add explicit threading dock
to the Mattermost plugin with resolveReplyToMode reading from config
(default "all"), and add replyToMode to the Mattermost config schema.

Fixes openclaw#41219

Co-Authored-By: Claude Opus 4.6 <[email protected]>

* fix(mattermost): address PR review — per-account replyToMode and test clarity

Read replyToMode from the merged per-account config via
resolveMattermostAccount so account-level overrides are honored in
multi-account setups. Add replyToMode to MattermostAccountConfig type.
Rename misleading test to clarify it exercises shouldDropFinalPayloads
short-circuit, not payload key dedup.

Co-Authored-By: Claude Opus 4.6 <[email protected]>

* Replies: keep block-pipeline reply targets distinct

* Tests: cover block reply target-aware dedupe

* Update CHANGELOG.md

---------

Co-authored-by: Claude Opus 4.6 <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
(cherry picked from commit e8a162d)
@alexey-pelykh alexey-pelykh enabled auto-merge (squash) March 24, 2026 11:14
@alexey-pelykh alexey-pelykh merged commit 0fcfd5e into main Mar 24, 2026
7 checks passed
@alexey-pelykh alexey-pelykh deleted the staging/cherry-pick-1880 branch March 24, 2026 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cherry-pick: Mattermost adapter (27 commits)

6 participants