Affected area
Other
Supabase CLI version
2.117.0
Operating system
Arch Linux
Installation method
npm
Command
supabase experimental workers new api --runtime node --size 2gb --exposure private
Actual output
hen supabase/config.toml is read-only, the command fails with:
`PermissionDenied: FileSystem.writeFile (.../supabase/config.toml)`
But it still creates supabase/workers/api/. Retrying after fixing permissions fails because the directory already exists.
Expected behavior
On a config write failure, the command should not leave the scaffold directory behind, or should roll it back.
Steps to reproduce
- Create an empty project with supabase/config.toml.
- Make config.toml read-only: chmod 444 supabase/config.toml.
- Run the command above.
- Notice supabase/workers/api/ was created despite the failure.
- Restore write permission and retry; it fails because the directory is non-empty.
Crash report ID
No response
Docker and service versions
Additional context
This makes a failed scaffold require manual cleanup before retrying.
Affected area
Other
Supabase CLI version
2.117.0
Operating system
Arch Linux
Installation method
npm
Command
Actual output
Expected behavior
On a config write failure, the command should not leave the scaffold directory behind, or should roll it back.
Steps to reproduce
Crash report ID
No response
Docker and service versions
Additional context
This makes a failed scaffold require manual cleanup before retrying.