Skip to content

api,server: prevent npe on reset pass for expunged vm#13480

Open
shwstppr wants to merge 1 commit into
apache:4.20from
shapeblue:fix-npe-resetvm
Open

api,server: prevent npe on reset pass for expunged vm#13480
shwstppr wants to merge 1 commit into
apache:4.20from
shapeblue:fix-npe-resetvm

api,server: prevent npe on reset pass for expunged vm

50f7828
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 2, 2026 in 1s

16.25% (-0.01%) compared to 2eb9820, passed because coverage increased by 0% when compared to adjusted base (16.26%)

View this Pull Request on Codecov

16.25% (-0.01%) compared to 2eb9820, passed because coverage increased by 0% when compared to adjusted base (16.26%)

Details

Codecov Report

❌ Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 16.25%. Comparing base (2eb9820) to head (50f7828).
⚠️ Report is 1 commits behind head on 4.20.

Files with missing lines Patch % Lines
.../src/main/java/com/cloud/vm/UserVmManagerImpl.java 0.00% 7 Missing ⚠️
...dstack/api/command/user/vm/ResetVMPasswordCmd.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               4.20   #13480      +/-   ##
============================================
- Coverage     16.26%   16.25%   -0.01%     
+ Complexity    13436    13434       -2     
============================================
  Files          5667     5667              
  Lines        500676   500676              
  Branches      60799    60799              
============================================
- Hits          81412    81402      -10     
- Misses       410157   410174      +17     
+ Partials       9107     9100       -7     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.