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

NVIDIA / gpu-operator / 42857493601
37%
main: 39%

Build:
Build:
LAST BUILD BRANCH: pull-request/3318
DEFAULT BRANCH: main
Ran 10 Nov 2026 04:58PM UTC
Jobs 1
Files 128
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

10 Nov 2026 04:41PM UTC coverage: 37.427% (+0.1%) from 37.316%
42857493601

push

github

rajathagasthya
Filter DaemonSet watch updates to readiness changes

The ClusterPolicy and GPUCluster controllers watch their DaemonSets
without a predicate, so every status update enqueues a full reconcile.
During a rollout the DaemonSet controller rewrites the status once per
pod, which at fleet scale means thousands of reconciles that compute
the same result.

Add a predicate that passes an update only when the generation, labels,
annotations, owner references, or deletion state change, or when one of
the status comparisons the reconcilers read changes: desired, current,
unavailable, or misscheduled reaching or leaving zero, updated or
available reaching or leaving the desired count, or the observed
generation catching up. Pod count changes that leave all of these equal
are dropped. The not-ready requeue still polls DaemonSets that are
mid-rollout. Updates with an unchanged resource version (informer
resync or relist) still pass: the DaemonSet watch is the only
ClusterPolicy watch that lets them through, and they are what makes a
Ready ClusterPolicy reconcile at the cache sync period and restore
objects the operator creates but does not watch.

Signed-off-by: Rajath Agasthya <ragasthya@nvidia.com>

30 of 32 new or added lines in 3 files covered. (93.75%)

6083 of 16253 relevant lines covered (37.43%)

0.38 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
33.75
-0.11% controllers/clusterpolicy_controller.go
1
51.61
-1.72% internal/state/gpucluster.go
Jobs
ID Job ID Ran Files Coverage
1 42857493601.1 10 Nov 2026 04:58PM UTC 128
37.43
GitHub Action Run
Source Files on build 42857493601
  • Tree
  • List 128
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42857493601
  • baf617b1 on github
  • Prev Build on main (#42710704455)
  • Next Build on pull-request/3100 (#42872672443)
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