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

NVIDIA / gpu-operator / 33574597392
44%
main: 45%

Build:
Build:
LAST BUILD BRANCH: pull-request/3089
DEFAULT BRANCH: main
Ran 02 Sep 2026 12:28AM UTC
Jobs 1
Files 75
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

02 Sep 2026 12:13AM UTC coverage: 43.965% (+0.2%) from 43.742%
33574597392

push

github

abrarshivani
Apply go fix to internal/state tests

Runs go fix over the test files this PR adds: 14 ptr.To(x) calls become
new(x), and 6 interface{} become any. Three files no longer need the
k8s.io/utils/ptr import.

Limited to the files this PR touches. Running go fix ./... across the
repo rewrites 48 files, and the production sources in this package are
among them, so applying it everywhere would pull unrelated churn into a
tests-only change. That pass is worth doing on its own.

Note go fix leaves the explicitly instantiated ptr.To[int32] calls alone,
so the Deployment replica fixtures still use ptr.To.

Coverage stays at 93.9% with per-function numbers identical.

Signed-off-by: Abrar Shivani <ashivani@nvidia.com>

5700 of 12965 relevant lines covered (43.96%)

0.44 hits per line

Coverage Regressions

Lines Coverage ∆ File
574
60.23
0.31% controllers/object_controls.go
376
10.83
-0.9% cmd/nvidia-validator/main.go
110
11.16
2.68% api/nvidia/v1/clusterpolicy_types.go
77
33.65
1.07% controllers/clusterpolicy_controller.go
19
12.69
-0.26% cmd/gpu-operator/main.go
13
14.42
-0.14% cmd/gpuop-cfg/validate/clusterpolicy/images.go
7
2.84
2.84% cmd/nvidia-validator/metrics.go
6
87.8
-0.8% internal/state/manager.go
2
98.27
-0.01% internal/state/driver.go
2
95.06
-0.06% internal/state/nodepool.go
Jobs
ID Job ID Ran Files Coverage
1 33574597392.1 02 Sep 2026 12:27AM UTC 75
43.96
GitHub Action Run
Source Files on build 33574597392
  • Tree
  • List 75
  • Changed 20
  • Source Changed 20
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33574597392
  • cd584a73 on github
  • Prev Build on pull-request/2658 (#33573204370)
  • Next Build on pull-request/2658 (#33575743808)
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