Skip to content

fix(cli): preserve autoscaling validation diagnostics - #553

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/cli-command-failure-analysis-e18e
Draft

fix(cli): preserve autoscaling validation diagnostics#553
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/cli-command-failure-analysis-e18e

Conversation

@cursor

@cursor cursor Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace bare autoscaling validation exits with CliDiagnosticExit
  • retain existing detailed console errors while emitting stable, privacy-safe telemetry diagnostics
  • add an end-to-end regression test for invalid beta endpoint autoscaling bounds

This addresses current-version beta endpoints update failures that supplied replica bounds, made no API requests, and were recorded only as error 1.

Tests

  • TOGETHER_TELEMETRY_DISABLED=1 uv run pytest tests/cli/test_command_telemetry.py tests/cli/test_build_autoscaling.py -n 0
  • env -u TOGETHER_PROJECT_ID TOGETHER_TELEMETRY_DISABLED=1 uv run pytest tests/cli/test_beta_endpoints_update.py tests/cli/test_beta_endpoints.py -n 0
  • ./scripts/lint
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 (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