Skip to main content

Module render

Module render 

Source
Expand description

Report-rendering layer: the thin presentation proxy over [crate::backend::task_report] that the HTML report screens use.

The category/what aggregate grains are served by the report_summary rollup (an indexed lookup, kept fresh on the run-completion path), so the former Redis cache that shielded the expensive live aggregation is gone — Redis is no longer a hard dependency of the frontend. This module (formerly frontend::cached, renamed once the cache was removed) now only translates request params into a TaskReportOptions, delegates, and records the pagination/report_time globals the report templates expect.

Functions§

task_report
Renders a task report, filling in the pagination + provenance globals the templates consume. Reads over the caller-supplied (pooled) connection — no per-request fresh Backend::default().