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

NVIDIA / gpu-operator / 43999613321
40%
main: 39%

Build:
Build:
LAST BUILD BRANCH: pull-request/3318
DEFAULT BRANCH: main
Ran 17 Nov 2026 02:06AM UTC
Jobs 1
Files 129
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

17 Nov 2026 01:58AM UTC coverage: 38.397% (+0.1%) from 38.292%
43999613321

push

github

aryangorwade
Compare RuntimeClass, ServiceAccount, and DeviceClass objects

Add three kinds to the list that ContentEqual compares, so unchanged objects of
these kinds are no longer updated on every reconcile:

- RuntimeClass: the API server adds no defaults. This removes the updates of the
  nvidia, nvidia-cdi, and nvidia-legacy RuntimeClasses on the ClusterPolicy path.
- ServiceAccount: the API server adds no defaults, but other controllers add
  secrets and image pull secrets. createOrUpdateObjs now merges the live ones into
  the desired object before the comparison, so they do not count as a change.
  ClusterPolicy ServiceAccounts were already create-only.
- DeviceClass: the vendored v1, v1beta2, and v1beta1 types define no defaults for
  the fields the DRA driver manifests set.

The tests add comparison cases for each kind and check that the second NVIDIADriver
sync, the second DRA driver sync, and a second RuntimeClasses call write nothing.

Signed-off-by: Aryan Gorwade <gorwadearyan@gmail.com>

3 of 3 new or added lines in 1 file covered. (100.0%)

66 existing lines in 4 files now uncovered.

6155 of 16030 relevant lines covered (38.4%)

0.38 hits per line

Coverage Regressions

Lines Coverage ∆ File
43
33.75
-0.11% controllers/clusterpolicy_controller.go
10
51.61
-1.72% internal/state/gpucluster.go
9
90.0
0.0% internal/utils/sync_object.go
4
97.61
0.0% internal/state/state_skel.go
Jobs
ID Job ID Ran Files Coverage
1 43999613321.1 17 Nov 2026 02:06AM UTC 129
38.4
GitHub Action Run
Source Files on build 43999613321
  • Tree
  • List 129
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43999613321
  • d8f50a40 on github
  • Prev Build on pull-request/3228 (#43292063528)
  • Next Build on pull-request/3228 (#44215517137)
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