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

cenkalti / rain / 27312094105
41%

Build:
DEFAULT BRANCH: master
Ran 10 Jun 2026 11:06PM UTC
Jobs 1
Files 127
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

10 Jun 2026 11:05PM UTC coverage: 40.868% (-0.01%) from 40.881%
27312094105

push

github

jakealti
refactor: modernize sorting with slices.SortFunc and builtin min

Replace sort.Slice/sort.Sort with slices.SortFunc (cmp.Compare/cmp.Or)
across piecepicker, unchoker, addrlist, magnet, and console, and use
slices.Sort for the string sort in jsonutil. Drop the redundant generic
min helper in piece (the Go 1.21 builtin covers both call sites).

addrlist's byTimestamp sort.Interface maintained a positional index in
its Swap method; since slices.SortFunc does not call Swap, re-index
explicitly after sorting and remove the now-dead type.

No behavior change: sort.Slice and slices.SortFunc are both unstable.

16 of 31 new or added lines in 7 files covered. (51.61%)

1 existing line in 1 file now uncovered.

4885 of 11953 relevant lines covered (40.87%)

46.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
0.0
0.0% internal/console/console.go
2
34.75
0.0% internal/piecepicker/webseed.go
1
81.82
0.0% internal/unchoker/unchoker.go

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% internal/console/console.go
Jobs
ID Job ID Ran Files Coverage
1 27312094105.1 10 Jun 2026 11:06PM UTC 127
40.87
GitHub Action Run
Source Files on build 27312094105
  • Tree
  • List 127
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f2272805 on github
  • Prev Build on master (#27312023124)
  • Next Build on master (#27312370454)
  • Delete
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