Skip to main content
Diagnose a build in three passes: find its ID, inspect the structured failure evidence, then read the build log for the failing step.
Use the full build ID from structured output when automating. The CLI also accepts an unambiguous ID prefix for interactive use.

Read the build record first

stackdome build list shows the resource, state, source revision, start time, and duration. Filter a busy stack or select another stack with:
For the selected build, inspect these fields from stackdome build info <build-id> -o json: The failure detail is best effort and may be absent. Its message and the build logs are the primary evidence for what the builder actually reported.

Follow the decision guide

The API exposes a small set of distinct condition reasons. Use those exact reasons when present; do not infer a more specific category from the build state alone. The current API does not assign stable, separate condition reasons for every authentication, checkout, Dockerfile, registry-push, or Docker execution failure. When the record only says BuildJobFailed, classify it from explicit failure detail or log text:

Inspect the build log

Start with a bounded log request:
Add --since 30m to narrow the time range or --follow while the build is still running:
If the server says the build pod is starting, wait for the BuildJobCreated condition and retry. If it says logs are no longer available, rely on the retained build record and release events; build pods and their logs can be pruned.

Verify the correction

After changing the Stackfile or external credential/configuration, validate and deploy again. A new deployment creates a new build record:
Require the new deployment to exit successfully, retain its non-empty release.id, and require its release.state to be Released. In status, require converged_release.id to equal that deployed release ID, converged_release.state to be Released, and converged health to be ok. Do not treat an older successful build or serving release as proof that the new release used the correction.