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

umputun / rlb-stats / 38139198471
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: nginx-tail-mode
DEFAULT BRANCH: master
Ran 11 Oct 2026 12:26PM UTC
Jobs 1
Files 12
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

11 Oct 2026 12:24PM UTC coverage: 84.089% (-4.4%) from 88.518%
38139198471

Pull #67

github

paskal
Address revmux r2 findings

- Test for the drain-before-reopen fix now actually covers the race window.
  The r1 test passed with the drain removed because the top-of-loop drain
  always runs before stat under Run's ticker loop. The new test calls
  tl.open, tl.drain, writes to the old inode after the drain returned,
  rotates the file, and calls tl.checkRotation directly. Mutation-verified:
  removing the drain block in checkRotation breaks the test as expected.

- A Host header with the reserved value "all" would collide with AllNode:
  Candle.Update iterates ["all", "all"] and double-counts the request.
  parser.go now remaps that value to "all-host" at the ingestion boundary.
  POST /api/insert already rejects dest="all"; this is the nginx-side twin.

- README: the CF-* fields are client-controlled on anything that is not
  CF-only origin. Document the spoof risk and the two mitigations
  (restrict origin to CF IP ranges, or hard-code "-" in log_format).

The ReadBytes-pre-allocates-before-maxLineBytes-check finding is accepted
as immaterial; the 1 MiB cap plus typical ~1-2 KB access-log lines bound
growth in practice. A ReadSlice-based bounded reader is left for a
follow-up if a malicious writer ever shows up in anger.
Pull Request #67: Add nginx tail mode: ingest access log directly

345 of 447 new or added lines in 10 files covered. (77.18%)

983 of 1169 relevant lines covered (84.09%)

79.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
47
69.48
app/nginx/tail.go
30
0.0
0.0% app/main.go
9
88.0
app/nginx/parser.go
6
90.12
-7.06% app/web/aggregate.go
4
95.53
-0.53% app/web/dashboard.go
2
89.47
app/nginx/consume.go
2
96.23
app/nginx/filter.go
2
96.55
-3.45% app/store/candle.go
Jobs
ID Job ID Ran Files Coverage
1 38139198471.1 11 Oct 2026 12:26PM UTC 12
84.09
GitHub Action Run
Source Files on build 38139198471
  • Tree
  • List 12
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #67
  • PR Base - master (#34170407953)
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