0.6.0 fixes, bunch 6: scheduler and worker #1228
No reviewers
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo!1228
Loading…
Reference in a new issue
No description provided.
Delete branch "b6-scheduler"
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?
Bunch 6 of the 0.6.0 fixes: the scheduler pass and the worker. One signed commit per issue, then the changelog lines, one CI line and the fix to a test that line showed up; merge fast-forward-only.
POSTULO_SCRUB_EVERY_DAYSago (default 7; 0 is every pass, as before).manage.py verify_mediastill reads everything. New index onverified_at(migrationdocuments 0033_upload_verified_at_index). With 100 uploads: 7,200 files hashed a day to 100.django_tasks_db's finished results after the same seven days as errands, through the library's ownfinished().ConnectionUnusablestill retires the connection and queues nothing.django_tasks_dblogs at WARNING, the worker says once that it started, and the heartbeat is written on the first pass and then once a minute (100 idle passes: 200 log lines and 100 writes to 1 and 4).archiving.send_pendingstops starting copies once 60 s have gone, as the webhooks do; what is left keeps its place and goes first on the next pass.Tested locally: lint, migration and catalogue checks, the full unit suite (21,402 passed, 189 skipped), and the two browser test files that touch these areas (16 passed; no template, style or script changed).
Not exercised locally: PostgreSQL. The cache purge's tests now run in the PostgreSQL job as well, because its one hand-written statement must never delete a live counter; the new index is applied by that job's migrate. The gone-quiet filter and the notifier retries are proven on SQLite only.
🤖 Generated with Claude Code