Document the serialized media pipeline and split ETAs

This commit is contained in:
Fisto
2026-09-17 10:15:26 +02:00
parent 7bbb45b79b
commit fc876e9794
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -40,6 +40,13 @@ mobile draft at 390px.
- [x] C11 preview caching: Discord-hosted image/GIF previews (WebP 320px, hash-addressed, 5 MiB
cap, one attempt) run after every walk in both modes. Live run `...-20260916090722`:
`previewed: 2`; thumbs served over `/api/media/<scrape>/<item>/thumb` (200).
- [x] C44 One traffic pipeline and split ETAs. Walks and backfill batches now share a
media-traffic lock: a walk holds it for its whole run, a batch for one batch, so the pacing
settings bound total traffic instead of each action. Starting then immediately stopping a
scrape now fetches nothing (tested). Backfill ETAs split into `etaStartMs` (waiting behind
earlier jobs), `etaRunMs` (own work), and `etaTotalMs`; the Bot tab shows only the total and
puts `starts in X \u00b7 runs for Y` in the tooltip, same for the queue totals. Tests: lock
ordering, stop semantics, ETA ordering.
- [x] C43 Bot-tab backfill control room and media-tab strip rules. The engine gained
`previewBatch`/`rateLimitStatus`/`updateOptions`; a new `BackfillQueue` groups preview work per
chat (paused and resumed scrapes of a chat combine), runs one job at a time in batches, and