Skip to content

feat: add session_status to chat.stopStream - #1634

Merged
zimeg merged 3 commits into
mainfrom
clack/chat-stopstream-session-status
Aug 26, 2026
Merged

feat: add session_status to chat.stopStream#1634
zimeg merged 3 commits into
mainfrom
clack/chat-stopstream-session-status

Conversation

@zimeg

@zimeg zimeg commented Aug 21, 2026

Copy link
Copy Markdown
Member

Adds the optional session_status argument to chat.stopStream. When stopping a stream, an app can set the agent session's lifecycle status in the same call.

  • sessionStatus — the session status to set after stopping the stream. Defaults to active.

What's included

  • sessionStatus field on ChatStopStreamRequest
  • session_status form serialization in RequestFormBuilder

Category

  • slack-api-client (Slack API Clients)

Notes

Companion to the agent sessions work (agents.sessions.* methods #1633). Draft — intended to land in the same release window, timed at/after the argument is published in the public method reference.

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you agree to those rules.

Adds the optional session_status argument to chat.stopStream, which sets
the agent session's lifecycle status after stopping the stream (defaults
to active). Serialized in RequestFormBuilder.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@zimeg zimeg added enhancement M-T: A feature request for new functionality semver:minor labels Aug 21, 2026
@zimeg zimeg self-assigned this Aug 21, 2026
@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.80%. Comparing base (ff1d546) to head (2c15d26).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1634      +/-   ##
============================================
- Coverage     72.84%   72.80%   -0.04%     
+ Complexity     4533     4532       -1     
============================================
  Files           482      482              
  Lines         14422    14423       +1     
  Branches       1512     1512              
============================================
- Hits          10505    10501       -4     
- Misses         3022     3025       +3     
- Partials        895      897       +2     
Flag Coverage Δ
jdk-14 72.80% <100.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@zimeg zimeg added the project:slack-api-client project:slack-api-client label Aug 25, 2026
@zimeg zimeg added this to the 1.50.1 milestone Aug 26, 2026
@zimeg
zimeg marked this pull request as ready for review August 26, 2026 20:57
@zimeg
zimeg requested a review from a team as a code owner August 26, 2026 20:57
@zimeg

zimeg commented Aug 26, 2026

Copy link
Copy Markdown
Member Author

📣 This'll be nice to land now for upcoming release! And also perhaps to include with #1545!

@zimeg
zimeg merged commit 37cbe89 into main Aug 26, 2026
7 checks passed
@zimeg
zimeg deleted the clack/chat-stopstream-session-status branch August 26, 2026 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement M-T: A feature request for new functionality project:slack-api-client project:slack-api-client semver:minor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant