Celery recipes
4 tested Celery integration recipes with redis, fakeredis, Django, pytest-django. Exact pinned versions and a last-passed receipt, last run 2026-10-15.
Celery 5 on Redis with fakeredis-backed idempotency, tested offline in eager mode
Configure a Celery app on a Redis broker and result backend for production, guard a task with a Redis SET NX idempotency lock, and test it offline with task_always_eager and fakeredis.
Celery 5 tasks, chains and groups tested in eager mode
Define Celery tasks, chain and fan them out with groups, then test them offline with task_always_eager and the in-memory broker.
Celery beat crontab schedules validated and run eagerly
Define beat_schedule crontab entries, validate task names and schedule types before deploy, and test each scheduled call offline with task_always_eager.
Django post_save signal enqueuing a Celery task, tested with eager mode and on_commit
A post_save signal queues a Celery task only after the row commits via transaction.on_commit, then tests run offline on in-memory SQLite with Celery eager mode and pytest-django's on_commit capture.