feat(admin): observability — job history, live now-analyzing, durations & metrics (0.84.0) #6
Reference in New Issue
Block a user
Delete Branch "feat/observability-job-history"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds an admin observability surface: crawler + analysis job history, a live "now analyzing" banner, per-operation durations and metric roll-ups.
Backend
crawl_metricstiming table (op/outcome/duration_ms/items, manga/chapter FK ON DELETE SET NULL) +page_analysis.duration_ms.crawl_metricsrepo (record/summary/list_ops/reap) + history/metrics endpoints under admin crawler & analysis.CRAWL_METRICS_RETENTION_DAYS(default 90) + reaper, wired through config/settings/daemon.Frontend
fmtDurationhelper; live event labels.Review: static review (no CI build) cross-checked every runtime SQL string against the migrations — columns/tables resolve, bind arity matches, CHECK literals constrained to consts, FromRow mappings aligned, tests + frontend types consistent. No correctness issues found.