feat: distributed rendering with Celery

- celery_app.py: Celery configuration with Redis broker
- tasks.py: render_effect task with full provenance tracking
- render.py: CLI for submitting render jobs
- Successfully renders cat → dog with provenance chain

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
gilesb
2026-01-07 02:04:07 +00:00
commit 500e57b9a4
7 changed files with 342 additions and 0 deletions

12
check_redis.py Normal file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env python3
"""Check Redis connectivity."""
import redis
try:
r = redis.Redis(host='localhost', port=6379, db=0)
r.ping()
print("Redis: OK")
except redis.ConnectionError:
print("Redis: Not running")
print("Start with: sudo systemctl start redis-server")