Skip to content

fix(cli): surface setup errors (CLI-2187) - #6191

Merged
avallete merged 2 commits into
developfrom
7ttp/cli-2187-functions-serve-env-file-fails-with-generic-effecttrypromise
Aug 14, 2026
Merged

fix(cli): surface setup errors (CLI-2187)#6191
avallete merged 2 commits into
developfrom
7ttp/cli-2187-functions-serve-env-file-fails-with-generic-effecttrypromise

Conversation

@7ttp

@7ttp 7ttp commented Aug 13, 2026

Copy link
Copy Markdown
Member

TL;DR

Fixes filesystem errors during functions serve setup which were being surfaced as the generic An error occurred in Effect.tryPromise message.

We already applied a similar fix in #5904 for the same generic error, so it is worth preserving the underlying cause here as well. This also prevents a secondary cleanup failure from masking the original setup error.

Ref

@7ttp
7ttp requested a review from a team as a code owner August 13, 2026 22:53
@7ttp 7ttp self-assigned this Aug 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Supabase CLI preview

npx --yes https://pkg.pr.new/supabase/cli/supabase@e3d9cf167969421fd07d02a96db5ef2c2d1b7db8

Preview package for commit e3d9cf1.

@avallete
avallete enabled auto-merge August 14, 2026 08:45
@avallete
avallete added this pull request to the merge queue Aug 14, 2026
Merged via the queue into develop with commit 5b83559 Aug 14, 2026
22 checks passed
@avallete
avallete deleted the 7ttp/cli-2187-functions-serve-env-file-fails-with-generic-effecttrypromise branch August 14, 2026 08:52
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.

functions serve --env-file fails with generic Effect.tryPromise error before any Docker call (Linux, CLI 2.108.0-2.114.0)

2 participants