Skip to content

Error deprovisioning a specific project for an ephemeral environment is not returned in API #10029

@geofflamrock

Description

@geofflamrock

Severity

Not blocking anyone

Version

2025.4+

Latest Version

I could reproduce the problem in the latest build

What happened?

When deprovisioning an ephemeral environment for a specific project (keeping the environment after deprovisioning), if the deprovisioning runbook cannot be run then the project is currently marked as "Deprovisioning Failed" and the API returns 200 OK.

This is unexpected as the action being performed by the user wasn't able to be done.

Reproduction

  • Create a runbook to use for deprovisioning, setting it to only be runnable on a specific shared environment, meaning it cannot be run on an ephemeral environment.
  • Configure project to use ephemeral environments and select the deprovisioning runbook.
  • Create an ephemeral environment and deploy to it.
  • Deprovision the environment, selecting to "Keep the environment after deprovisioning".

Error and Stacktrace

The project is marked as "Deprovisioning failed" and the API returns 200 OK instead of an error.

More Information

No response

Workaround

No response

Metadata

Metadata

Assignees

Labels

kind/bugThis issue represents a verified problem we are committed to solving

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions