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. Ok(()) on exit 0; Err(message) otherwise, where message is “setup failed (exit N)” or “setup failed: ” (a timeout or spawn failure), followed by a newline and the last 20 lines of the output.