Supabaseยท
How a new branch gets its config, migrations, and functions
TL;DR
Supabase preview branches need settings, database schema, and Edge Functions before they can be used. Setup runs largely in parallel, pulling inputs from the main project or a connected GitHub repo, while coordinating database restarts, applying migrations atomically, and skipping unchanged functions. Branches are ready in about 20 seconds at the median, with retries and step-by-step logs to help diagnose failures.