Skip to main content

Module setup

Module setup 

Source
Expand description

Prepares a dispatch worktree’s environment before the implementer starts.

Constants§

SETUP_TIMEOUT

Functions§

run_setup
Runs setup with bash in worktree, outside the sandbox, writing its combined output to log_path. Every env entry and BLYTE_MAIN_CHECKOUT=<main_checkout> are exported first. Returns Ok(()) when exit code is 0 and the log is written; otherwise returns Err(message) including the failure header, the last 20 lines of each non-empty stream under stdout: / stderr: labels, and a trailing full log: <absolute path> line (or the log write error naming the path if writing failed).