You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a deployment is triggered (via build or image deploy), there is no way to cancel it if it's still queued or in progress. CI/CD pipelines can trigger mistaken deploys, and the only option is to wait for completion or delete the service entirely.
Proposed Solution
POST /v1/services/{serviceID}/deployments/{deploymentID}/cancel
Cancels a queued or in-progress deployment. Returns 409 if the deployment is already completed or already cancelled.
Problem
When a deployment is triggered (via build or image deploy), there is no way to cancel it if it's still queued or in progress. CI/CD pipelines can trigger mistaken deploys, and the only option is to wait for completion or delete the service entirely.
Proposed Solution
POST /v1/services/{serviceID}/deployments/{deploymentID}/cancelCancels a queued or in-progress deployment. Returns 409 if the deployment is already completed or already cancelled.
Response:
{ "id": "deploy-123", "status": "cancelled", "cancelled_at": "2026-03-22T10:00:00Z" }Behavior
cancelled, remove from queueImplementation Notes
internal/api/services.goorinternal/api/builds.gocancelled_attimestamp andcancelled_by(key ID from auth context)Acceptance Criteria
POST /v1/services/{id}/deployments/{id}/cancelcancels queued deploymentscancelled_atandcancelled_byrecorded