Skip to content

Sandbox guest image - #792

Merged
Rachael-Graham merged 7 commits into
mainfrom
sandbox-guest-image
Dec 3, 2026
Merged

Rachael-Graham merged 7 commits into
mainfrom
sandbox-guest-image

Conversation

@Rachael-Graham

Copy link
Copy Markdown
Contributor

Resolve the sandbox guest image digest in the docs workflow and document SandboxTemplate preparation failure and missing WorkerPool conditions.

Resolve the sandbox guest image digest in the docs workflow and document SandboxTemplate preparation failure and missing WorkerPool conditions.

Signed-off-by: Rachael Graham <rachael.graham@solo.io>
Signed-off-by: Rachael Graham <rachael.graham@solo.io>
Resolve the sandbox guest image digest in the docs workflow and document SandboxTemplate preparation failure and missing WorkerPool conditions.

Signed-off-by: Rachael Graham <rachael.graham@solo.io>
Signed-off-by: Rachael Graham <rachael.graham@solo.io>
Signed-off-by: Rachael Graham <rachael.graham@solo.io>
@github-actions

github-actions Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Docs preview

Link Points at
Branch preview The newest push to this branch. Updates in place.
Commit preview 4487aae only. Frozen.

Both are uploaded Worker versions and serve no production traffic.

True Prepared Sandbox runtime is prepared
```

The reason in the `Ready` condition reports how far the snapshot build got. Every reason except `Prepared` needs an action before callers can use the template.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The table doesn't match this sentence. PreparationFailed and WorkerPoolNotFound aren't about "how far the snapshot build got," because no build starts for either one. "Every reason except Prepared needs an action" is also off for Preparing, where the only action is to wait.

Suggested change
The reason in the `Ready` condition reports how far the snapshot build got. Every reason except `Prepared` needs an action before callers can use the template.
If the template is not ready, the reason in the `Ready` condition tells you why. Review the following table for each reason and what to do.

| `Preparing` | kagent is still building the snapshot. Wait, then check again. |
| `Prepared` | The template is ready, and callers can create Sandboxes from it. |
| `ActorTemplateRetrying` | The snapshot build failed, and kagent retries it after 15 seconds, 1 minute, 4 minutes, and then every 10 minutes. The message names the failure reason, the retry number, and its time, such as `golden build failed (GoldenActorCrashed), retry 1 at 2026-11-18T21:05:03Z`. Common causes are an image that the Workers cannot pull and a wrong guest image. For the full error, read the controller logs. |
| `PreparationFailed` | kagent cannot compile the template into a runtime and does not build a snapshot. When `config.sandboxes.guestImage` is empty, the controller logs `sandbox workload and guest images must be pinned by sha256 digest`. Set the guest image in `sandbox-values.yaml` and upgrade the release. kagent then prepares the template, so you do not need to recreate it. For any other cause, read the controller logs. |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This row is accurate. go/core/internal/substrate/sandbox.go:40 emits that error in v1.0.1. Two suggestions:

  • Link "Set the guest image in sandbox-values.yaml" to Before you begin. A reader who skipped that step won't know where the file comes from.
  • The error also fires when the guest image is set by tag instead of by digest, not only when it's empty. "When config.sandboxes.guestImage is empty or not pinned by digest" covers both cases.

Signed-off-by: Rachael Graham <rachael.graham@solo.io>
@Rachael-Graham
Rachael-Graham merged commit 2c10dd6 into main Dec 3, 2026
4 checks passed
@Rachael-Graham
Rachael-Graham deleted the sandbox-guest-image branch December 3, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants