Skip to content

feat: add bounded Horizon stream sampler - #540

Merged
egekoca merged 2 commits into
RevenantLabs:mainfrom
karagozemin:feat/515-horizon-stream-sampler
Oct 27, 2026
Merged

egekoca merged 2 commits into
RevenantLabs:mainfrom
karagozemin:feat/515-horizon-stream-sampler

Conversation

@karagozemin

Copy link
Copy Markdown
Contributor

Closes #515

Summary

  • open Horizon transaction SSE with explicit event-count and duration bounds
  • incrementally decode and display event type and JSON payload
  • abort on bound, manual stop, replacement run, or component unmount
  • report connected/disconnected and empty-sample outcomes explicitly
  • add the complete 35-file feature slice and focused coverage

Verification

  • npm run verify:features -- horizon-stream-sampler
  • npx eslint features/horizon-stream-sampler (0 errors)
  • npx vitest run features/horizon-stream-sampler (16 tests passed)
  • npx tsc --noEmit

Copilot AI balanced review requested due to automatic review settings October 22, 2026 13:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@egekoca
egekoca merged commit a379126 into RevenantLabs:main Oct 27, 2026
1 check passed
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.

[Network & Infrastructure] Horizon Stream Sampler

3 participants