Skip to content

Conversation

@majiayu000
Copy link
Contributor

Summary

This PR fixes #3053

Changes

  • cmd/thv/app/commands.go
  • cmd/thv/app/status.go
  • cmd/thv/app/status_test.go
  • test/e2e/status_test.go

Implement a new `thv status` command that shows detailed status information
for a specific MCP server workload. This provides better UX than parsing
`thv list` output when you need information about a single workload.

Features:
- Shows name, status, health, uptime, group, transport, URL, port
- Supports JSON output with --format json flag
- Calculates uptime for running workloads
- Shows optional fields like package, labels, and status context

Fixes stacklok#3053

Signed-off-by: majiayu000 <[email protected]>
@eleftherias
Copy link
Member

Thanks for the PR @majiayu000, but we already had an existing PR for this issue #3161. We'd love your feedback on the existing PR if you would like to review it.

@eleftherias eleftherias closed this Jan 2, 2026
@majiayu000 majiayu000 deleted the fix-3053-implement-thv-status-command-for-detaile branch January 2, 2026 16:21
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.

Implement thv status command for detailed workload status

2 participants