Skip to content

Commit e340c35

Browse files
V0.138.16 hotfix (#1629)
* Fix/un 2910 fix prevent task duplication while warm shutdown heartbeatkeeper and resolve sigsegv issues (#1616) * UN-2910 [FIX] Prevent task duplication during Kubernetes warm shutdown with HeartbeatKeeper Implemented HeartbeatKeeper bootstep to maintain RabbitMQ connection during Celery warm shutdown, preventing task requeuing and duplication during Kubernetes rolling updates and graceful pod terminations. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * structuretool-for-testing * handling envs * sonar issue addressing * forksafe gcs and gdrive connectors * updated grpc imports * fork safty in shared internal client session * reverted forksafty fropm baseclient, addressed coderabbitai comments * minor changes * reverted structure tool changes that was changed for tetsing * plugin registry changes for .so file comaptibility * added default value for heartbeat --------- Co-authored-by: Claude <noreply@anthropic.com> * Fix: Added InternalAPIAuthMiddleware to Django middleware stack (#1628) --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent f782f53 commit e340c35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/backend/settings/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ def filter(self, record):
377377
"middleware.request_id.CustomRequestIDMiddleware",
378378
"corsheaders.middleware.CorsMiddleware",
379379
TENANT_MIDDLEWARE,
380+
"middleware.internal_api_auth.InternalAPIAuthMiddleware", # Added to handle X-Organization-ID header from workers
380381
"django.middleware.security.SecurityMiddleware",
381382
"django.contrib.sessions.middleware.SessionMiddleware",
382383
"django.middleware.csrf.CsrfViewMiddleware",

0 commit comments

Comments
 (0)