- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 10.4k
chore: compute Instances entitlements #39848
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| The latest updates on your projects. Learn more about Vercel for GitHub. 
 6 Skipped Deployments
 | 
| This pull request has been ignored for the connected project  Preview Branches by Supabase. | 
a428519    to
    97420e6      
    Compare
  
    | Studio E2E Results Note: No JSON report found or parse error. Artifacts: https://github.com/supabase/supabase/actions/runs/18881577863 Last updated: Tuesday 28, October, 2025 16:22:31 (UTC) | 
5baa15d    to
    e439148      
    Compare
  
    8196dc2    to
    110ec34      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before starting to actually use entitlements in the frontend, let's ensure two things
- On a plan change or any change that would invalidate entitlements, we need to invalidate the react-query cache
- Have a higher stale time to avoid refetching (let's do 30m-60m)
| 
 Addressed in #39905 | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and it works as expected.
This PR changes the way that we check if the user is allowed to change the compute instance of a project from checking if the user is on the Free Plan to an entitlement check.
Testing
/project/_/settings/compute-and-diskOptional testing with backend feature catalog changes
enabled: trueto enable updating compute sizes on the Free Plan.