Merged
Conversation
This change adds support for the fleetId field in deployment configurations and implements automatic fleet detection when only one fleet exists. Changes: - Add --fleet-id flag to deploy and deployment create commands - Add FleetId field to CreateDeploymentConfig struct - Implement auto-detection of fleet ID when there's only 1 fleet in account - Update Merge methods to copy fleet ID from latest deployment - Add validation requiring fleet ID if not auto-detected or from latest - Pass FleetId to CreateDeployment API calls Fleet ID resolution priority: 1. Explicitly provided via --fleet-id flag 2. From latest deployment when using --from-latest 3. Auto-detected when account has exactly 1 fleet 4. Validation error if none of the above 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
The deployment create command was missing the --requested-gpu flag even though the struct, load method, and API call already supported it. This adds the flag to make GPU configuration available for both deploy and deployment create commands. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
hpx7
approved these changes
Nov 4, 2025
8cbe3bd to
a123fc8
Compare
|
this force the --fleet-id args, even if we dont want to use it, if for example we dont have any fleet. this should be optional. i tried --from-latest but didn't work |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change adds support for the fleetId field in deployment configurations and implements automatic fleet detection when only one fleet exists.
Changes:
Fleet ID resolution priority:
🤖 Generated with Claude Code