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

Logflare / logflare / 36458417052-1
83%
main: 83%

Build:
Build:
LAST BUILD BRANCH: fix/bq-schema-admission
DEFAULT BRANCH: main
Ran 28 Sep 2026 05:38PM UTC
Jobs 1
Files 478
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

28 Sep 2026 05:28PM UTC coverage: 83.27% (+0.02%) from 83.25%
36458417052-1

Pull #4067

github

Baishan
fix: flush the disk rotating WAL on an idle timer, not just on commit

RotatingWal only rotated (sealed the active segment and shipped it to
the inner backend) from inside commit/4, so the time-based rotation
check never ran once traffic stopped — a pending tail would sit in the
local WAL file until the next append or a clean shutdown, never
clearing during a drain.

Track the interval on a `:timer.send_interval/2` tick delivered to the
owning process as `{:backend, :flush_tick}` and routed through the
existing `handle_message/2` hook, forcing a rotation once
max_rotation_interval_ms has elapsed since the last one, independent of
whether new appends are arriving.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Pull Request #4067: fix: flush the disk rotating WAL on an idle timer during drain

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

1 existing line in 1 file now uncovered.

15733 of 18894 relevant lines covered (83.27%)

2085.43 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
94.54
-0.55% lib/logflare/backends/spool/consumer_pipeline/queue_producer.ex
Jobs
ID Job ID Ran Files Coverage
1 36458417052-1.1 28 Sep 2026 05:38PM UTC 478
83.27
GitHub Action Run
Source Files on build 36458417052-1
  • Tree
  • List 478
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36458417...
  • Pull Request #4067
  • PR Base - main (#35927000...)
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