Skip to content

fix(cli): skip redundant network create - #6130

Merged
avallete merged 1 commit into
supabase:developfrom
7ttp:fix/network-create-conflict
Aug 9, 2026
Merged

fix(cli): skip redundant network create#6130
avallete merged 1 commit into
supabase:developfrom
7ttp:fix/network-create-conflict

Conversation

@7ttp

@7ttp 7ttp commented Aug 9, 2026

Copy link
Copy Markdown
Member

TL;DR

fixes supabase start --network-id failing with failed to create docker network
when the network already exists but the create request dies in transit, for example an EPIPE through a docker socket forwarder.

was caused by legacyEnsureNetwork always spawning a docker network create that is a guaranteed conflict for an existing network, and is now fixed by:
probing docker network inspect first and only creating on a miss, the same shape ensureDockerNetwork already uses. The shared bootstrap path also covers db start and db reset....

ref:

@7ttp
7ttp requested a review from a team as a code owner August 9, 2026 09:59
@7ttp 7ttp self-assigned this Aug 9, 2026
@avallete
avallete enabled auto-merge August 9, 2026 10:41
@avallete
avallete added this pull request to the merge queue Aug 9, 2026
Merged via the queue into supabase:develop with commit f398db9 Aug 9, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Supabase CLI 2.109.1: later network-create gets EPIPE through Unix-socket forwarder on GitHub Actions Ubuntu 24.04

2 participants