Repository navigation
feat(cli): show deployment status replica details - #618
Open
cursor[bot] wants to merge 1 commit into
Open
cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
Broly Security ScanNote ✅ Clean scan Note Re-scan this PR anytime with
|
blainekasten
previously approved these changes
Oct 1, 2026
blainekasten
marked this pull request as ready for review
October 1, 2026 15:31
zainhas
approved these changes
Oct 1, 2026
This branch has not been deployed
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.
Summary
tg beta endpoints retrieve dep_...human outputTests
python3 -m pytest tests/cli/test_beta_endpoints_retrieve.py tests/cli/test_beta_endpoints.py -k 'retrieve_deployment_human_output_shows_status_details or retrieve_deployment_id or list_handles_deployment_without_hardware'python3 -m ruff check src/together/lib/cli/api/beta/endpoints/retrieve.py tests/cli/test_beta_endpoints_retrieve.pyNote
Low Risk
CLI-only display changes for optional status fields; no API or security behavior changes.
Overview
Extends
tg beta endpoints retrievehuman output for deployments with richer status from the API.When present, the detail view now prints Scheduled replica count (alongside Ready) and a Regions section listing each region’s ready vs scheduled replicas. Region names are passed through
escape_rich_markupfor safe Rich output.Adds
test_retrieve_deployment_human_output_shows_status_detailsto lock in the new lines for a scaling deployment with multi-region status.Reviewed by Cursor Bugbot for commit c8954f7. Bugbot is set up for automated code reviews on this repo. Configure here.