Skip to content

Conversation

@rtibbles
Copy link
Member

Summary

Cascade merge

DXCanas and others added 16 commits December 4, 2025 15:12
Does not appear to be used anywhere.
Doing as a single commit in case of ressurection.
…ndard.

And deleting defunct cloudbuild prod yaml
Making a separate commit for bookmarking purposes. Seems we used to deploy to a separate/distinct dev cluster, and create new postgres instances for every single pr.
Standardizing on image-specific docker locations.
Will delete after both have been updated.
Implements soft shutdown feature from Celery 5.5.3 to prevent task
interruption during pod termination. Resolves #5000.

Changes:
- Add worker_soft_shutdown_timeout (28s) to Celery config in settings.py
- Add REMAP_SIGTERM=SIGQUIT to K8s shared env vars to trigger soft shutdown

When K8s sends SIGTERM during pod termination, workers will now:
1. Stop accepting new tasks
2. Continue processing current task for up to 28 seconds
3. Exit cleanly if task completes, or timeout after 28s
4. Allow K8s 2s buffer before 30s grace period expires

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

Co-Authored-By: Claude <noreply@anthropic.com>
Update paths for nginx Dockerfile in workflow
…ix-011CUcP3gvHvA6ojaMVJ1ppx

Configure Celery for graceful shutdown during K8s deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants