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

Logflare / logflare / d0bdf1c243a4bb2767be56cb30dcdb05ced5d9e9
82%

Build:
DEFAULT BRANCH: main
Ran 25 Jun 2026 03:00PM UTC
Jobs 1
Files 487
Run time 2min
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

25 Jun 2026 02:46PM UTC coverage: 81.629% (+0.005%) from 81.624%
d0bdf1c243a4bb2767be56cb30dcdb05ced5d9e9

push

github

web-flow
fix(ingest queue): tolerate dead ETS table on add_to_table insert (#3635)

A BufferProducer owns its per-queue :ets table (no heir), so the table is
reclaimed the moment the producer process exits — routine during
DynamicPipeline scale-down. add_to_table/3 resolves a tid via get_tid
(which liveness-checks the table) and then inserts, leaving a TOCTOU
window: the producer can die between the check and the :ets.insert,
raising ArgumentError that propagates up through dispatch_to_backends and
crashes the whole ingest batch.

Wrap the insert in a try/rescue. On ArgumentError, re-route the batch to
the supervisor-owned startup queue ({sid, bid, nil} /
{:consolidated, bid, nil}) — the same queue a clean producer exit drains
to, and which the scaler treats as a scale-up signal so a new producer
picks it up. Bottom out with {:error, :not_initialized} if the startup
queue is gone too, guarding against recursion. Emit the existing
:stale_table telemetry so the fallback is observable.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

6 of 6 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

13437 of 16461 relevant lines covered (81.63%)

5220.39 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
30.77
-3.85% lib/logflare/sources/source/text_notification_server.ex
Jobs
ID Job ID Ran Files Coverage
1 d0bdf1c243a4bb2767be56cb30dcdb05ced5d9e9.1 25 Jun 2026 03:00PM UTC 487
81.63
GitHub Action Run
Source Files on build d0bdf1c243a4bb2767be56cb30dcdb05ced5d9e9
  • Tree
  • List 487
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d0bdf1c2 on github
  • Prev Build on main (#82EF4CE0...)
  • Next Build on main (#E19ED729...)
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