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

cenkalti / rain / 37149188682
51%

Build:
DEFAULT BRANCH: master
Ran 03 Oct 2026 07:48PM UTC
Jobs 1
Files 169
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 Oct 2026 07:46PM UTC coverage: 50.895% (+0.03%) from 50.866%
37149188682

push

github

cenkalti
lint: stop shadowing builtins, fix gofmt and else-flow

Go 1.21 made min, max and clear builtins, and nine locals still shadowed
them, so inside those functions the builtin was unreachable:

  stree.endpoints      named returns min, max -> lo, hi
  mse.readSync         parameter max          -> remaining
  metainfo.cleanNameN  parameter max          -> maxLen
  metainfo.trimName    parameter max          -> maxLen
  console.triggerUpdateDetails  parameter clear -> clearFirst

Two else branches followed an if that already returned or broke, so they
are outdented. In peerwriter.queueMessage the break leaves the switch
rather than a loop, which the restructure preserves and now says out
loud; its two paths are covered by the queue tests.

Also reformats parse_test.go, the one file gofmt flagged.

No behavior change. Found by running the Go Report Card check set
locally, since the service itself has shut down.

15 of 22 new or added lines in 6 files covered. (68.18%)

2 existing lines in 1 file now uncovered.

6115 of 12015 relevant lines covered (50.89%)

85.2 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
28.51
0.0% torrent/session_torrent.go
2
0.0
0.0% internal/console/updaters.go
2
65.41
0.0% internal/mse/mse.go

Coverage Regressions

Lines Coverage ∆ File
2
93.19
0.0% internal/peerconn/peerreader/peerreader.go
Jobs
ID Job ID Ran Files Coverage
1 37149188682.1 03 Oct 2026 07:48PM UTC 169
50.89
GitHub Action Run
Source Files on build 37149188682
  • Tree
  • List 169
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fd9826fa on github
  • Prev Build on master (#37146811107)
  • Next Build on master (#37149588664)
  • Delete
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