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

umputun / rlb-stats / 28681985834
84%
master: 83%

Build:
Build:
LAST BUILD BRANCH: fix/candle-precedence
DEFAULT BRANCH: master
Ran 03 Jul 2026 08:27PM 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:26PM UTC coverage: 83.29% (-0.2%) from 83.465%
28681985834

Pull #60

github

paskal
fix: correct /api/candle aggregate/max_points precedence

The README states aggregate overrides max_points, but the handler parsed
max_points last so it actually won. Restructure so an explicit aggregate is
used and max_points is skipped entirely when present, matching the docs.

While here, fix two adjacent max_points bugs surfaced in review:
- max_points=0 divided by zero; now rejected (must be 1..255)
- ParseInt(_, 8) rejected the documented max of 255 and accepted negatives;
  use ParseUint with an explicit 1..255 range check

Document the 1..255 range and the aggregate-overrides note in the README.
Pull Request #60: fix: correct /api/candle aggregate/max_points precedence

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

1 existing line in 1 file now uncovered.

319 of 383 relevant lines covered (83.29%)

10.58 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
95.28
-0.72% app/web/server.go
Jobs
ID Job ID Ran Files Coverage
1 28681985834.1 03 Jul 2026 08:27PM UTC 7
83.29
GitHub Action Run
Source Files on build 28681985834
  • Tree
  • List 7
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #60
  • 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