Skip to content

feat: add tensorlake sandbox workers to scode-ssh-delegate - #330

Merged
scode merged 1 commit into
mainfrom
tensorlake-sbx-workers
Aug 30, 2026
Merged

feat: add tensorlake sandbox workers to scode-ssh-delegate#330
scode merged 1 commit into
mainfrom
tensorlake-sbx-workers

Conversation

@scode

@scode scode commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Tensorlake sandboxes join SSH hosts and Fly.io sprites as a third
worker kind because they offer knobs sprites lack: a chosen CPU/memory
shape per sandbox, a tunable idle-suspend timeout, and filesystem
snapshots that can be cloned into ready-made workers. Registration
mirrors the sprite forms: sbx foo borrows an existing sandbox,
sbx:N grants a budget of sandboxes the session creates, uses, and
cleans up.

The platform facts in tensorlake.md were verified hands-on in August
2026 against a live account (tl CLI 0.5.118). Two decisions worth
recording. Owned sandboxes are created named rather than ephemeral, so
that hitting the idle timeout suspends them and the tools installed
during bootstrap survive, instead of the sandbox being destroyed
mid-task. And cleanup has to delete not just the sandboxes but also
their snapshots, which the platform creates on idle suspend and which
outlive termination while billing storage monthly; that deletion is
keyed on sandbox IDs recorded at creation, because the name-to-ID
mapping disappears once a sandbox is terminated.

The touched line in sprites.md is a reference fix: the shared
base-packages heading in using-workers.md was renamed from "(both
kinds)" to "(all kinds)".

Tensorlake sandboxes join SSH hosts and Fly.io sprites as a third
worker kind because they offer knobs sprites lack: a chosen CPU/memory
shape per sandbox, a tunable idle-suspend timeout, and filesystem
snapshots that can be cloned into ready-made workers. Registration
mirrors the sprite forms: `sbx foo` borrows an existing sandbox,
`sbx:N` grants a budget of sandboxes the session creates, uses, and
cleans up.

The platform facts in tensorlake.md were verified hands-on in August
2026 against a live account (tl CLI 0.5.118). Two decisions worth
recording. Owned sandboxes are created named rather than ephemeral, so
that hitting the idle timeout suspends them and the tools installed
during bootstrap survive, instead of the sandbox being destroyed
mid-task. And cleanup has to delete not just the sandboxes but also
their snapshots, which the platform creates on idle suspend and which
outlive termination while billing storage monthly; that deletion is
keyed on sandbox IDs recorded at creation, because the name-to-ID
mapping disappears once a sandbox is terminated.

The touched line in sprites.md is a reference fix: the shared
base-packages heading in using-workers.md was renamed from "(both
kinds)" to "(all kinds)".
@scode
scode merged commit c5dcc6a into main Aug 30, 2026
5 checks passed
@scode
scode deleted the tensorlake-sbx-workers branch August 30, 2026 22:23
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.

1 participant