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

umputun / rlb-stats / 33737335096
88%
master: 89%

Build:
Build:
LAST BUILD BRANCH: fix/aggregate-single-pass
DEFAULT BRANCH: master
Ran 03 Sep 2026 09:11AM UTC
Jobs 1
Files 8
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 Sep 2026 09:09AM UTC coverage: 88.425% (+0.4%) from 88.022%
33737335096

Pull #65

github

paskal
Aggregate candles in a single pass

Previously, aggregateCandles rebuilt each output window by rescanning the
whole candle slice, O(windows x candles): a 30-day dashboard with about 43k
minute candles and 100 windows walked the slice once per window. Candles are
now bucketed by window index in one pass over an input sorted by StartMinute,
keyed by an origin-aligned time, and non-empty windows are emitted in order.

Window offsets are counted in whole seconds instead of through time.Sub,
whose Duration saturates at roughly 292 years and would collapse candles
further apart than that into one window at a wrong timestamp. Cancellation is
checked at window boundaries so a cancelled request returns only complete
windows, never a partially filled one.

Bucket boundaries, skip-empty semantics and the partial result on
cancellation are unchanged. Tests cover the cancellation path and the
empty-window skip.
Pull Request #65: Aggregate candles in a single pass

49 of 50 new or added lines in 1 file covered. (98.0%)

1 existing line in 1 file now uncovered.

657 of 743 relevant lines covered (88.43%)

103.39 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
97.14
1.59% app/web/aggregate.go

Coverage Regressions

Lines Coverage ∆ File
1
97.14
1.59% app/web/aggregate.go
Jobs
ID Job ID Ran Files Coverage
1 33737335096.1 03 Sep 2026 09:11AM UTC 8
88.43
GitHub Action Run
Source Files on build 33737335096
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #65
  • PR Base - master (#32351751461)
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