Skip to main content

Module task_workspaces

Module task_workspaces 

Source
Expand description

Task workspaces: where a task attempt works (the shared workspace, an isolated folder of its own, or a git worktree on its own branch), and what is kept of it when the attempt ends.

Structs§

WorkspaceEvidence

Functions§

preserve_task_workspace
Record what the task’s active workspace holds (its path, and for a worktree its HEAD and status) and mark it preserved.
provision_task_workspace
The workspace for attempt of task task_id, provisioned under the task’s workspace policy (reused while the same attempt’s is not failed).