• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / realtime / 41654447227
93%

Build:
DEFAULT BRANCH: main
Ran 03 Nov 2026 02:39PM UTC
Jobs 1
Files 134
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Nov 2026 02:30PM UTC coverage: 92.879% (-0.04%) from 92.917%
41654447227

push

github

web-flow
feat: record broadcast request outcomes over HTTP (#2428)

Record one outcome for each Broadcast message that a client sends over
HTTP. This covers the single endpoint and the batch endpoint. The outcome
uses the same event and metric as the WebSocket path.

SingleBroadcast.broadcast/7 and BatchBroadcast.broadcast/4 return their
outcome next to their result. The controllers call RequestMetrics.track/4,
which records each outcome and returns the result unchanged. A crash is
recorded as an internal failure and raised again.

The controller records the requests that it rejects before it calls
SingleBroadcast: a body that is not a JSON object, and a persist option that
is not valid. The error text and the status code do not change.

A batch gets one outcome for each message. An invalid batch still fails with
a 422, but each message keeps its own reason. A list with an entry that is
not an object counts one invalid request for each entry. The batch handlers
for authorization errors use the same error mapping as SingleBroadcast, so
a database failure counts as an upstream failure.

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>

82 of 82 new or added lines in 5 files covered. (100.0%)

7 existing lines in 3 files now uncovered.

4565 of 4915 relevant lines covered (92.88%)

5197.76 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
86.96
-10.87% lib/realtime/telemetry/logger.ex
1
80.77
-3.85% lib/realtime/monitoring/distributed_metrics.ex
1
93.22
0.0% lib/realtime/monitoring/gen_rpc_metrics.ex
Jobs
ID Job ID Ran Files Coverage
1 41654447227.1 03 Nov 2026 02:39PM UTC 536
61.97
GitHub Action Run
Source Files on build 41654447227
  • Tree
  • List 134
  • Changed 112
  • Source Changed 5
  • Coverage Changed 112
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41654447227
  • 2ab2a6d9 on github
  • Prev Build on main (#41612021812)
  • Next Build on main (#41746461402)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc