Skip to content

fix(cli): ensure temp directory#5904

Open
7ttp wants to merge 1 commit into
supabase:developfrom
7ttp:fix/functions-serve-env-file-windows
Open

fix(cli): ensure temp directory#5904
7ttp wants to merge 1 commit into
supabase:developfrom
7ttp:fix/functions-serve-env-file-windows

Conversation

@7ttp

@7ttp 7ttp commented Jul 19, 2026

Copy link
Copy Markdown
Member

TL;DR

fixes functions serve --env-file failing with a generic Effect.tryPromise error on windows when TEMP or TMP points to a missing directory

so basically now it creates the configured temp directory before writing runtime artifacts and preserves underlying
filesystem errors, matching the go-cli behavior....

ref

@7ttp
7ttp requested a review from a team as a code owner July 19, 2026 14:10
@7ttp 7ttp self-assigned this Jul 19, 2026
@7ttp

7ttp commented Jul 19, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: a39b0a92cb

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@7ttp
7ttp requested a review from avallete July 20, 2026 09:48
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.

[bug] functions serve --env-file fails with 'An error occurred in Effect.tryPromise' (CLI 2.109.1)

1 participant