<!-- CURSOR_AGENT_PR_BODY_BEGIN --> `PipelineCreationFlow.test.tsx` started timing out on `master` ([run](https://github.com/supabase/supabase/actions/runs/39227187528), [run](https://github.com/supabase/supabase/actions/runs/39231750598)) – neither commit touched it. The heavier tests drive the full wizard through several steps and already took 2.5–3.7s on a fast runner, so a slow runner pushes them past vitest's 5s default. Most of the time went to unscoped `getByRole` lookups: a worker profile put about half the samples under role queries, and the self time was jsdom `getComputedStyle` (style and color resolution) on that large tree. Failing `waitFor` / `findBy` polls only start dumping the whole tree once a query misses, which is the path that tipped these tests over. `infrastructure.test.tsx`'s disk/autoscaling test timed out once for the same family of cost – per-keystroke `userEvent` typing on the full page. Retries don't help here – a timed-out attempt keeps running while the retry starts, which is where the "Continue not found" / empty `<body>` errors in those logs come from. **Changed:** - `PipelineCreationFlow.test.tsx` – step waits go through a `waitForStep` helper and other waits poll with `queryBy*`, so failing polls no longer build role/DOM dumps - `PipelineCreationFlow.test.tsx` – `fillConnection` uses label queries and step-specific queries are scoped with `within` - `PipelineCreationFlow.test.tsx` – split `preserves connection and data values…` into `preserves connection values across destination changes` and `preserves data values across steps and reaches Review`, with the same assertions - `infrastructure.test.tsx` – `submits disk and autoscaling changes…` types with `userEvent.setup({ delay: null })` so keystrokes are not separated by a macrotask No assertions were removed and no test timeouts were raised. | test | before (median / 1-core worst) | after (median / 1-core worst) | | --- | --- | --- | | requires connection fields and reveals invalid advanced settings | 1092 / 1554 | 1121 / 1522 | | recovers from request and critical failures and reviews warnings before continuing | 1812 / 2056 | 1263 / 1497 | | invalidates connection verification after edits and ignores stale responses | 1045 / 1109 | 509 / 563 | | uses browser Back and Forward to revisit steps without losing values | 1199 / 1368 | 582 / 703 | | starts a fresh session at Destination (×4) | 55–87 / 54–113 | 51–84 / 77–108 | | preserves connection and data values across steps and destination changes | 2270 / 2391 | split | | preserves connection values across destination changes | – | 929 / 1081 | | preserves data values across steps and reaches Review | – | 1058 / 1141 | | blocks incomplete data, retries metadata failures, and reveals invalid advanced settings | 1934 / 2097 | 1514 / 1621 | | blocks browser Forward to Review after data changes | 1151 / 1268 | 799 / 874 | | confirms destination-only changes and treats a reverted selection as pristine | 385 / 410 | 381 / 386 | | confirms dirty dismissal and allows keeping the form | 843 / 908 | 707 / 736 | | closes a pristine form and blocks progression without destinations | 46 / 46 | 43 / 48 | | submits disk and autoscaling changes to both infrastructure APIs | 1355 / 1805 | 1219 / 1684 | Median of 5 unconstrained runs, worst of 3 runs pinned to one core (`taskset -c 0`). Vitest 5.0.0. This touches the same file as #51900 – the helper changes carry over to its new tests once it merges. ## To test - [x] `pnpm --filter studio exec vitest run components/interfaces/Database/Replication/CreatePipeline` – all pass - [x] `pnpm --filter studio exec vitest run "tests/pages/project/[ref]/settings/infrastructure.test.tsx"` – all pass - [x] Same files pinned to one CPU core (`taskset -c 0`) – no test near the 5s timeout - [x] `test (1)` on this PR – green <!-- CURSOR_AGENT_PR_BODY_END --> <div><a href="https://cursor.com/agents/bc-b1f88499-15f7-5aff-b190-841d7371ba48?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png"><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a> <a href="https://cursor.com/background-agent?bcId=bc-b1f88499-15f7-5aff-b190-841d7371ba48&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a> </div> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Supabase
Supabase is the Postgres development platform. We're building the features of Firebase using enterprise-grade open source tools.
- Hosted Postgres Database. Docs
- Authentication and Authorization. Docs
- Auto-generated APIs.
- Functions.
- File Storage. Docs
- AI + Vector/Embeddings Toolkit. Docs
- Dashboard
Watch "releases" of this repo to get notified of major updates.
Documentation
For full documentation, visit supabase.com/docs
To see how to Contribute, visit Getting Started
Community & Support
- Community Forum. Best for: help with building, discussion about database best practices.
- GitHub Issues. Best for: bugs and errors you encounter using Supabase.
- Email Support. Best for: problems with your database or infrastructure.
- Discord. Best for: sharing your applications and hanging out with the community.
How it works
Supabase is a combination of open source tools. We’re building the features of Firebase using enterprise-grade, open source products. If the tools and communities exist, with an MIT, Apache 2, or equivalent open license, we will use and support that tool. If the tool doesn't exist, we build and open source it ourselves. Supabase is not a 1-to-1 mapping of Firebase. Our aim is to give developers a Firebase-like developer experience using open source tools.
Architecture
Supabase is a hosted platform. You can sign up and start using Supabase without installing anything. You can also self-host and develop locally.
- Postgres is an object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance.
- Realtime is an Elixir server that allows you to listen to PostgreSQL inserts, updates, and deletes using websockets. Realtime polls Postgres' built-in replication functionality for database changes, converts changes to JSON, then broadcasts the JSON over websockets to authorized clients.
- PostgREST is a web server that turns your PostgreSQL database directly into a RESTful API.
- GoTrue is a JWT-based authentication API that simplifies user sign-ups, logins, and session management in your applications.
- Storage a RESTful API for managing files in S3, with Postgres handling permissions.
- pg_graphql a PostgreSQL extension that exposes a GraphQL API.
- postgres-meta is a RESTful API for managing your Postgres, allowing you to fetch tables, add roles, and run queries, etc.
- Envoy is a cloud-native, high-performance edge and service proxy.
Client libraries
Our approach for client libraries is modular. Each sub-library is a standalone implementation for a single external system. This is one of the ways we support existing tools.
| Language | Client | Feature-Clients (bundled in Supabase client) | ||||
|---|---|---|---|---|---|---|
| Supabase | PostgREST | GoTrue | Realtime | Storage | Functions | |
| ⚡️ Official ⚡️ | ||||||
| JavaScript (TypeScript) | supabase-js | postgrest-js | auth-js | realtime-js | storage-js | functions-js |
| Flutter | supabase-flutter | postgrest | supabase_auth | supabase_realtime | supabase_storage | supabase_functions |
| Swift | supabase-swift | postgrest-swift | auth-swift | realtime-swift | storage-swift | functions-swift |
| Python | supabase-py | postgrest-py | gotrue-py | realtime-py | storage-py | functions-py |
| 💚 Community 💚 | ||||||
| C# | supabase-csharp | postgrest-csharp | gotrue-csharp | realtime-csharp | storage-csharp | functions-csharp |
| Go | - | postgrest-go | gotrue-go | - | storage-go | functions-go |
| Java | - | - | gotrue-java | - | storage-java | - |
| Kotlin | supabase-kt | postgrest-kt | auth-kt | realtime-kt | storage-kt | functions-kt |
| Ruby | supabase-rb | postgrest-rb | - | - | - | - |
| Rust | - | postgrest-rs | - | - | - | - |
| Godot Engine (GDScript) | supabase-gdscript | - | - | - | - | - |
Badges
[](https://supabase.com)
<a href="https://supabase.com">
<img
width="168"
height="30"
src="https://supabase.com/badge-made-with-supabase.svg"
alt="Made with Supabase"
/>
</a>
[](https://supabase.com)
<a href="https://supabase.com">
<img
width="168"
height="30"
src="https://supabase.com/badge-made-with-supabase-dark.svg"
alt="Made with Supabase"
/>
</a>
Translations
- Arabic | العربية
- Albanian / Shqip
- Bangla / বাংলা
- Bulgarian / Български
- Catalan / Català
- Croatian / Hrvatski
- Czech / čeština
- Danish / Dansk
- Dutch / Nederlands
- English
- Estonian / eesti keel
- Finnish / Suomalainen
- French / Français
- German / Deutsch
- Greek / Ελληνικά
- Gujarati / ગુજરાતી
- Hebrew / עברית
- Hindi / हिंदी
- Hungarian / Magyar
- Nepali / नेपाली
- Indonesian / Bahasa Indonesia
- Italiano / Italian
- Japanese / 日本語
- Korean / 한국어
- Lithuanian / lietuvių
- Latvian / latviski
- Malay / Bahasa Malaysia
- Norwegian (Bokmål) / Norsk (Bokmål)
- Persian / فارسی
- Polish / Polski
- Portuguese / Português
- Portuguese (Brazilian) / Português Brasileiro
- Romanian / Română
- Russian / Pусский
- Serbian / Srpski
- Sinhala / සිංහල
- Slovak / slovenský
- Slovenian / Slovenščina
- Spanish / Español
- Simplified Chinese / 简体中文
- Swedish / Svenska
- Thai / ไทย
- Traditional Chinese / 繁體中文
- Turkish / Türkçe
- Ukrainian / Українська
- Vietnamese / Tiếng Việt
- List of translations



