Skip to content

feat: add session_status to chat.stopStream - #1634

Draft
zimeg wants to merge 1 commit into
mainfrom
clack/chat-stopstream-session-status
Draft

feat: add session_status to chat.stopStream#1634
zimeg wants to merge 1 commit into
mainfrom
clack/chat-stopstream-session-status

Conversation

@zimeg

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>
@zimegzimeg added enhancement M-T: A feature request for new functionality semver:minor labels Aug 21, 2026
@zimegzimeg self-assigned this Aug 21, 2026
@codecov

codecovBot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.99%. Comparing base (0bcc88f) to head (5846838).
⚠️ 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.99% 72.99% -0.01% + Complexity 4523 4522 -1 
============================================
Files 479 479 Lines 14365 14366 +1 Branches 1503 1503 ============================================
Hits 10486 10486 - Misses 2989 2990 +1 
Partials 890 890 
FlagCoverage Δ
jdk-1472.99% <100.00%> (-0.01%)⬇️

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.

@zimegzimeg added the project:slack-api-client project:slack-api-client label Aug 25, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementM-T: A feature request for new functionalityproject:slack-api-clientproject:slack-api-clientsemver:minor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@zimeg