Skip to content

[Fix] Slack Fast sessions remain titled Thread - #1885

Merged
roomote-roomote[bot] merged 2 commits into
developfrom
fix/slack-fast-title-sync-156cjlypkv3o3
Aug 30, 2026
Merged

[Fix] Slack Fast sessions remain titled Thread#1885
roomote-roomote[bot] merged 2 commits into
developfrom
fix/slack-fast-title-sync-156cjlypkv3o3

Conversation

@roomote-roomote

@roomote-roomote roomote-roomote Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

​Opened on behalf of @daniel-lxs. Follow up by mentioning @roomote-roomote, in the web UI, or in Slack.

What changed

  • Replaced the per-turn title-response gate from [Improve] Show Fast activity in Slack agent sessions #1881 with a shared Slack title synchronizer that renames after initial generation even when agents.sessions.setStatus omits its current title.
  • Added Redis locking, a durable latest-title handoff, and hashed title deduplication so unchanged titles do not rename, contended updates are drained by the current holder, and stale callers revalidate the latest canonical title before writing Slack.
  • Wired titles generated after turn settlement back into Slack, and made later manual Fast Session renames update both canonical title records before using the same best-effort sync path.
  • Blank or unavailable titles remain omitted; no fallback title is introduced.

Why this change was made

Manual testing of #1881 showed ordinary Fast conversations remained named Thread. Slack did not provide a usable current title in the status response, so the ephemeral turn adapter skipped rename and had no durable retry after the generated title was persisted.

Impact

New Slack Fast sessions acquire their generated Roomote title after generation, including sub-300ms turns and generation that finishes after settlement. Subsequent generated and manual title changes stay synchronized without redundant renames; active/processing status calls carry lifecycle only, and concurrent older updates cannot overwrite a newer canonical title. Slack, Redis, installation, and credential failures remain best-effort and never fail the Fast turn or title edit.

@roomote-community

roomote-community Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

No new code issues found. See task

  • packages/slack/src/agent-session-title-sync.ts:50 A newer title update can time out behind a slow stale rename and leave Slack permanently on the stale title.

Reviewed fc8fb44

Comment thread packages/slack/src/agent-session-title-sync.ts
@roomote-roomote
roomote-roomote Bot marked this pull request as ready for review August 30, 2026 16:38
@roomote-roomote
roomote-roomote Bot merged commit 82362e2 into develop Aug 30, 2026
17 checks passed
@roomote-roomote
roomote-roomote Bot deleted the fix/slack-fast-title-sync-156cjlypkv3o3 branch August 30, 2026 16:39
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.

1 participant