Skip to main content

update_canonical_lineage

Function update_canonical_lineage 

Source
pub fn update_canonical_lineage(
    conn: &Connection,
    job_id: &str,
    attempt_id: Option<&str>,
    trial_id: Option<&str>,
) -> Result<bool, Error>
Expand description

Persist canonical retry lineage fields for a job.

Updates attempt_id and/or trial_id on an existing job row. Returns true if the row was updated, false if the job was not found.