mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
## Problem Disabling Warehouse leaves copied data in storage. Users need an explicit option to remove it without deleting files manually. Closes [PIPE-1128](https://linear.app/supabase/issue/PIPE-1128), using the deletion support from [PIPE-1098](https://linear.app/supabase/issue/PIPE-1098). ## Solution Adds “Also delete copied Warehouse data” to the disable dialog. It stays unchecked by default. Source tables are preserved. | Before | After | | --- | --- | | <img width="826" height="504" alt="CleanShot 2026-10-19 at 16 17 12@2x" src="https://github.com/user-attachments/assets/defc99b9-4ec0-4188-bfa6-53f489ef2be5" /> | <img width="830" height="614" alt="CleanShot 2026-10-19 at 16 36 40@2x" src="https://github.com/user-attachments/assets/80299728-a790-4d80-a2d9-16750977a679" /> | Handles errors differently depending on what it relates to: | General Errors | Data Deletion Only | | --- | --- | | <img width="840" height="864" alt="CleanShot 2026-10-20 at 13 22 05@2x" src="https://github.com/user-attachments/assets/7b2b37c3-ace6-4fe0-a1b7-106a97eaab0a" /> | <img width="854" height="876" alt="CleanShot 2026-10-20 at 13 19 13@2x" src="https://github.com/user-attachments/assets/81459525-bb9f-4d2c-891d-b7f8f646098a" /> | | _Above the fold_ | _Below the fold, within the relevant section_ | ## Review instructions 1. Open **Integrations → Warehouse → Overview** in a project with Warehouse enabled, then click **Disable Warehouse**. 2. Check that **Also delete copied Warehouse data** is unchecked and has a permanent deletion warning. Select it, cancel, and reopen. It should be unchecked again. 3. On a disposable project, confirm with the option unchecked. Copied data should remain. With the option checked, the managed DuckLake catalogue and Storage bucket should be removed. Source tables should remain in both cases. 4. Confirm Studio shows cleanup progress, then returns to setup. Failed requests should keep the dialog open; failed background cleanup should offer **Retry**.