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

NVIDIA / gpu-operator / 30579956687
45%
main: 38%

Build:
Build:
LAST BUILD BRANCH: pull-request/2750
DEFAULT BRANCH: main
Ran 30 Jul 2026 08:48PM UTC
Jobs 1
Files 73
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

30 Jul 2026 08:37PM UTC coverage: 44.411% (+5.6%) from 38.791%
30579956687

push

github

abrarshivani
Add unit tests for internal/state

Raise internal/state statement coverage from 37.8% to 97.2% with tests only.
Cover info_source (100%), manager SyncState/GetWatchSources/newStates error
paths, state_skel create/update/merge/getSyncState/isDaemonSetReady, driver
Sync/getManifestObjects/handleDefaultImagesInObjects/cleanupStaleDriverDaemonsets,
the GDS/GDRCopy/runtime spec helpers, driver spec/name/volume-config helpers,
and nodepool selection, using the controller-runtime fake client with
interceptors for injected errors and a fake manager where needed.

The ~2.8% that remains is the reachable ceiling: each uncovered statement is
either dead code (the getOSTag error branch that never fires; the SUSE
/lib/modules block gated by contradictory UsePrecompiledDrivers conditions),
a success return that loads the hardcoded on-disk path
/opt/gpu-operator/manifests/state-driver, a live-informer predicate closure in
GetWatchSources, or a provably-impossible SetNestedField error.

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

6472 of 14573 relevant lines covered (44.41%)

0.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30579956687.1 30 Jul 2026 08:48PM UTC 73
44.41
GitHub Action Run
Source Files on build 30579956687
  • Tree
  • List 73
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30579956687
  • fc4c21e6 on github
  • Prev Build on main (#30501975449)
  • Next Build on pull-request/2658 (#30581763409)
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