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

tecnickcom / nurago / 29375966005
100%

Build:
DEFAULT BRANCH: main
Ran 14 Jul 2026 11:26PM UTC
Jobs 1
Files 202
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

14 Jul 2026 11:22PM UTC coverage: 100.0%. Remained the same
29375966005

push

github

nicolaasuni
feat(periodic): add opt-in WithInitialJitter to spread the first tick, and fix the thundering-herd doc over-promise

The first invocation was always eager (~1 ns), so a fleet-wide restart fired every replica's first call within milliseconds — the exact thundering herd periodic.go claimed to prevent. WithInitialJitter now delays the first call by a random duration in [0, jitter) when set. The eager 1 ns default is unchanged, so no existing caller changes behavior.

- New takes a variadic opts ...Option tail; four-argument calls still compile.
- Add the Option type and WithInitialJitter in a new options.go, with options_test.go, matching the repo convention.
- Correct the docs: the first call is deliberately not jittered by default, and the per-tick jitter spreads steady-state load between calls, not on simultaneous startup.

17156 of 17156 relevant lines covered (100.0%)

14573.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29375966005.1 14 Jul 2026 11:26PM UTC 202
100.0
GitHub Action Run
Source Files on build 29375966005
  • Tree
  • List 202
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29375966005
  • 99c799e4 on github
  • Prev Build on main (#29372811709)
  • Next Build on main (#29401775615)
  • 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