Repository navigation
Sandbox guest image - #792
Merged
Merged
Conversation
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>
…site into sandbox-guest-image
Contributor
Docs preview
Both are uploaded Worker versions and serve no production traffic. |
kristin-kronstain-brown
approved these changes
Dec 3, 2026
| 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. |
Contributor
There was a problem hiding this comment.
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. | |
Contributor
There was a problem hiding this comment.
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.guestImageis empty or not pinned by digest" covers both cases.
Signed-off-by: Rachael Graham <rachael.graham@solo.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolve the sandbox guest image digest in the docs workflow and document SandboxTemplate preparation failure and missing WorkerPool conditions.