Skip to content

feat: implement SSE for real-time UI and ofrep evaluation updates#5617

Merged
kodiakhq[bot] merged 4 commits into
v2from
rd/v2/sse
Mar 26, 2026
Merged

feat: implement SSE for real-time UI and ofrep evaluation updates#5617
kodiakhq[bot] merged 4 commits into
v2from
rd/v2/sse

Conversation

@erka

@erka erka commented Mar 24, 2026

Copy link
Copy Markdown
Contributor
  • Add event-stream content type marshaler for SSE support
  • Add streaming API endpoint in gateway
  • Add frontend hooks for subscribing to changes stream
  • Update flags and segments API to support streaming
  • Implement OFREP ADR-0008

@github-actions

github-actions Bot commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

The latest Buf updates on your PR. Results from workflow Proto / proto-lint (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedMar 26, 2026, 5:09 PM

@codecov

codecov Bot commented Mar 24, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.64516% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.70%. Comparing base (047693e) to head (4ee0d4d).
⚠️ Report is 1 commits behind head on v2.

Files with missing lines Patch % Lines
internal/gateway/gateway.go 80.00% 7 Missing and 2 partials ⚠️
...ernal/storage/environments/evaluation/publisher.go 75.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##               v2    #5617      +/-   ##
==========================================
+ Coverage   60.65%   60.70%   +0.05%     
==========================================
  Files         141      141              
  Lines       13989    14023      +34     
==========================================
+ Hits         8485     8513      +28     
- Misses       4780     4784       +4     
- Partials      724      726       +2     
Flag Coverage Δ
integrationtests 34.54% <29.03%> (-0.12%) ⬇️
unittests 51.60% <66.12%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@erka
erka force-pushed the rd/v2/sse branch 3 times, most recently from 9d6e4f3 to 7d3e8d0 Compare March 25, 2026 21:38
erka added 2 commits March 25, 2026 22:12
- Add event-stream content type marshaler for SSE support
- Add streaming API endpoint in gateway
- Add frontend hooks for subscribing to changes stream
- Update flags and segments API to support streaming

Signed-off-by: Roman Dmytrenko <[email protected]>
@erka erka changed the title feat: implement SSE for real-time evaluation updates feat: implement SSE for real-time UI and ofrep evaluation updates Mar 25, 2026
@erka
erka marked this pull request as ready for review March 25, 2026 22:51
@erka
erka requested a review from a team as a code owner March 25, 2026 22:51
@dosubot dosubot Bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Mar 25, 2026
@erka erka added v2 Flipt v2 and removed size:XXL This PR changes 1000+ lines, ignoring generated files. labels Mar 25, 2026

@markphelps markphelps left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm! thank you for doing this. just one q

Comment thread internal/storage/environments/evaluation/publisher.go
Comment thread internal/storage/environments/evaluation/publisher.go Outdated
Signed-off-by: Roman Dmytrenko <[email protected]>
@dosubot dosubot Bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Mar 26, 2026
@erka erka added the automerge Used by Kodiak bot to automerge PRs label Mar 26, 2026
@kodiakhq
kodiakhq Bot merged commit 0f8b6d0 into v2 Mar 26, 2026
37 checks passed
@kodiakhq
kodiakhq Bot deleted the rd/v2/sse branch March 26, 2026 17:09
@github-project-automation github-project-automation Bot moved this to Done in Flipt V2 Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Used by Kodiak bot to automerge PRs size:XXL This PR changes 1000+ lines, ignoring generated files. v2 Flipt v2

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants