From c0cd03288906edcc165679e2029b9e7d4aa50bd2 Mon Sep 17 00:00:00 2001 From: Sam Dornan Date: Sun, 13 Sep 2026 10:13:25 +0000 Subject: [PATCH] docs(tasks): say the scan stats fill plainly Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01WRP83vJP7Cws6SSdE3XZ1a --- backend/endpoints/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/endpoints/tasks.py b/backend/endpoints/tasks.py index 32ee29bea..781be1b6e 100644 --- a/backend/endpoints/tasks.py +++ b/backend/endpoints/tasks.py @@ -76,7 +76,7 @@ _EMPTY_SCAN_STATS: Final[ScanStats] = cast( def _fill_scan_stats(stats: Mapping[str, Any] | None) -> ScanStats | None: - """A scan's counters, zeroing any the release that stored them predates. + """Zero the counters an older release's stored stats are missing. A job's meta in Redis outlives the release that wrote it. """