Orphaned machines stuck in created state: invisible via API, blocking deployments

We have machines stuck in created state for our apps that are counting against our org limit and blocking all new deployments.

The problem:

These machines are completely inaccessible through any public API:

  • GET /v1/apps/XXX/machines?state=created → returns []

  • DELETE /v1/apps/XXX/machines/{id}?force=true → returns {"error":"machine not found"}

  • GraphQL removeMachine mutation → “The GraphQL API no longer supports machine operations”

The only way to see them is via GraphQL query, which confirms they exist:

[
{ "state": "created", "count": 53 },
{ "state": "destroyed", "count": 196 },
{ "state": "started", "count": 1 }
]

These appear to be orphaned from failed blue-green deployments (machines created with skip_launch that never completed the deploy cycle).

How should I proceed? I wrote to billing@ on Friday but still no answer

1 Like