Skip to content

fix(cli): surface serve staging errors - #6113

Merged
avallete merged 1 commit into
supabase:developfrom
7ttp:fix/serve-staging-error-passthrough
Aug 7, 2026
Merged

fix(cli): surface serve staging errors#6113
avallete merged 1 commit into
supabase:developfrom
7ttp:fix/serve-staging-error-passthrough

Conversation

@7ttp

@7ttp 7ttp commented Aug 7, 2026

Copy link
Copy Markdown
Member

TL;DR

fixes functions serve and supabase start failing with only An error occurred in Effect.tryPromise
when an env file read or a runtime staging write fails,
which was caused by bare Effect.tryPromise call sites whose
UnknownError wrapper is itself an Error so the piped mapError guards returned the generic wrapper unchanged..

and is now fixed by converting the five serve call sites to the try and catch form so the raw
filesystem error reaches the user.
Also pins the gen types pflag consumption test on a deterministic container inspect failure instead of depending on nothing listening on the local db port...

ref:

@7ttp
7ttp requested a review from a team as a code owner August 7, 2026 09:50
@7ttp 7ttp self-assigned this Aug 7, 2026
@avallete
avallete added this pull request to the merge queue Aug 7, 2026
Merged via the queue into supabase:develop with commit 1136b0e Aug 7, 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.

2 participants