Skip to content

fix(cli): skip function bundle chmod on windows - #6109

Merged
avallete merged 1 commit into
supabase:developfrom
7ttp:fix/functions-deploy-windows-bundler
Aug 7, 2026
Merged

fix(cli): skip function bundle chmod on windows#6109
avallete merged 1 commit into
supabase:developfrom
7ttp:fix/functions-deploy-windows-bundler

Conversation

@7ttp

@7ttp 7ttp commented Aug 7, 2026

Copy link
Copy Markdown
Member

TL;DR

skips the POSIX-only bundle output chmod on Windows, matching the Go CLI's MkdirAll(..., 0777) behavior

the unconditional TypeScript chmod introduced an NTFS WRITE_ATTRIBUTES requirement that does not exist in the Go
when denied, deployment failed before Docker started and surfaced only An error occurred in Effect.tryPromise.

macOS and Linux retain the world-writable permission adjustment
while any chmod failure on those platforms now preserves the underlying filesystem error.

ref

@7ttp
7ttp requested a review from a team as a code owner August 7, 2026 00:27
@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 ded3807 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.

[bug] functions deploy fails at bundling with 'An error occurred in Effect.tryPromise' (2.111.0, Windows); --use-api works

2 participants