Skip to main content

dump_run

Function dump_run 

Source
pub async fn dump_run<'e, E>(
    executor: E,
    job_id: i64,
    attempt: Option<i16>,
) -> Result<RunDump, AwaError>
where E: PgExecutor<'e>,
Expand description

Build a read-only inspection snapshot for one attempt.

Awa does not currently persist a standalone runs table. The current attempt is inspected from the live job row. Historical attempts are reconstructed from the structured errors[] history.