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

Mellanox / nic-configuration-operator / 38883510816-1
60%

Build:
DEFAULT BRANCH: main
Ran 16 Oct 2026 09:56AM UTC
Jobs 1
Files 72
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

16 Oct 2026 09:53AM UTC coverage: 59.513% (-0.04%) from 59.548%
38883510816-1

push

github

web-flow
fix: scope daemon NicDevice and Node caches to the local node (#546)

Every configuration daemon cached all NicDevice and Node objects in
the cluster, so per-pod memory grew with cluster size and the total
across the cluster grew with its square. On large clusters the daemon
can exceed its memory limit during the initial list.

Declare .status.node as a selectable field on the NicDevice CRD and
restrict the daemon's NicDevice informer to its own node. Restrict the
Node informer to the daemon's own Node with a metadata.name selector.

At startup the daemon checks that the API server accepts the
status.node field selector. When the installed CRD predates the
selectable field, it logs this and keeps the cluster-wide NicDevice
cache, so an upgrade that leaves the old CRD in place keeps working.

A NicDevice without status.node is outside the scoped cache. Device
discovery therefore re-reads an existing CR through the uncached API
reader when Create reports AlreadyExists.

Downstream report: https://github.com/NVIDIA/aicr/issues/3149

Signed-off-by: Mike Cook <micook@nvidia.com>

20 of 61 new or added lines in 3 files covered. (32.79%)

9 existing lines in 2 files now uncovered.

6556 of 11016 relevant lines covered (59.51%)

0.6 hits per line

Uncovered Changes

Lines Coverage ∆ File
41
0.0
0.0% cmd/nic-configuration-daemon/main.go

Coverage Regressions

Lines Coverage ∆ File
6
80.87
-1.09% internal/controller/nicfirmwaresource_controller.go
3
85.69
-0.14% internal/controller/nicdevice_controller.go
Jobs
ID Job ID Ran Files Coverage
1 38883510816-1.1 16 Oct 2026 09:56AM UTC 72
59.51
GitHub Action Run
Source Files on build 38883510816-1
  • Tree
  • List 72
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38883510...
  • 1a1751ca on github
  • Prev Build on network-operator-26.10.x (#38883401...)
  • Next Build on main (#38905597...)
  • 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