workers new leaves an orphaned scaffold when config.toml can't be written
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ả
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.
- 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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của supabase/cli
-
🐛 Bug supabase/cli
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
🐛 Bug supabase/cli
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
🐛 Bug supabase/cli
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
✨ Feature supabase/cli
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug supabase/cli
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Add: Digi World (Romania) SDĐang mởcheck:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Fission-AI/OpenSpec#1986 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
nestjs/docs.nestjs.com#3554 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
publicodes/publicodes#868 ·
-
namespace operations
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
EclipseFdn/open-vsx.org#13488 ·
Maintainer thường phản hồi trong vòng 2 ngày