Skip to content

feat: [PRODUCT-524] add alpha release of sf zones to cli, add --zone alias for --cluster#165

Merged
sigmachirality merged 8 commits into
mainfrom
dt/zones-alpha
Jul 10, 2025
Merged

feat: [PRODUCT-524] add alpha release of sf zones to cli, add --zone alias for --cluster#165
sigmachirality merged 8 commits into
mainfrom
dt/zones-alpha

Conversation

@sigmachirality
Copy link
Copy Markdown
Member

We are releasing an experimental alpha of our forthcoming v1/zones API under v0/zones for urgent use by some of our customers who have requested it for their use case.

If you also need this functionality, please reach out to hello@sfcompute.com

image

@sigmachirality sigmachirality self-assigned this Jul 10, 2025
@semanticdiff-com
Copy link
Copy Markdown

semanticdiff-com Bot commented Jul 10, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  src/lib/buy/index.tsx  36% smaller
  src/lib/posthog.ts  10% smaller
  src/lib/scale/create.tsx  5% smaller
  deno.lock Unsupported file format
  src/helpers/urls.ts  0% smaller
  src/index.ts  0% smaller
  src/lib/zones.tsx  0% smaller

@sigmachirality sigmachirality changed the title feat: [ENG-2042] add alpha release of sf zones to cli, add --zone alias for --cluster feat: [PRODUCT-524] add alpha release of sf zones to cli, add --zone alias for --cluster Jul 10, 2025
Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Adds experimental alpha release of zones API functionality to CLI with backward compatibility for clusters, introducing new --zone flag across multiple commands.

  • New src/lib/zones.tsx adds zone listing functionality with feature flag protection and filtering of retired zones
  • Modified buy command in src/lib/buy/index.tsx makes GPU type optional and prioritizes zone over cluster selection
  • Added /v0/zones endpoint in src/helpers/urls.ts for experimental API access
  • Added zones feature flag in src/lib/posthog.ts for controlled rollout
  • Deprecates --cluster flag in favor of --zone in src/lib/scale/create.tsx while maintaining backward compatibility

6 files reviewed, 8 comments
Edit PR Review Bot Settings | Greptile

Comment thread src/index.ts
Comment thread src/lib/scale/create.tsx
Comment thread src/lib/zones.tsx
Comment thread src/lib/scale/create.tsx
Comment thread src/lib/zones.tsx
Comment thread src/lib/buy/index.tsx Outdated
Comment thread src/lib/buy/index.tsx
Comment thread src/lib/buy/index.tsx
sigmachirality and others added 2 commits July 9, 2025 22:07
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
@sigmachirality sigmachirality merged commit a6ed836 into main Jul 10, 2025
1 check passed
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