pub async fn dump_run(
pool: &PgPool,
job_id: i64,
attempt: Option<i16>,
) -> Result<RunDump, AwaError>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.