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

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

Build:
Build:
LAST BUILD BRANCH: pull-request/3318
DEFAULT BRANCH: main
Ran 27 Oct 2026 03:06AM UTC
Jobs 1
Files 126
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

27 Oct 2026 02:59AM UTC coverage: 36.833% (+0.1%) from 36.719%
40441619963

push

github

rajathagasthya
Log one line per reconcile and record GPU node count on both paths

The operator exposes reconcile duration as a histogram, which carries
no timestamps. Scale benchmarks had to turn on controller-runtime V(5)
logs to find when a reconcile started, and those logs are too noisy at
thousands of nodes. The gpu_operator_gpu_nodes_total gauge was also set
only on the ClusterPolicy path.

Wrap every controller's reconciler so it logs one "Reconcile finished"
line at the default info level with the start time (RFC 3339), the
duration in seconds, and the outcome (success, requeue, error, or
panic). All reconcilers now log through the controller-runtime context
logger, so the existing "Reconciling ..." start line and the finished
line carry the same reconcileID, and an unmatched start shows a
reconcile still in progress. The GPUCluster controller sets
gpu_operator_gpu_nodes_total from a cached list of GPU nodes before its
prerequisite check, so the count stays current while a conflicting
ClusterPolicy blocks the GPUCluster.

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

46 of 86 new or added lines in 8 files covered. (53.49%)

5946 of 16143 relevant lines covered (36.83%)

0.37 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
33.86
0.21% controllers/clusterpolicy_controller.go
12
50.17
0.34% controllers/upgrade_controller.go
5
14.85
0.0% cmd/gpu-operator/main.go
4
56.31
0.93% controllers/gpucluster_controller.go
2
63.1
0.08% controllers/nodelabeling_controller.go
1
38.87
0.0% controllers/nvidiadriver_controller.go
Jobs
ID Job ID Ran Files Coverage
1 40441619963.1 27 Oct 2026 03:06AM UTC 126
36.83
GitHub Action Run
Source Files on build 40441619963
  • Tree
  • List 126
  • Changed 7
  • Source Changed 7
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40441619963
  • baa12bb3 on github
  • Prev Build on main (#40358882643)
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