Skip to content

fix(user): skip hosts with no SSH keys in list output#339

Merged
retr0h merged 4 commits into
mainfrom
fix/ssh-key-list-empty-output
Apr 1, 2026
Merged

fix(user): skip hosts with no SSH keys in list output#339
retr0h merged 4 commits into
mainfrom
fix/ssh-key-list-empty-output

Conversation

@retr0h

@retr0h retr0h commented Apr 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Fix SSH key list showing empty ok rows for hosts with no authorized keys
  • Match the pattern used by other list commands (cron, process, etc.) — only show hosts that have entries or errors

🤖 Generated with Claude Code

Match the pattern used by other list commands — only show hosts
that have entries or errors, don't show empty ok rows.

Co-Authored-By: Claude <noreply@anthropic.com>
@retr0h retr0h force-pushed the fix/ssh-key-list-empty-output branch from 16cf376 to dfb9ee0 Compare April 1, 2026 20:30
retr0h and others added 2 commits April 1, 2026 13:31
Same fix as SSH key list — don't show hosts with no entries
as empty ok rows. Only show rows with actual data or errors.

Co-Authored-By: Claude <noreply@anthropic.com>
Single-target shows only data columns (no HOSTNAME/STATUS).
Broadcast shows per-host sections. Added broadcast examples.

Co-Authored-By: Claude <noreply@anthropic.com>
Single-target examples: remove incorrect STATUS column, add Job ID.
Broadcast examples: use per-host section headers instead of HOSTNAME
data column. Mixed-results examples: reorder columns with ERROR after
STATUS. Also includes line-wrapping fixes for ssh-key docs.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Apr 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #339   +/-   ##
=======================================
  Coverage   99.90%   99.90%           
=======================================
  Files         415      415           
  Lines       19569    19569           
=======================================
  Hits        19550    19550           
  Misses         11       11           
  Partials        8        8           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3a2764f...9269ebb. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@retr0h retr0h merged commit 9544203 into main Apr 1, 2026
11 checks passed
@retr0h retr0h deleted the fix/ssh-key-list-empty-output branch April 1, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant