Smarter backfill: time-boxed chunks, run-until-done (plan #693) #71
Reference in New Issue
Block a user
Delete Branch "dev"
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?
Replaces the fixed run-count backfill with a run-until-done state machine that walks an artist's full post history in time-boxed chunks.
Backend (
96fffaf)BACKFILL_CHUNK_SECONDS=600(safely below the 1350s Celery soft limit), checkpoints its cursor, then yields.TIMEOUT → PARTIAL→ event status "ok", so chunks read as completed/progress instead of dying at the wall.Source.config_overrides:running→complete(clean exit reaches the bottom of the post list) orstalled(200-chunk cap, or 2 consecutive no-advance chunks).retries 3→2, downloader read-timeout120→60s— caps a wedged file at ~1–2 min instead of ~600s. (Verified: this is an idle/read timeout, not a transfer cap — multi-minute archive downloads stream uninterrupted; large files that span chunks resume viapart:True+ cursor re-walk.)Frontend (
618dafd)CI green on dev (run #574: lint, backend unit, frontend build, integration all ✓).
🤖 Generated with Claude Code