DocsReferenceEnvironment and Service statuses

Environment and Service statuses

Interpret Lifecycle Environment, build, deployment, and Service states. Select the correct response.

Lifecycle reports an overall Environment status. It also reports a status for each Service. UI labels use title case. API, CLI, and webhook values use these lowercase forms.

Environment statuses

API valueMeaningTypical response
pendingThe Environment exists. Lifecycle has not queued work.If it does not move, examine policy or worker health.
queuedLifecycle accepted the request and queued work.If it stays stale, contact an operator to examine queue work.
buildingOne or more Services make an image or artifact.If progress stops, open the Service’s Build view.
builtNecessary build work completed.Deployment usually follows.
deployingLifecycle is applying or waiting on workloads.Open Deploy, then Pods, for the affected Service.
deployedThe Environment completed deployment.Make sure necessary Services are Ready.
tearing_downCleanup is in progress.Before you use the Environment ID again, wait for cleanup.
torn_downCleanup completed.No Environment operates.
config_errorLifecycle could not validate or resolve configuration.Correct lifecycle.yaml or repository access.
errorThe Environment ended in a terminal failure.Select the Service with the failure. Identify its phase.

Service statuses

Services can report the applicable Environment states. They can also report cloning, waiting, ready, build_failed, and deploy_failed.

API valueMeaning
cloningLifecycle is fetching source.
waitingThe Service is waiting for a dependency or different deployment level.
readyThe deployed workload passed its readiness condition.
build_failedThe build phase made no deployable artifact.
deploy_failedDeployment or readiness failed after the build phase.

An overall Deployed Environment can contain a Service that is not Ready. Make sure the Services for your test are ready. Do not use only the aggregate status.

Webhook states

A webhook can start only for these environment.webhooks[].state values:

  • deployed
  • error
  • torn_down

Use these lowercase values. A different value does not start a webhook.

Terminal and transitional states

deployed, torn_down, config_error, and error are terminal for an Environment attempt. A subsequent push, redeploy, or teardown can start a new transition. build_failed and deploy_failed are terminal for the affected Service attempt.

See build troubleshooting and deployment troubleshooting for the phase-specific recovery path.