Skip to content

fix(gateway): scope progress thread fallback to Slack only (salvage #3414) - #3488

Merged
teknium1 merged 2 commits into
mainfrom
hermes/hermes-a2b72b01
Mar 28, 2026
Merged

fix(gateway): scope progress thread fallback to Slack only (salvage #3414)#3488
teknium1 merged 2 commits into
mainfrom
hermes/hermes-a2b72b01

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Salvage of #3414 by @EmpireOperating. Cherry-picked clean, no modifications needed.

Problem: The event_message_id fallback for progress thread metadata was applied cross-platform. In Telegram DMs, this passes a normal message ID as message_thread_id (a forum-topic-only field), causing BadRequest: Message thread not found errors that silently kill progress messages.

Fix: Scope the fallback to Slack only — Slack DMs need it so progress messages land in the same thread as the final reply. Other platforms use source.thread_id directly, which is None when there's no thread/forum (correct behavior).

3 tests pass: original topic threading + Telegram DM (no fallback) + Slack DM (keeps fallback).

Closes #3414.

@teknium1
teknium1 merged commit 290c71a into main Mar 28, 2026
2 checks passed
angelburgosrosado pushed a commit to angelburgosrosado/hermes-agent that referenced this pull request Apr 27, 2026
…ousResearch#3414) (NousResearch#3488)

* test(gateway): map fixture adapter by platform in progress threading tests

* fix(gateway): scope progress thread fallback to Slack only

---------

Co-authored-by: EmpireOperating <258363005+EmpireOperating@users.noreply.github.com>
02356abc pushed a commit to 02356abc/hermes-agent that referenced this pull request May 14, 2026
…ousResearch#3414) (NousResearch#3488)

* test(gateway): map fixture adapter by platform in progress threading tests

* fix(gateway): scope progress thread fallback to Slack only

---------

Co-authored-by: EmpireOperating <258363005+EmpireOperating@users.noreply.github.com>
gweeteve pushed a commit to gweeteve/hermes-agent that referenced this pull request Jun 2, 2026
…ousResearch#3414) (NousResearch#3488)

* test(gateway): map fixture adapter by platform in progress threading tests

* fix(gateway): scope progress thread fallback to Slack only

---------

Co-authored-by: EmpireOperating <258363005+EmpireOperating@users.noreply.github.com>
waefrebeorn pushed a commit to waefrebeorn/slermes that referenced this pull request Jul 2, 2026
…ousResearch#3414) (NousResearch#3488)

* test(gateway): map fixture adapter by platform in progress threading tests

* fix(gateway): scope progress thread fallback to Slack only

---------

Co-authored-by: EmpireOperating <258363005+EmpireOperating@users.noreply.github.com>
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.

2 participants