pub fn document_report_page(
corpus: &str,
service: &str,
name: &str,
pool: &State<DbPool>,
) -> Result<(Status, Template), Status>Expand description
The per-article forensic screen (HTML twin of api_document): a document’s status and the
table of every worker-log message behind it. The fast structured view of “what are the errors of
this article?” — straight from the parsed log_* rows (no result-archive fetch), complementing
the rendered /preview. 404 on an unknown corpus / service / document. Lives at a top-level
/document/... path (a sibling of /preview/...) so it never collides with the same-shape
severity/category report route.