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

NVIDIA / nodewright / 46520871118
85%

Build:
DEFAULT BRANCH: main
Ran 30 Nov 2026 10:12PM UTC
Jobs 1
Files 61
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 Nov 2026 09:50PM UTC coverage: 84.926% (+0.3%) from 84.612%
46520871118

push

github

web-flow
feat(cli): clear stale erroring nodes with deployment-policy reset (#1087)

* feat(cli): clear stale erroring nodes with deployment-policy reset

Nodes stalled by #633 keep reading erroring after the operator upgrade and
keep their batch stopped. Recovering them meant editing each node by hand
before resetting the batch state.

deployment-policy reset --clear-stale-erroring sets those nodes back to
waiting, then resets the batch state. A node is left alone if a package on
it is erroring or unknown, a drain was started on it, or its package state
cannot be read. Each node patch carries the resourceVersion that was
checked, and the batch is not reset if a node could not be cleared.

The command refuses to run while paused or disabled, since the operator
then overwrites every node's status.

Closes #754

Signed-off-by: Atishay Kasliwal <katishay@gmail.com>

* fix(cli): keep nodes whose package has no state

A nodeState entry that is null or has no state decoded without error and
was treated as fine, so its node was cleared. Leave such nodes alone.

Also make the manual drain check tell a missing annotation from an empty
one, and fix the blank line between blockquotes that failed markdownlint.

Signed-off-by: Atishay Kasliwal <katishay@gmail.com>

* docs: say pending reboots still run after the reset

The reset keeps package progress, so a reboot that already happened is
not repeated, but a package that has not reached or finished its
interrupt still reboots the node.

Signed-off-by: Atishay Kasliwal <katishay@gmail.com>

* docs: note that REAPPLY_ON_REBOOT still resets a node after the reset

With reapply-on-reboot, any later reboot clears the node's package state,
so the kept progress only holds until the node reboots again.

Signed-off-by: Atishay Kasliwal <katishay@gmail.com>

---------

Signed-off-by: Atishay Kasliwal <katishay@gmail.com>
Co-authored-by: ayuskauskas <ayuskauskas@nvidia.com>

122 of 129 new or added lines in 2 files covered. (94.57%)

10913 of 12850 relevant lines covered (84.93%)

7.75 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
95.79
operator/cmd/cli/app/deploymentpolicy/clear_stale_erroring.go
3
82.27
22.27% operator/cmd/cli/app/deploymentpolicy/deploymentpolicy_reset.go
Jobs
ID Job ID Ran Files Coverage
1 46520871118.1 30 Nov 2026 10:12PM UTC 61
84.93
GitHub Action Run
Source Files on build 46520871118
  • Tree
  • List 61
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #46520871118
  • e29a3cf2 on github
  • Prev Build on main (#45732479875)
  • Next Build on main (#46529046818)
  • Delete
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