## Context
We've been seeing many `NotFoundError: Failed to execute 'removeChild'
on 'Node'` and `NotFoundError: Failed to execute 'insertBefore' on
'Node'` events on Sentry which are historically known to be caused by
Google Translate in the browser.
There's technically no _right way_ to address this unfortunately, but
one of the solutions which should address most of these issues is to
wrap any dynamic text within a span - we've considered that quite a
while back tbh but never took the time to do this until today with the
help of Claude. Although just a heads up that it might not necessarily
completely eradicate those issues.
Also added an eslint rule which should prevent future occurences of this
<img width="1264" height="192" alt="image"
src="https://github.com/user-attachments/assets/b2c32ea0-45a2-4ccd-82fe-1a859905fc29"
/>
## Problem
The pipeline wizard can validate and review settings, but cannot create
a pipeline. This is slice 13 of #49243, following #51823.
## Solution
- Enable **Start pipeline** on Review using the sheet’s existing
validation, creation and start requests.
- Recheck publication settings, block critical failures and show
warnings inline before **Start pipeline anyway**.
- Preserve values after validation or create failures. Once creation
succeeds, finish the start attempt and return to Pipelines, including
when starting fails.
| After |
| --- |
| <img width="1234" height="2470" alt="CleanShot 2026-10-19 at 11 22
44@2x"
src="https://github.com/user-attachments/assets/23882092-26e2-4d23-b2a1-00d1d2dcba90"
/> |
**Add pipeline** still opens the sheet. Wizard entry remains behind
**Pipeline creation wizard** at `/database/pipelines/new`; routing is
the next slice.
## Review instructions
1. Open the [Pipelines
preview](https://studio-staging-git-dnywh-featpipeline-review-creation-supabase.vercel.app/dashboard/project/_/database/pipelines),
choose a test project and enable **Pipeline creation wizard** in Feature
Previews. Open the [wizard
preview](https://studio-staging-git-dnywh-featpipeline-review-creation-supabase.vercel.app/dashboard/project/_/database/pipelines/new)
for that project.
2. Choose a destination, enter valid test credentials and select a
publication. Continue to Review and check the settings, masked secrets
and costs. Back and Continue should preserve your values.
3. Click **Start pipeline**. Controls should lock while submitting, then
return to Pipelines with one new pipeline and no discard prompt. If
warnings appear, review them before clicking **Start pipeline anyway**;
critical failures must block creation.
4. Turn the preview off and open the wizard URL again: creation should
use the existing sheet. Editing existing pipelines should also keep the
sheet.
Automated tests cover final validation, changed warnings, create
retries, duplicate-click protection, removed publications and start
failure recovery.
## Problem
The pipeline wizard from #51776 allows users to continue without valid
destination credentials. This is the next slice of #49243.
## Solution
- Validate connection fields for all four destinations using the
existing schemas and helpers.
- Validate the destination on **Continue** and advance to Data on
success. Show field errors and connection failures inline; pause for
warnings before continuing.
- Require a new check after connection settings change and block
browser-history shortcuts past an unverified connection.
| Errored Test | Success Test |
| --- | --- |
| <img width="1532" height="2062" alt="CleanShot 2026-10-16 at 12 19
51@2x"
src="https://github.com/user-attachments/assets/a40a6c01-ee89-4601-b5d7-6ffc85071dc7"
/> | <img width="1500" height="1950" alt="CleanShot 2026-10-16 at 12 18
33@2x"
src="https://github.com/user-attachments/assets/c50c1ad4-256b-44b5-bd06-ec0685aae759"
/> |
The screenshots show earlier test states; successful checks now advance
directly to Data.
Data validation and pipeline creation remain for later slices. **Start
pipeline** stays disabled.
## Review instructions
1. Open the [Pipelines
preview](https://studio-staging-git-dnywh-featpipeline-connectio-eb9566-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-connectio-eb9566-supabase.vercel.app/dashboard/project/_/database/pipelines/new)
for that project.
2. Choose a destination and click **Continue** with empty or invalid
fields. Check the errors, then enter valid credentials and retry. A
failed check keeps your values. A failed result stays visible while
editing, until retry or destination change. Changed settings still
require a fresh check. A successful check opens Data automatically;
warnings remain for review before continuing.
3. Continue to Data, return to Connection and change a credential or
advanced connection setting. Check that browser **Forward** cannot skip
the new check, then click **Continue** to validate again.
## Problem
The pipeline wizard in #49243 needs estimated costs and validation
feedback in review before creation.
## Solution
Add the megabranch’s inline cost estimate and validation feedback to
preview-enabled creation. Initial-sync costs follow the selected tables;
ongoing pipeline and streaming rates remain visible. Missing estimates
do not block creation. Validation feedback distinguishes critical issues
from warnings.
Preview off and editing keep the existing layout. The Start action,
warning confirmation and final cost dialog stay unchanged; no wizard
routing is added. Stacked on #51635.
## Review instructions
1. Open the [Pipelines
preview](https://studio-staging-git-dnywh-featpipeline-review-costs-supabase.vercel.app/dashboard/project/_/database/pipelines),
select a test project with Pipelines enabled, enable **Pipeline creation
wizard** in Feature Previews and click **Add pipeline**. Select a
publication and confirm **Estimated costs** follows Data review.
2. Compare **All tables**, **No tables** and selected-table initial
sync. Confirm initial-sync totals follow the selection, while hourly
pipeline and streaming rates stay visible. With **No tables**, initial
sync should cost zero. Check desktop and phone widths.
3. Enter valid-format but incorrect destination credentials and click
**Start pipeline**. Confirm critical validation issues appear inline and
creation stops. Correct the credentials and retry. If warnings are
returned, confirm the review explains they may affect replication and
the existing **Start pipeline anyway** confirmation still applies.
Cancel before final creation.
4. Turn the preview off and reopen **Add pipeline**. Confirm there is no
inline cost review. With the preview on, edit an existing pipeline and
confirm its original layout remains.