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

NVIDIA / gpu-operator / 25339404316
28%
main: 29%

Build:
Build:
LAST BUILD BRANCH: release-26.3
DEFAULT BRANCH: main
Ran 04 May 2026 07:45PM UTC
Jobs 1
Files 54
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

04 May 2026 06:52PM UTC coverage: 28.32% (-0.007%) from 28.327%
25339404316

push

github

harche
Fix nil pointer panic in upgrade controller when DrainSpec is not set

When UpgradePolicy.AutoUpgrade is true but no drain section is specified
in the ClusterPolicy, the upgrade controller panics at
upgrade_controller.go:172 due to a nil DrainSpec dereference.

Add a nil check for DrainSpec and initialize it with defaults when not
set, consistent with how UpgradePolicy itself is handled on line 160.

Fixes: https://github.com/NVIDIA/gpu-operator/issues/2417

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Harshal Patil <12152047+harche@users.noreply.github.com>

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

3529 of 12461 relevant lines covered (28.32%)

0.32 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
0.0
0.0% controllers/upgrade_controller.go
Jobs
ID Job ID Ran Files Coverage
1 25339404316.1 04 May 2026 07:45PM UTC 54
28.32
GitHub Action Run
Source Files on build 25339404316
  • Tree
  • List 54
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25339404316
  • 03abb74b on github
  • Prev Build on main (#25322592760)
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

© 2026 Coveralls, Inc