Skip to content

feat(cli): expose deployment autoscaling policies - #581

Draft
cursor[bot] wants to merge 3 commits into
mainfrom
cursor/cli-sdk-updates-77dd
Draft

cursor[bot] wants to merge 3 commits into
mainfrom
cursor/cli-sdk-updates-77dd

Conversation

@cursor

@cursor cursor Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • expose new beta deployment autoscaling fields in the CLI: scale-to-zero idle windows, scale-up/down rate policies, and select-policy controls
  • add reset/clear update-mask handling for autoscaling policy reset semantics
  • update rollout/retrieve CLI imports for extracted generated SDK types

Tests

  • python3 -m pytest tests/cli/test_build_autoscaling.py tests/cli/test_beta_endpoints.py tests/cli/test_beta_endpoints_update.py tests/cli/test_beta_endpoints_rollout.py
  • python3 -m ruff check src/together/lib/cli/api/beta/endpoints/_utils/_build_autoscaling.py src/together/lib/cli/api/beta/endpoints/_utils/_build_rollout_metric.py src/together/lib/cli/api/beta/endpoints/ab.py src/together/lib/cli/api/beta/endpoints/deploy.py src/together/lib/cli/api/beta/endpoints/rollout.py src/together/lib/cli/api/beta/endpoints/retrieve.py src/together/lib/cli/api/beta/endpoints/shadow.py src/together/lib/cli/api/beta/endpoints/update.py src/together/lib/cli/utils/_help_examples.py tests/cli/test_beta_endpoints.py tests/cli/test_beta_endpoints_update.py tests/cli/test_beta_endpoints_rollout.py tests/cli/test_build_autoscaling.py
Open in Web View Automation 

cursoragent and others added 3 commits September 16, 2026 18:50
Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
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 (zai-org/GLM-5.3) · 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