镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

feat(cli): show deployment status replica details - #618

Open
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/cli-deployment-status-details-43946667
Open

cursor[bot] wants to merge 1 commit into
mainfrom
cursor/cli-deployment-status-details-43946667

Conversation

@cursor

@cursor cursor Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Show scheduled replica counts in tg beta endpoints retrieve dep_... human output
  • Show per-region ready/scheduled deployment status details when returned by the SDK
  • Add focused CLI coverage for the new deployment status fields

Tests

  • 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.py
Open in Web View Automation 

Note

Low Risk
CLI-only display changes for optional status fields; no API or security behavior changes.

Overview
Extends tg beta endpoints retrieve human 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_markup for safe Rich output.

Adds test_retrieve_deployment_human_output_shows_status_details to 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.

Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
@broly-code-security-scanner

Copy link
Copy Markdown

Broly Security Scan

Note

✅ Clean scan
No vulnerabilities detected in this PR.

Note

Re-scan this PR anytime with /broly scan — useful after /broly undismiss, or to refresh findings without a new push.

Broly — SAST (GLM-5.3-Flash) · Secrets · SCA · IaC · GH Actions · Base Images · Supply Chain Threats · Attack Hypotheses · Adversarial Verification

We're continuously improving Broly's accuracy and finding quality — your feedback is valuable. False positives, missed findings, bugs, and feature requests all welcome.

Ask in #security-engineering   Powered by Together AI

blainekasten
blainekasten previously approved these changes Oct 1, 2026
@blainekasten
blainekasten marked this pull request as ready for review October 1, 2026 15:31
@blainekasten
blainekasten requested a review from zainhas October 1, 2026 15:31
@blainekasten
blainekasten dismissed their stale review October 9, 2026 20:24

removing my review

This branch has not been deployed

No deployments
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.

3 participants