mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 15:39:13 +00:00
## Problem The pipeline wizard lets users reach Review without a valid publication or initial-sync selection. This is a slice of #49243, following the merged #51818. ## Solution - Refresh publication metadata on **Continue** and reject unavailable publications or removed initial-sync tables. - Validate initial-sync and advanced data settings, reveal invalid fields and preserve values for retry. - Block browser-history shortcuts to Review after data settings change. | Normal State | Error State (Expanded) | | --- | --- | | <img width="1486" height="1010" alt="CleanShot 2026-10-16 at 13 18 25@2x" src="https://github.com/user-attachments/assets/74ec0785-3bd4-407a-aa3c-7fe69c338488" /> | <img width="1506" height="2516" alt="CleanShot 2026-10-16 at 13 21 27@2x" src="https://github.com/user-attachments/assets/6193d8c4-ab9d-47ca-9d9d-1a31198145d1" /> | Pipeline creation and navigation-out guards remain for later slices. **Start pipeline** stays disabled. ## Review instructions 1. Open the [Pipelines preview](https://studio-staging-git-dnywh-featpipeline-data-validation-supabase.vercel.app/dashboard/project/_/database/pipelines), select a test project and enable **Pipeline creation wizard**. Open the [wizard preview](https://studio-staging-git-dnywh-featpipeline-data-validation-supabase.vercel.app/dashboard/project/_/database/pipelines/new), choose a destination, then enter credentials and test the connection to reach Data. 2. Click **Continue** without a publication. Check the field error. Select a publication, choose a selective initial-sync mode and leave its table selection empty. Check Continue requires at least one table. Select a table and confirm you can reach Review. 3. Return to Data. Enter a negative **Batch wait time** under **Advanced settings**, collapse it and click Continue. Check it reopens with the error. Correct it and continue, then use browser Back, change a data setting and try browser Forward. Check you stay on Data until you click Continue again. 4. For a stale-selection check, select an initial-sync table, remove it from the publication in another tab, then click Continue. Check the selection is rejected and your other values remain. A failed metadata request should also keep values and allow retry with Continue.