Skip to content

Conversation

@tomas-zijdemans
Copy link
Contributor

@tomas-zijdemans tomas-zijdemans commented Jan 16, 2026

Should resolve: #6867

@codecov
Copy link

codecov bot commented Jan 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.09%. Comparing base (0aa59e2) to head (903f352).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6957      +/-   ##
==========================================
+ Coverage   94.08%   94.09%   +0.01%     
==========================================
  Files         600      601       +1     
  Lines       43540    43640     +100     
  Branches     6991     7020      +29     
==========================================
+ Hits        40965    41064      +99     
- Misses       2520     2521       +1     
  Partials       55       55              

☔ 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.

// Lines starting with colon are comments
if (line[0] === ":") {
const value = line.slice(1);
message.comment = message.comment !== undefined
Copy link
Contributor

Choose a reason for hiding this comment

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

There could be large or many comments in the stream and in some use cases they may never be used by the consumer. What do you think of having an option to ignore comments to avoid unnecessary processing? (Maybe even having it enabled by default.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ServerSentEventStream: decoding support

2 participants