Bug Description
Both the CLI service delete command and the GraphQL deleteService(_id) mutation fail with Internal Server Error when the target service is in SUSPENDED state.
Steps to Reproduce
# Service is SUSPENDED (e.g., from crash loop)
npx zeabur@latest service delete --id <suspended-service-id> -y -i=false
# ERROR: delete service failed: Message: Internal Server Error
GraphQL API also fails:
mutation { deleteService(_id: "<suspended-service-id>") }
# Returns: {"errors":[{"message":"Internal Server Error"}]}
Expected: SUSPENDED services should be deletable
Actual: Internal Server Error
Workaround
Delete from Dashboard UI (which works), or wait for the service to transition out of SUSPENDED state.
Environment
- CLI version: 0.14.0
- Dedicated server: Linode_2v (Tokyo)