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

NVIDIA / nodewright / 27029871753
82%

Build:
DEFAULT BRANCH: main
Ran 05 Jun 2026 05:44PM UTC
Jobs 1
Files 46
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

05 Jun 2026 05:27PM UTC coverage: 81.626% (-0.05%) from 81.676%
27029871753

push

github

web-flow
feat(cli): update-state + targeted reset --package (closes #257) (#258)

* refactor(cli/utils): fix SetNodeAnnotation JSON quoting; extract ConfirmYN and ListNodesWithSkyhookState

Signed-off-by: Alex Yuskauskas <ayuskauskas@nvidia.com>

* fix(cli/reset): surface list-nodes errors instead of silently no-op

The refactor to utils.ListNodesWithSkyhookState left the reset command
treating a hard list-from-apiserver failure (RBAC denied, unreachable
apiserver) the same as a per-node parse failure: a single Warning log
under --verbose, then control falls through to the "No nodes have
state" early-return. Restore the pre-refactor behavior by aborting
when the helper returns a nil result map (its signal for list
failure), while still surfacing parse-only failures as warnings.

Signed-off-by: Alex Yuskauskas <ayuskauskas@nvidia.com>

* docs(cli/utils): document ListNodesWithSkyhookState nil-map contract; use METADATA_PREFIX

Signed-off-by: Alex Yuskauskas <ayuskauskas@nvidia.com>

* feat(cli): scaffold update-state command with --add flag

Signed-off-by: Alex Yuskauskas <ayuskauskas@nvidia.com>

* feat(cli): implement update-state with validation, warnings, and --add

Signed-off-by: Alex Yuskauskas <ayuskauskas@nvidia.com>

* fix(cli/update-state): surface list errors and align tests with reset.go pattern

Mirror reset.go's list-error handling so an apiserver/RBAC failure surfaces
as a wrapped error instead of being silently swallowed under non-verbose
mode. Drop the package-level client-injection seam (newUpdateStateClient)
and inline the client construction in RunE, matching reset.go; rewrite the
runUpdateState specs to call the runner directly with a fake client like
reset_test.go does. Tighten the dry-run test to also cover the non-empty
targets path (asserts [dry-run] output and that the annotation is
unchanged), and assert Name/Version on the --add create test.

Signed-off-by: Alex Yuskauskas <ayuskauskas@nvidia.com>

* feat(cli): add --package flag to ... (continued)

336 of 414 new or added lines in 4 files covered. (81.16%)

3 existing lines in 2 files now uncovered.

8041 of 9851 relevant lines covered (81.63%)

9.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
35
84.23
operator/cmd/cli/app/update_state.go
27
79.93
-0.64% operator/cmd/cli/app/reset.go
16
67.33
0.78% operator/internal/cli/utils/utils.go

Coverage Regressions

Lines Coverage ∆ File
2
83.65
0.33% operator/internal/controller/skyhook_controller.go
1
79.93
-0.64% operator/cmd/cli/app/reset.go
Jobs
ID Job ID Ran Files Coverage
1 27029871753.1 05 Jun 2026 05:44PM UTC 46
81.63
GitHub Action Run
Source Files on build 27029871753
  • Tree
  • List 46
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27029871753
  • 369c6b52 on github
  • Prev Build on main (#26923701324)
  • Next Build on main (#27030160217)
  • Delete
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