Repository navigation
fix(cli): clarify deployment replica target output - #616
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
Collaborator
|
@cursoragent fix lint |
blainekasten
marked this pull request as ready for review
October 1, 2026 15:33
Contributor
Author
zainhas
approved these changes
Oct 1, 2026
blainekasten
self-requested a review
October 9, 2026 20:38
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
desiredReplicasas the autoscaler target in endpoint retrieve outputTests
python3 -m pytest tests/cli/test_beta_endpoints.py::TestFormatReplicas tests/cli/test_beta_endpoints.py::TestBetaEndpointsList tests/cli/test_beta_endpoints_retrieve.py::TestBetaEndpointsRetrievepython3 -m ruff check src/together/lib/cli/api/beta/endpoints/list.py src/together/lib/cli/api/beta/endpoints/retrieve.py tests/cli/test_beta_endpoints.py tests/cli/test_beta_endpoints_retrieve.pyNote
Low Risk
Display-only CLI label and formatting changes with no API or scaling behavior changes.
Overview
Clarifies beta endpoints CLI copy so ready replica counts are distinguished from autoscaler target (
desiredReplicas), not a generic “replicas” count.For
tg beta endpoints ls, the table column is renamed to Ready/Target and cell values are compactready/desired(still green when fully ready), dropping the trailing “ready” text.For retrieve, endpoint deployment rows label the pair Ready / autoscaler target, and single-deployment detail prints a separate Autoscaler target field when
desiredReplicasis set; the min/max line is labeled Autoscaling instead of Replicas. Tests cover_format_replicas, list header/output, and deployment retrieve wording.Reviewed by Cursor Bugbot for commit f15f8a3. Bugbot is set up for automated code reviews on this repo. Configure here.