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

NVIDIA / gpu-operator / 20148139505
24%
main: 24%

Build:
Build:
LAST BUILD BRANCH: pull-request/1907
DEFAULT BRANCH: main
Ran 11 Dec 2025 09:41PM UTC
Jobs 1
Files 53
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 Dec 2025 10:18AM UTC coverage: 23.622% (-0.002%) from 23.624%
20148139505

push

github

anujoss
fix(controller): do not apply driver upgrade annotation when driver is disabled

The applyDriverAutoUpgradeAnnotation() function was applying the
nvidia.com/gpu-driver-upgrade-enabled annotation to GPU nodes even
when driver.enabled=false. This occurred because the function only
checked if driver.upgradePolicy.autoUpgrade was true, without
verifying that the driver component itself was enabled.

This fix adds a check for Driver.IsEnabled() before applying the
annotation, ensuring it is only set when:
1. Driver is enabled
2. Auto-upgrade policy exists and is enabled
3. Sandbox workloads are disabled

Added unit tests to validate the fix and prevent regression.

Fixes #1277

Signed-off-by: Anuj Dube <anujdubesn@gmail.com>

0 of 2 new or added lines in 1 file covered. (0.0%)

2781 of 11773 relevant lines covered (23.62%)

0.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
27.46
-0.04% controllers/state_manager.go
Jobs
ID Job ID Ran Files Coverage
1 20148139505.1 11 Dec 2025 09:41PM UTC 53
23.62
GitHub Action Run
Source Files on build 20148139505
  • Tree
  • List 53
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20148139505
  • b0249cfc on github
  • Prev Build on main (#20077352087)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc