Skip to main content
An image is an immutable stored filesystem state. A checkpoint is an image chosen as a continuation point. A branch is an independent operation started from a selected image. Images preserve saved files and installed dependencies. They do not preserve running processes, memory, open file handles, connections, or live services.

Choose persistence before submission

Set persistence explicitly when later work needs the changed files. The Python SDK discards changes by default; the CLI saves them. A session does not override those defaults.

Interpret the result image

Reuse a saved result only when the operation returns an image UUID and you can read the files you need from it. This also applies after a command failure, timeout, or cancellation. If no usable image is returned, restart from your last known-good image. An absent result image means there is no new continuation point from that operation. An unchanged image ID means the existing immutable source remains the continuation point.

Use UUIDs for repeatable work

A tag is a mutable name. Assigning an existing tag to another image moves the tag.

Prepare once, branch twice

Save a shared input file once, then read it in two independent operations. The fragment belongs inside the async main() from the Python quickstart, with its authenticated client. Use an image tag available in your project. The complete recipe also shows how to run the two readers concurrently.
Expected output:
Each child starts from the same immutable checkpoint. A disposable child cannot change the checkpoint or the other child. Both runs read the checkpoint file and discard their own changes. The arrows show which image each operation starts from. The branches share a starting image, not a running process or a writable filesystem. To continue from a branch, that branch must save its own result and return an inspectable image UUID. To return to the checkpoint, start another operation from the checkpoint UUID.

Environment values

Values passed through env are available to the guest process and are represented in operation input metadata. SDK 0.3.6 exposes preserve_env=True for saving supported environment metadata together with disposable=False. Files attached to a run are also visible inside the guest. Do not put credentials in preserved environment metadata, uploaded files, or commands executed as untrusted code. Follow Configure networking and secrets for the supported controls.

Continue