feat: schedule pricing job retention cleanup
Quality / test (push) Canceled after 0s

Schedule configurable completed pricing-job cleanup in the worker, broaden repository cleanup across sellers, add unit and integration coverage, and update pricing operational documentation.
This commit is contained in:
2026-09-09 22:32:04 -04:00
parent 660690bf34
commit 76e40d7289
8 changed files with 126 additions and 14 deletions
+3 -2
View File
@@ -119,8 +119,9 @@ work.
Refresh jobs allow three attempts. Failed attempts requeue with short
exponential backoff; the third failure becomes terminal `FAILED`. Completed-job
retention is handled explicitly through the repository cleanup operation so a
deployment can schedule cleanup according to its retention policy.
retention is handled explicitly through the repository cleanup operation. The
worker schedules cleanup across all sellers using `PRICING_JOB_RETENTION_DAYS`
(default `30`) and `PRICING_JOB_CLEANUP_INTERVAL_MS` (default one hour).
Provider failure should not invalidate other valid observations. The failed provider is recorded for admin diagnostics.