Skip to main content

register

Function register 

Source
pub fn register(
    repo_root: &Path,
    mission_id: &str,
    run_id: &str,
    token: &str,
    now: DateTime<Utc>,
) -> Result<PathBuf>
Expand description

Register one run’s lane: create the projection entry carrying the token hash. Called by the runner at spec time. Ids are validated before any path is joined; a failure here degrades to NO lane (the caller logs and leaves the spec seed unset) — never to a spawn error.