feat: downgrade subscription when its expired#130
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a background consumer to handle organization downgrade events and deactivate excess spaces, alongside some cleanup of unused imports. However, several critical issues were identified: removing console_client from views will cause NameErrors because it is still in use; the space deactivation logic has bugs regarding incorrect field filtering, missing tenant schema context, and inefficient QuerySet evaluation; and running the consumer in the background of the Docker entrypoint is a container anti-pattern that should be avoided in favor of a separate service.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
c447a9e to
3b52fa1
Compare
What?
Why?
How?
Testing?
Anything Else?