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

umputun / rlb-stats / 28681705165
85%
master: 83%

Build:
Build:
LAST BUILD BRANCH: fix/candle-precedence
DEFAULT BRANCH: master
Ran 03 Jul 2026 08:20PM UTC
Jobs 1
Files 7
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 Jul 2026 08:19PM UTC coverage: 83.951% (+0.5%) from 83.465%
28681705165

Pull #59

github

paskal
fix: merge same-minute candles on save instead of overwriting

Bolt.Save keyed candles by StartMinute.Unix() and did a plain Put, so a second
candle for the same minute overwrote the first. This happens when the aggregator
flushes a partial minute on shutdown and the process restarts within that same
minute: the restart's candle replaced the flushed one and its stats were lost.

Merge the incoming candle with any candle already stored for the same key. Normal
operation saves each minute once and never merges; the merge only runs on this
abnormal duplicate-key path. Counts are summed, so an ip+file pair spanning two
fragments can be over-counted - accepted as best-effort recovery versus the
previous behaviour of dropping the earlier fragment entirely.
Pull Request #59: fix: merge same-minute candles on save instead of overwriting

24 of 26 new or added lines in 2 files covered. (92.31%)

6 existing lines in 1 file now uncovered.

340 of 405 relevant lines covered (83.95%)

10.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
80.65
-0.49% app/store/bolt.go

Coverage Regressions

Lines Coverage ∆ File
6
80.65
-0.49% app/store/bolt.go
Jobs
ID Job ID Ran Files Coverage
1 28681705165.1 03 Jul 2026 08:20PM UTC 7
83.95
GitHub Action Run
Source Files on build 28681705165
  • Tree
  • List 7
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #59
  • PR Base - master (#23716914332)
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