Skip to content

Add ListStreamsV2 RPC with stream metadata#62

Merged
nterbogt merged 4 commits into
mainfrom
t3code/update-list-streams-rpc
Jul 16, 2026
Merged

Add ListStreamsV2 RPC with stream metadata#62
nterbogt merged 4 commits into
mainfrom
t3code/update-list-streams-rpc

Conversation

@nickschuch

Copy link
Copy Markdown
Contributor

Summary

  • Introduces ListStreamsV2 RPC endpoint with enhanced stream metadata (real-time flag, default indicator)
  • Adds LogStream message type containing Name, RealTime, and Default fields
  • Implements mock server handler returning nginx, fpm, cloudfront, and events streams
  • Extends proto definitions with new V2 request/response messages

Testing

  • Mock server returns all four streams with correct metadata
  • Not run: integration tests (verify real environment usage)

- New ListStreamsV2 endpoint returns LogStream objects with RealTime and Default flags
- Added LogStream and LogListStreamsV2Request/Response message types
- Expanded mock server with cloudfront and events streams
- Regenerated protobuf bindings
- Subtract 1m from end before computing duration (platform behavior)
- Simplify tier boundaries and return directly from switch cases
- Reduce step tiers from 13 to 6 to align with platform implementation
- Add optional RealTime and Default boolean fields to LogListStreamsV2Request
- Implement server-side filtering in ListStreamsV2 mock handler
- Update generated protobuf code
- Change LogStream from RealTime/Default bools to Types enum list
- Update LogListStreamsV2Request to filter by LogStreamType instead of optional bools
- Add LogStreamDefaults message with default streams per capability type
- Update mock server to reflect new schema and filtering logic
@nterbogt
nterbogt merged commit 1d5be39 into main Jul 16, 2026
2 checks passed
@nterbogt
nterbogt deleted the t3code/update-list-streams-rpc branch July 16, 2026 20:41
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