Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đã đóng
#6,802 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@7ttp đang làm issue này rồi.

Từ ngày 24/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

🐛 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.

Ngôn ngữ chính
TypeScript
Star
2.4k
Fork
526
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
281

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của supabase/cli

Tất cả issue của supabase/cli

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.