Skip to content

fix: validate instance is stoppable before stop#416

Open
shivamj-del wants to merge 2 commits into
mainfrom
BREV-10685/validate-instance-stoppable
Open

fix: validate instance is stoppable before stop#416
shivamj-del wants to merge 2 commits into
mainfrom
BREV-10685/validate-instance-stoppable

Conversation

@shivamj-del

Copy link
Copy Markdown
Contributor

Issue:
brev stop and brev stop --all call the stop workflow without checking whether the instance type supports stop/start.

Fix:

  • Check instanceTypeInfo.stoppable before stopping named instances
  • Skip non-stoppable running instances in brev stop --all with a warning

@shivamj-del shivamj-del self-assigned this Jun 26, 2026
@shivamj-del shivamj-del marked this pull request as ready for review June 26, 2026 06:10
@shivamj-del shivamj-del requested a review from a team as a code owner June 26, 2026 06: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.

1 participant