mirror of
https://github.com/supabase/supabase.git
synced 2026-12-03 23:18:57 +00:00
## What Read replica creation is now blocked when upgrading the primary's Postgres would cross a collation lineage boundary. The check uses the upgrade eligibility endpoint, and the lineage boundary logic is ported from the platform. The blocker shows an admonition asking the user to upgrade Postgres first, with a link to the upgrade section in General settings. - Multiple blockers on the replica dialog now collapse into a single admonition. - `useCheckEligibilityDeployReplica` now exposes `isLoading`, `isError`, `error`, and `refetch`. The dialog shows a skeleton while loading and an error with a Retry action on failure. ## Notes for reviewers - Upgrade eligibility only runs for active, healthy projects, so other projects are not blocked by this check. - The admonition copy needs a messaging review. ## Testing - Unit tests for the collation lineage util. - Component tests for blocker collapsing, the loading state, and error/retry. Closes FE-4643