Repository navigation
fix(sandbox): Celesto maps every status and warns before dropping a stopped disk - #45
Merged
Merged
Conversation
The status map left out `restorable`, which Celesto reports after a spot interruption before it restores the sandbox on another host, and `pending`, which its SDK waits through on create. Both now map to `starting`, so the sweep leaves the record alone and a start keeps waiting instead of falling through to an untracked state. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Celesto's pricing page says stopped root disks are kept for 30 days, and the driver already reads `disk_delete_at` to report an expired sandbox. Declaring `diskRetentionDays` lets the Sandboxes list and the settle prompt warn before that happens, as they do for Boat. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Celesto's create takes no name, label, or project, so its sandboxes cannot carry the host tag that orphan detection needs. Its persistent home is refused on the coding-agent template, so a spot move may lose T3's state. Say both where the driver contract and lifecycle describe Celesto, and note the refused field beside the create body. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 tasks done
OmarAlex24
marked this pull request as ready for review
November 13, 2026 13:41
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.
Problem
The Celesto driver lagged Boat's: statuses the API reports (
restorable,pending) were unknown to it, the Sandboxes list never warned before Celesto drops a stopped disk, and the driver docs did not say which Boat capabilities Celesto cannot offer.Change
Read against Celesto's own API client (Python package 0.1.13, generated from its API spec) and the TS SDK 0.1.6:
restorable(a spot move in progress) andpending(create) map tostarting, so the sweep leaves those records alone.info.diskRetentionDaysis 30, from celesto.ai/pricing ("Stopped root disks are retained free for 30 days").external_volume_enabled(persistent home) is refused on thecoding-agenttemplate with a 422. A comment beside the create body says so, so the field is not re-added.Desktop and templates are not part of this PR: the fork shows no Boat desktop today, and Celesto templates are built from a build script rather than saved from a machine.
Scope and approval
Requested by the fork owner in a T3 Code session (Celesto parity with Boat). Part of stack pingdotgg#43 on
feat/sandbox-environments.Verification
SandboxProvisioner.test.ts) gained the new statuses; it failed before the mapping and passes aftervp run check:changedagainst fix/sandbox settle followups #44's branch passes format, lint, knip, typecheck and testsNot checked against the live Celesto API (no key was available): the exec user and home, home surviving stop and start, and whether
restorablerestores without a start call.Model and harness: Claude Opus 5.5 (implementation subagents at high effort, coordinated by Claude Opus 5.5) in Claude Code, running in T3 Code.
🤖 Generated with Claude Code