Repository navigation
ls/tui: file a Hetzner server that is "off" under paused - #1226
Merged
Merged
Conversation
A Hetzner server powered off outside `onctl pause` (which snapshots and deletes it) comes back from List with status "off". The tui coloured it paused-yellow but counted it as running in the header and sorted it among the running VMs, and `onctl ls` listed it in the running table, because isPausedStatus did not know the status. Add it, next to AWS's "stopped". Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017BKVoDkaebK69kM27xpP5Y
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1226 +/- ##
=======================================
Coverage 46.73% 46.74%
=======================================
Files 75 75
Lines 8785 8786 +1
=======================================
+ Hits 4106 4107 +1
Misses 4679 4679 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A Hetzner server powered off outside
onctl pausecomes back fromListwith statusoff. The tui coloured it paused-yellow but counted it as running in the header and sorted it among the running VMs, andonctl lsput it in the running table, becauseisPausedStatusdid not know the status. This adds it next to AWS'sstopped, with a test case.Verified against a live Hetzner account: a server in
offstate now shows under paused in bothonctl lsandonctl tui.🤖 Generated with Claude Code
https://claude.ai/code/session_017BKVoDkaebK69kM27xpP5Y