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

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

Build:
Build:
LAST BUILD BRANCH: pull-request/3318
DEFAULT BRANCH: main
Ran 26 Oct 2026 09:01PM 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

26 Oct 2026 08:51PM UTC coverage: 36.837% (+0.1%) from 36.719%
40399526276

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>

47 of 87 new or added lines in 8 files covered. (54.02%)

5947 of 16144 relevant lines covered (36.84%)

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 40399526276.1 26 Oct 2026 09:01PM UTC 126
36.84
GitHub Action Run
Source Files on build 40399526276
  • Tree
  • List 126
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40399526276
  • 22e0fa44 on github
  • Prev Build on main (#40358882643)
  • Next Build on pull-request/3095 (#40441619963)
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