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

kubernetes-sigs / external-dns / 41539133647
84%

Build:
DEFAULT BRANCH: master
Ran 02 Nov 2026 10:47PM UTC
Jobs 2
Files 168
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

02 Nov 2026 10:39PM UTC coverage: 83.288% (+0.006%) from 83.282%
41539133647

push

github

web-flow
refactor(webhook): replace cenkalti/backoff with apimachinery wait (#6898)

* refactor(webhook): replace cenkalti/backoff with apimachinery wait

The module served a single 5-try retry loop at webhook startup and
brought a major-version bump every few months. k8s.io/apimachinery
is already a direct dependency and provides the same backoff.

Keep the v5 defaults (500ms, x1.5, jitter 0.5, 5 tries) and the
existing error text on exhausted retries. Add depguard rule so the
module is not re-added.

* fix(webhook): return context cause when retry ends after cancel

wait returns ErrWaitTimeout when ctx ends during the last attempt.

* fix(webhook): keep former retry jitter range

wait.Jitter only adds delay, so Jitter 0.5 gave [d, 1.5d] instead of
cenkalti's [0.5d, 1.5d].

* test(webhook): pass retry backoff as a parameter

Tests use a 1ms backoff instead of mutating the package variable.

* fix(webhook): report last attempt error when retry stops

A cancel or timeout hides why the webhook is unreachable. Also covers an empty backoff, which returned nil, nil.

* fix(webhook): return context cause when retry is cancelled

16451 of 19752 relevant lines covered (83.29%)

1470.83 hits per line

Coverage Regressions

Lines Coverage ∆ File
17
90.32
0.62% webhook/webhook.go
2
85.71
-14.29% informers/informers.go
Jobs
ID Job ID Ran Files Coverage
1 run-macos-latest - 41539133647.1 02 Nov 2026 10:49PM UTC 168
83.28
GitHub Action Run
2 run-ubuntu-latest - 41539133647.2 02 Nov 2026 10:47PM UTC 168
83.29
GitHub Action Run
Source Files on build 41539133647
  • Tree
  • List 168
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41539133647
  • 077b31ac on github
  • Prev Build on master (#41536890460)
  • Next Build on master (#41539151365)
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