Skip to content

fix(gateway): default Slack tool_progress to off#14746

Closed
xnbi wants to merge 1 commit into
NousResearch:mainfrom
xnbi:fix/slack-default-tool-progress-off
Closed

fix(gateway): default Slack tool_progress to off#14746
xnbi wants to merge 1 commit into
NousResearch:mainfrom
xnbi:fix/slack-default-tool-progress-off

Conversation

@xnbi

@xnbi xnbi commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Slack (Bolt / Socket Mode) cannot treat tool progress like the CLI spinner: each progress line becomes a permanent channel message. The previous built-in default (new via _TIER_MEDIUM) still emitted a line on every distinct tool start, which cluttered public channels (see #14663).

This PR sets the built-in Slack default to tool_progress: "off". Other tier-2 platforms (Mattermost, Matrix, Feishu) are unchanged. Users who want progress in Slack can still enable it globally, per-platform under display.platforms.slack, or cycle with /verbose when display.tool_progress_command is true.

Changes

  • gateway/display_config.py: Slack uses {**_TIER_MEDIUM, "tool_progress": "off"} with a short comment referencing [Bug]: slack gateway is reporting intermediate tool calls #14663.
  • tests/gateway/test_display_config.py: Split Slack from the “medium tier = new” assertion; add test_slack_defaults_tool_progress_off. Migration tests now read/write config.yaml with encoding="utf-8" so they pass on Windows default locale (GBK).
  • tests/gateway/test_verbose_command.py: /verbose isolation test expects Slack’s first cycle to go offnew instead of newall.

Testing

pytest tests/gateway/test_display_config.py tests/gateway/test_verbose_command.py -q

Slack Bolt posts are not editable like CLI spinners; medium-tier new still emitted a permanent line per tool start (issue NousResearch#14663).

- Built-in slack default: off; other tier-2 platforms unchanged.

- Adjust /verbose isolation test for off to new cycle.

- Migration tests: read/write config.yaml as UTF-8 (Windows locale).
@xnbi xnbi force-pushed the fix/slack-default-tool-progress-off branch from 0e710ce to 19ffb88 Compare April 23, 2026 21:17
@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/gateway Gateway runner, session dispatch, delivery platform/slack Slack app adapter labels Apr 23, 2026
@teknium1

Copy link
Copy Markdown
Contributor

Merged via #16288 — your commit was cherry-picked onto current main with your authorship preserved (98b8344). Thanks for the targeted fix and the Windows encoding polish on the migration tests — that was a nice catch.
#16288

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/gateway Gateway runner, session dispatch, delivery P2 Medium — degraded but workaround exists platform/slack Slack app adapter type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants