Skip to content

fix(slackbot): drop the 'Thinking...' assistant.threads.setStatus pill#99

Closed
arjunblj wants to merge 1 commit into
mainfrom
fix/slackbot-drop-thinking-pill
Closed

fix(slackbot): drop the 'Thinking...' assistant.threads.setStatus pill#99
arjunblj wants to merge 1 commit into
mainfrom
fix/slackbot-drop-thinking-pill

Conversation

@arjunblj

Copy link
Copy Markdown
Collaborator

Summary

  • Stop calling assistant.threads.setStatus(Thinking...) on agent-session open; the streaming UI already signals work.
  • Initialize statusCleared: true so the clear-status paths short-circuit.

Test plan

  • bun --cwd services/slackbot test src/slack/agent-session.test.ts

The static "Thinking..." pill stayed lit on the open-agent-session path
until Slack's stream UI took over, which was both redundant with the
streaming indicator and triggered an extra assistant.threads.setStatus
call on every channel - including ones the API rejects with user_not_found.

Just drop the setStatus call on open(); statusCleared starts true so the
clear-status paths also short-circuit. The setStatus method stays in place
so future status flows can re-enable it deliberately.
dennisonbertram pushed a commit to dennisonbertram/centaur that referenced this pull request May 27, 2026
Add a merged-PR fallback trigger for deploys and skip duplicate push jobs from web-flow merges so deploy remains reliable even when GitHub omits push-triggered Actions suites for squash merges.

Co-authored-by: arjunblj <arjunblj@users.noreply.github.com>
@Zygimantass

Copy link
Copy Markdown
Member

We've merged the Rust rewrite in #344, meaning the old API and Slackbot services are deprecated. As such we're closing this PR - if you think this is a mistake, please reopen the PR and ping me.

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