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

nogipx / rpc_dart / 27817225806
84%

Build:
DEFAULT BRANCH: main
Ran 19 Jun 2026 09:26AM UTC
Jobs 1
Files 71
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

19 Jun 2026 09:22AM UTC coverage: 83.903%. Remained the same
27817225806

push

github

nogipx
fix(rpc_dart_opentelemetry): contain handler errors, stop double-delivery crash

The opentelemetry `zone()` helper attaches `result.whenComplete(...)` to the
run'd future and discards the derived future. When that future completes with
an error (a handler throwing RpcStatusException — the normal way to return an
error status), the error is delivered to the zone unhandled. On a server it
reaches the root zone and kills the isolate, while the awaiting caller ALSO
receives it (double delivery). Net effect: the server crashed on every expected
RPC error (e.g. auth failures).

Run `next()` inside the OTel context via `_runInContext`, which catches inside
the zone so the run'd future always completes successfully with an _Outcome,
then re-surfaces the error outside the zone where it propagates normally — to
the caller only. Applied to all four call types (unary, server/client/bidi
stream). Adds an end-to-end repro test (caller gets the status, nothing escapes
to the zone).

4936 of 5883 relevant lines covered (83.9%)

11.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27817225806.1 19 Jun 2026 09:26AM UTC 71
83.9
GitHub Action Run
Source Files on build 27817225806
  • Tree
  • List 71
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27817225806
  • c68d47e8 on github
  • Prev Build on main (#27793948190)
  • Next Build on main (#27850313175)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc