Skip to main content

file

Function file 

Source
pub fn file(
    state: &RunState,
    flake: &VerifyFlake,
    label: &str,
    queue: &Queue,
) -> Result<(String, bool)>
Expand description

File the task for flake, or find the unfinished one that already tracks the same failure. Returns the task id and whether this call created it.

Ids are derived from the failure, never from the run, and written with Queue::create_new, so two runs hitting the same failure concurrently still leave one task. A finished (Done) task does not cover a recurrence: the next generation id is tried.