Skip to main content

preflight

Function preflight 

Source
pub fn preflight(
    store: &Store,
    home: &Path,
    cfg: &Config,
    project: &str,
    repo: &Path,
) -> Result<Preflight>
Expand description

Runs the project’s verify at the head of its remote default branch, in a fresh worktree and under the agent’s environment, as a dispatch’s base check does, and records the result in the base cache. A check that fails for a reason of its own then shows before an agent is paid to find it. Unlike dispatch, it measures again rather than reading the cache.