feat: add job outbox, relay, leases and image variants to the pipeline

Move publishing out of the upload path: a relay process publishes queued
jobs with confirms. Add lease and attempt fencing, backoff with jitter, a
per-job render process with CPU and memory limits, crop and optimized
variants, the failed registry with audited replay, and staging cleanup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-31 15:36:15 +03:00
co-authored by Claude Opus 5.5
parent 99a222eee2
commit e2a6427c24
102 changed files with 9499 additions and 1916 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ VALKEY_PORT=6379
S3_HOST=s3
S3_PORT=8333
S3__BUCKET=bench
# брокер запускает только профиль uploads (лаба 5); пароль генерирует run.py
# брокер, relay и worker описаны и не запускаются (лаба 5); compose требует эти
# значения при разборе, пароль брокера генерирует run.py
RABBITMQ_HOST=rabbitmq
RABBITMQ_PORT=5672
RABBITMQ_DEFAULT_USER=bench