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

Logflare / logflare / eb627fd3139b14117a3f98d9d02b2872ee117b05-PR-3626
82%
main: 82%

Build:
Build:
LAST BUILD BRANCH: refactor/source-schema-from-flatmap
DEFAULT BRANCH: main
Ran 22 Jun 2026 11:41PM UTC
Jobs 1
Files 487
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

22 Jun 2026 11:27PM UTC coverage: 81.423% (-0.04%) from 81.461%
eb627fd3139b14117a3f98d9d02b2872ee117b05-PR-3626

Pull #3626

github

djwhitt
fix(queue janitor): CAS-protect the stale drop path

The drop branch of act_on_stale_event matched any :processing row with the
target id and ignored select_delete's return, so it reported :drop even when
nothing was deleted (inflating the dropped data-loss metric) and could, in the
narrow lookup->delete window, delete a row that had been acked and re-claimed
under the same id.

Pin the exact row observed by the lookup as the CAS match in both the drop and
reset branches (which also guards claimed_at, so a freshly re-claimed row no
longer matches) and gate the :drop/:reset verdict on the operation count, so
telemetry only counts rows actually changed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pull Request #3626: refactor(ingest queue): timestamp-based stale :processing recovery

29 of 35 new or added lines in 3 files covered. (82.86%)

25 existing lines in 6 files now uncovered.

13329 of 16370 relevant lines covered (81.42%)

5067.46 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
82.02
-4.72% lib/logflare/backends/ingest_event_queue/queue_janitor.ex

Coverage Regressions

Lines Coverage ∆ File
13
87.17
0.45% lib/logflare/backends/ingest_event_queue.ex
6
82.02
-4.72% lib/logflare/backends/ingest_event_queue/queue_janitor.ex
3
67.86
-10.71% lib/logflare/gen_singleton/watcher.ex
1
30.77
-3.85% lib/logflare/sources/source/text_notification_server.ex
1
14.29
-7.14% lib/logflare/system_metrics/cluster.ex
1
56.47
-1.18% lib/telemetry.ex
Jobs
ID Job ID Ran Files Coverage
1 eb627fd3139b14117a3f98d9d02b2872ee117b05-PR-3626.1 22 Jun 2026 11:41PM UTC 487
81.42
GitHub Action Run
Source Files on build eb627fd3139b14117a3f98d9d02b2872ee117b05-PR-3626
  • Tree
  • List 487
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #3626
  • PR Base - main (#328E4BCB...)
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