Skip to content

Conversation

@habfast
Copy link
Contributor

@habfast habfast commented Dec 11, 2025

Description

Shortcut story: sc-157181:

  • ask for confirmation before deleting a deployment or model (unless --force flag is present)
  • ability to delete multiple model and deployments at once (exactly identical to exo compute instance delete ...)

Checklist

  • Changelog updated (under Unreleased block)
  • Testing

Testing

It works on my machine

@habfast habfast requested a review from a team December 11, 2025 10:10
if !c.Force {
return err
}
fmt.Fprintf(os.Stderr, "warning: %s not found.\n", deploymentStr)
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

You can just print error, eg. fmt.Fprintf(os.Stderr, "warning: %w\n", err)

@habfast habfast merged commit 842b57f into master Dec 17, 2025
3 checks passed
@habfast habfast deleted the paul.habfast/sc-157181_improve-delete-behavior branch December 17, 2025 09:10
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.

4 participants