Skip to content

fix(slack): restore working status with newer Slack SDKs - #1

Merged
vexclawx31 merged 1 commit into
mainfrom
fix/slack-working-status
Sep 23, 2026
Merged

vexclawx31 merged 1 commit into
mainfrom
fix/slack-working-status

Conversation

@vexclawx31

Copy link
Copy Markdown
Owner

Cherry-pick NousResearch#110391 preserving contributor authorship. Free-text status and empty clears use assistant.threads.setStatus; title routing unchanged. Two files only; no dependency/config changes.

Local canonical runner: Slack adapter and native streaming suites 270 passed, 0 failed, 1 skipped. Regression tests on unchanged base: 2 failed, 3 passed.

Live canary pending: DO NOT MERGE. Hosted CI intentionally skipped. Upstream issue NousResearch#110374

…Status

a5522f6 routed status through agents.sessions.setStatus whenever the
installed slack-sdk ships the typed method (>=3.44.0). That API accepts only
the closed enum active|processing|suspended|closed, while every Hermes call
site still sends the legacy free-text protocol: work-start phrases, per-tool
live_status updates, typing_status_text, and an empty string to clear. All of
them are rejected with invalid_arguments, and because status failures are
debug-logged by design the indicator vanished silently on every turn (NousResearch#110374).

Status now always uses the legacy method, which takes free text and auto-clears
on reply until its February 2027 deprecation. Titles keep using
agents.sessions.rename, which takes free text and was never affected.

Not migrated to the enum on purpose: processing does not auto-clear when the
app replies, so a turn ending without an explicit active would leave the
spinner up for up to an hour, re-opening the stuck-indicator class fixed by
 NousResearch#64621 / NousResearch#24117; and the new API has no equivalent for custom status text, so
adopting it drops live_status and typing_status_text. That trade is a product
decision, not a regression fix.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
(cherry picked from commit 9b90259)

[skip ci]
@vexclawx31
vexclawx31 merged commit e968fe9 into main Sep 23, 2026
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