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

Mellanox / nvidia-k8s-ipam / 34573684208
60%

Build:
DEFAULT BRANCH: main
Ran 11 Sep 2026 07:22AM UTC
Jobs 1
Files 46
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

11 Sep 2026 07:17AM UTC coverage: 59.855% (-0.07%) from 59.928%
34573684208

push

github

web-flow
feat: configurable stale-allocation cleanup and release cooldown for IP allocations (#280)

* feat: add flags to configure stale IP cleanup interval and TTL

Cooldown before released IPs can be reused is a per-datacenter policy,
but ipam-node hardcoded the cleaner's check interval (1m) and stale
check count (3), giving no way to tune the release TTL.
Adds --stale-ip-check-interval and --stale-ip-check-count-before-release
flags to configure them, defaulting to the prior hardcoded values.

Signed-off-by: Wei-Chen Chen <zarcen@gmail.com>
Signed-off-by: Wei-Chen Chen <weichen.chen@omniva.com>

* feat: add release cooldown for stale IP allocations

Normal CNI DEL releases an IP immediately, so the stale-cleanup flags
alone don't provide a cooldown before an IP can be reused (#181).
Adds --released-ip-cooldown to hold a released reservation in the
store, blocking its IP from reuse, until the cleaner removes it once
the cooldown expires. Defaults to 0, preserving immediate release.

Signed-off-by: Wei-Chen Chen <zarcen@gmail.com>
Signed-off-by: Wei-Chen Chen <weichen.chen@omniva.com>

* chore: apply release cooldown to orphan cleanup too

Signed-off-by: Wei-Chen Chen <zarcen@gmail.com>
Signed-off-by: Wei-Chen Chen <weichen.chen@omniva.com>

* chore: exclude ReleasedAt from the checksum in store

Signed-off-by: Wei-Chen Chen <zarcen@gmail.com>
Signed-off-by: Wei-Chen Chen <weichen.chen@omniva.com>

---------

Signed-off-by: Wei-Chen Chen <zarcen@gmail.com>
Signed-off-by: Wei-Chen Chen <weichen.chen@omniva.com>

77 of 127 new or added lines in 9 files covered. (60.63%)

1 existing line in 1 file now uncovered.

2721 of 4546 relevant lines covered (59.85%)

92.2 hits per line

Uncovered Changes

Lines Coverage ∆ File
40
0.0
0.0% cmd/ipam-node/app/options/options.go
6
0.0
pkg/ipam-node/store/storetest/storetest.go
2
79.31
-3.3% pkg/ipam-node/handlers/deallocate.go
2
76.47
-3.53% pkg/ipam-node/types/types.go

Coverage Regressions

Lines Coverage ∆ File
1
76.47
-3.53% pkg/ipam-node/types/types.go
Jobs
ID Job ID Ran Files Coverage
1 34573684208.1 11 Sep 2026 07:22AM UTC 46
59.85
GitHub Action Run
Source Files on build 34573684208
  • Tree
  • List 46
  • Changed 9
  • Source Changed 8
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34573684208
  • 238f950d on github
  • Prev Build on main (#34441369020)
  • Next Build on main (#34604557038)
  • 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