Skip to content

refactor(server): relocate is_streaming check from common to server#1896

Merged
LNSD merged 1 commit intomainfrom
lnsd/refactor-server-relocate-is-streaming
Mar 3, 2026
Merged

refactor(server): relocate is_streaming check from common to server#1896
LNSD merged 1 commit intomainfrom
lnsd/refactor-server-relocate-is-streaming

Conversation

@LNSD
Copy link
Contributor

@LNSD LNSD commented Mar 3, 2026

Move server-specific query introspection out of the shared common crate into the crate that actually uses it.

  • Move is_streaming() from common::stream_helpers to server::helpers
  • Rewrite nested match arms as flat let-else early returns
  • Delete now-empty stream_helpers module from common
  • Split single parametrized test into individual named test functions

Move server-specific query introspection out of the shared common crate into the crate that actually uses it.

- Move `is_streaming()` from `common::stream_helpers` to `server::helpers`
- Rewrite nested match arms as flat let-else early returns
- Delete now-empty `stream_helpers` module from common
- Split single parametrized test into individual named test functions

Signed-off-by: Lorenzo Delgado <lorenzo@edgeandnode.com>
@LNSD LNSD requested review from Theodus and leoyvens March 3, 2026 19:08
@LNSD LNSD self-assigned this Mar 3, 2026
@LNSD LNSD merged commit 69920aa into main Mar 3, 2026
17 of 18 checks passed
@LNSD LNSD deleted the lnsd/refactor-server-relocate-is-streaming branch March 3, 2026 19:29
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