Skip to content

Commit c83a341

Browse files
docs: clarify failure retention behavior
Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent f4b0544 commit c83a341

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/content/docs/factories/factory-as-code.mdx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,10 +470,12 @@ Optional. The compute size, as `vcpus` and `memoryGb`. Omit it to take the works
470470

471471
### `failureSessionRetentionMinutes`
472472

473-
Optional. An integer from `1` through `60` that keeps a failed run's session open for inspection. Activity in the session restarts this idle window. There is no runner-level default: the runner value overrides the run environment's setting, while an omitted value uses the environment's setting or tears down the session immediately when neither is set.
473+
Optional. An integer from `1` through `60` that keeps a failed run's session open for inspection. Input from a shared-session viewer restarts this idle window. There is no runner-level default: the runner value overrides the run environment's setting, while an omitted value uses the environment's setting or tears down the session immediately when neither is set.
474474

475475
The value must not exceed the maximum runtime available to the sandbox. Warp disables retention for a run when the value exceeds that limit, and the sandbox's runtime limit can end the session before the full idle window elapses. Secrets remain in the sandbox, and compute credits may apply while the session stays open.
476476

477+
On a self-hosted worker, an agent client that does not support failure-session retention ignores the setting, so the session tears down after failure.
478+
477479
### `platform`
478480

479481
The operating system and architecture. `os` is `linux` (the default) or `macos`, and `arch` is `x86_64` (the default on Linux) or `aarch64` (the only option on macOS). Linux runners require `linux.dockerImage`, the container image the sandbox boots, so every Linux runner declares a `platform` section. macOS runners accept an optional `mac.version` (`"14"`, `"15"`, `"26"`, or `"27"`; quote it, and it defaults to `"26"`).

0 commit comments

Comments
 (0)