Conversation
Contributor
Greptile OverviewGreptile SummaryFixed
This ensures consistent behavior between both append methods and matches user expectations for the auto-create feature. Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Client
participant Backend
participant StreamerClient
participant Basin
Client->>Backend: append_session(basin, stream, inputs)
Backend->>Backend: streamer_client_with_auto_create()
Backend->>Basin: get_basin_config()
Basin-->>Backend: BasinConfig (create_stream_on_append)
alt Stream exists
Backend->>StreamerClient: get existing client
StreamerClient-->>Backend: client
else Stream not found AND create_stream_on_append = true
Backend->>Backend: create_stream()
Backend->>StreamerClient: get new client
StreamerClient-->>Backend: client
else Stream not found AND create_stream_on_append = false
Backend-->>Client: StreamNotFoundError
end
Backend->>Backend: SessionHandle::new()
Backend-->>Client: Stream<Result<AppendAck, AppendError>>
loop for each input
Client->>StreamerClient: append_permit(input)
StreamerClient->>StreamerClient: submit_session()
StreamerClient-->>Client: AppendAck
end
|
Merged
shikhar
pushed a commit
that referenced
this pull request
Feb 6, 2026
## 🤖 New release * `s2-lite`: 0.27.5 -> 0.28.0 (✓ API compatible changes) * `s2-cli`: 0.27.5 -> 0.28.0 <details><summary><i><b>Changelog</b></i></summary><p> ## `s2-lite` <blockquote> ## [0.28.0] - 2026-02-06 ### Features - [**breaking**] Delete-on-empty ([#158](#158)) ### Bug Fixes - Append session should also `create-stream-on-append` if configured ([#180](#180)) <!-- generated by git-cliff --> </blockquote> ## `s2-cli` <blockquote> ## [0.28.0] - 2026-02-06 ### Miscellaneous Tasks - Update Cargo.lock dependencies <!-- generated by git-cliff --> </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.