Skip to content

fix(cli): accept active sessions autoscaling metric - #561

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

fix(cli): accept active sessions autoscaling metric#561
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/cli-sdk-updates-0ad50c7

Conversation

@cursor

@cursor cursor Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • expose the SDK's new active_sessions autoscaling metric in beta endpoint deploy/update CLI payload building
  • document the metric in deploy help
  • add focused builder and CLI request serialization tests

Tests

  • python3 -m pytest tests/cli/test_build_autoscaling.py tests/cli/test_beta_endpoints.py::TestBetaEndpointsDeploy::test_deploy_accepts_active_sessions_scaling_metric tests/cli/test_beta_endpoints_update.py::TestBetaEndpointsUpdate::test_update_accepts_active_sessions_scaling_metric
  • python3 -m ruff check src/together/lib/cli/api/beta/endpoints/_utils/_build_autoscaling.py src/together/lib/cli/api/beta/endpoints/deploy.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

Warning

⚠️ Potential results — Broly is still completing analysis or verification. This comment will update automatically.
Files pending AI analysis: 5; findings pending verification: 0.

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-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