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

umputun / reproxy / 25721842582
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: per-route-timeout-throttle
DEFAULT BRANCH: master
Ran 12 May 2026 08:08AM UTC
Jobs 1
Files 19
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

12 May 2026 08:07AM UTC coverage: 78.372% (+0.01%) from 78.358%
25721842582

Pull #251

github

umputun
fix: address Copilot review on PR #251

Apply modulo on lastSelected write to keep [0, n) invariant - matches
original code's wrap-to-0 semantics when n changes, while still bounding
the returned value to current n. Both forms fix the panic; this one has
smaller behavioral delta from pre-fix code.

Add TestRoundRobinSelector_SelectGrowingN that pins the wrap behavior
when n grows back (e.g., dead backend recovers), catching regression
to the non-modulo write.

Expand the //nolint:gosec comment on the http->https redirect to spell
out the threat model (Host header is browser-set from URL hostname,
so a foreign Host can't be injected into a victim's request).
Pull Request #251: fix(proxy): bound RoundRobinSelector return to current n (#250)

5 of 5 new or added lines in 2 files covered. (100.0%)

2417 of 3084 relevant lines covered (78.37%)

24.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25721842582.1 12 May 2026 08:08AM UTC 19
78.37
GitHub Action Run
Source Files on build 25721842582
  • Tree
  • List 19
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #251
  • PR Base - master (#23132077120)
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