Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

workers new leaves an orphaned scaffold when config.toml can't be written

Chiusa
#6,802 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@7ttp ci sta già lavorando.

Dal 24/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

🐛 Bug supabase/cli
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
  1. Create an empty project with supabase/config.toml.
  2. Make config.toml read-only: chmod 444 supabase/config.toml.
  3. Run the command above.
  4. Notice supabase/workers/api/ was created despite the failure.
  5. 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.

Lingua principale
TypeScript
Stelle
2.4k
Fork
526
Merge medio
1g 38m
PR unite (30g)
271

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di supabase/cli

Tutte le issue di supabase/cli

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.