Skip to content

feat(cli): expose deployment scaling policies - #584

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/cli-sdk-updates-e5d52afd
Draft

cursor[bot] wants to merge 1 commit into
mainfrom
cursor/cli-sdk-updates-e5d52afd

Conversation

@cursor

@cursor cursor Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add CLI flags for deployment scale-up/scale-down autoscaling policies and select-policy controls
  • support update-mask based clearing/resetting of nested autoscaling policies/selectors
  • add focused builder and beta endpoint deploy/update CLI coverage

Tests

  • python3 -m pytest tests/cli/test_build_autoscaling.py tests/cli/test_beta_endpoints.py::TestBetaEndpointsDeploy tests/cli/test_beta_endpoints_update.py::TestBetaEndpointsUpdate
  • python3 -m ruff check src/together/lib/cli/api/beta/endpoints/_utils/_build_autoscaling.py src/together/lib/cli/api/beta/endpoints/deploy.py src/together/lib/cli/api/beta/endpoints/update.py tests/cli/test_build_autoscaling.py tests/cli/test_beta_endpoints.py tests/cli/test_beta_endpoints_update.py
Open in Web View Automation 

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 · Exploit Chains · 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

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.

1 participant