Skip to content

ls/tui: file a Hetzner server that is "off" under paused - #1226

Merged
cdalar merged 1 commit into
mainfrom
fix-hetzner-off-paused
Oct 23, 2026
Merged

cdalar merged 1 commit into
mainfrom
fix-hetzner-off-paused

Conversation

@cdalar

@cdalar cdalar commented Oct 23, 2026

Copy link
Copy Markdown
Owner

A Hetzner server powered off outside onctl pause 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 put it in the running table, because isPausedStatus did not know the status. This adds it next to AWS's stopped, with a test case.

Verified against a live Hetzner account: a server in off state now shows under paused in both onctl ls and onctl tui.

🤖 Generated with Claude Code

https://claude.ai/code/session_017BKVoDkaebK69kM27xpP5Y

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

codecov Bot commented Oct 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.74%. Comparing base (f32ed6b) to head (69fd2da).

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.
📢 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.

@cdalar
cdalar merged commit 1e0fc6a into main Oct 23, 2026
14 checks passed
@cdalar
cdalar deleted the fix-hetzner-off-paused branch October 23, 2026 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

⌂ 换网址