Graceful shutdown + resilience & Explore polish (m147) #203
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?
Brings two CI-green batches from dev to main. No migration.
Graceful shutdown (task #1365)
docker-compose.yml:stop_grace_periodper lane (web 30s / worker 90s / scheduler 60s / maintenance-long 180s / ml-worker 120s) so warm shutdown can drain before SIGKILL (was Docker's 10s default).celery_app.py:task_reject_on_worker_lost=True— a task killed past the grace window is re-queued (safe: idempotent + chunked + recovery sweeps).interpreter_client.py: 429/5xx (incl 502/503/504) →InterpreterUnavailable+Retry-Afterparsed;retranslate_postsresumes on interrupt after the hint.Milestone 147 — resilience & Explore polish (tasks #1367–#1372)
wip-tagged art from the rabbit-hole (similar(exclude_wip=…)); gallery "similar" button unchanged (#1274).requests.Sessionfor Interpreter with connect-only retry./api/health, celery-ping) + Swarmdeploy:auto-rollback indocker-compose.yml..part/.partialstaging files.active/last_runfrom TaskRun + polling spinner).NB: prod deploys from a separate stack file, so the compose healthcheck/
stop_grace_period/deploy:bits are reference here — the prod stack file needs the same additions ported (tracked separately).🤖 Generated with Claude Code