Fix: [UN-2941] Added InternalAPIAuthMiddleware to Django middleware stack#1628
Merged
muhammad-ali-e merged 1 commit intoNov 2, 2025
Conversation
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
vishnuszipstack
approved these changes
Nov 2, 2025
vishnuszipstack
pushed a commit
that referenced
this pull request
Nov 2, 2025
* 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>
ritwik-g
pushed a commit
that referenced
this pull request
Nov 3, 2025
…atibility (#1637) * 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) * UN-2942 [HOT-FIX] API deployments now properly clean up execution directories after completion (#1635) UN-2942 [FIX] API deployments now properly clean up execution directories after completion * UN-2942 [FIX] Fix API deployment directory cleanup and MinIO compatibility (#1636) * Added boto3 version pin to match backend * Added uvlock * fix execution directory for api --------- Signed-off-by: ali <117142933+muhammad-ali-e@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What
InternalAPIAuthMiddlewareto Django middleware stack inbackend/backend/settings/base.pyTENANT_MIDDLEWAREto ensure proper organization context handlingWhy
How
middleware.internal_api_auth.InternalAPIAuthMiddlewareto the MIDDLEWARE listCan this PR break any existing features. If yes, please list possible items. If no, please explain why. (PS: Admins do not merge the PR without this section filled)
No, this should not break existing features because:
Potential considerations:
Database Migrations
Env Config
INTERNAL_SERVICE_API_KEYis configured in both backend and worker environmentsRelevant Docs
Related Issues or PRs
Dependencies Versions
Notes on Testing
Screenshots
N/A - Backend middleware configuration change
Checklist
I have read and understood the Contribution Guidelines.