stack: functions serve fails with "Dependent … blocks restart of …" after a plain supabase start
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- docker, typescript
- Lĩnh vực
- cli, developer-experience, tooling
Hướng nghiên cứu
Reproduce with the two commands in the issue after supabase init and supabase functions new. Trace how experimental stack start --runtime native brings up the functions service versus how functions serve --env-file tries to restore or restart that service (the UUID “Dependent … blocks restart” error). Done when functions serve after a plain supabase start takes over the functions service with the env file, without needing --exclude functions.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Affected area
Local development / Edge Functions
Supabase CLI version
2.119.0
Operating system
macOS 26.3 (Apple silicon)
Installation method
npm (supabase package)
Command
SUPABASE_EXPERIMENTAL_STACK=1 supabase start --runtime native
SUPABASE_EXPERIMENTAL_STACK=1 supabase functions serve --env-file fn.env --output-format text
Actual output
Failed to restore Functions configuration: Dependent f95d59a8-3a20-4afc-98e4-68072231edc6 blocks restart of 57bed916-1c59-44cc-a5b0-e501cc2577bb
Dependent f95d59a8-3a20-4afc-98e4-68072231edc6 blocks restart of 57bed916-1c59-44cc-a5b0-e501cc2577bb
Try rerunning the command with --debug to troubleshoot the error.
The "Running multiple local projects" guide says "functions serve needs a running local project. Start one with supabase start first", which is exactly this sequence.
Workaround: start with supabase start --runtime native --exclude functions; then functions serve --env-file runs, and the env file reaches the functions.
Expected behavior
functions serve takes over the stack's functions service (or restarts it with the given --env-file) after a plain supabase start.
Steps to reproduce
mkdir repro && cd repro && git init && supabase init && supabase functions new helloecho FOO=bar > fn.env- Run the two commands above.
I investigated this with help from an AI coding assistant (Claude Code), which also drafted this text. The results above come from real runs.
- Ngôn ngữ chính
- TypeScript
- Star
- 2.4k
- Fork
- 533
- Merge trung bình
- 21 giờ 24 phút
- Pull request đã merge (30 ngày)
- 378
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 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
db schema declarative sync: no way to fail (non-zero exit) when the generated migration is destructiveCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở✨ Feature supabase/cli
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
stack: the HTTP gateway closes idle keep-alive connections after 5 s, so a client whose event loop is blocked gets ECONNRESET (`fetch failed`) on its next requestCó thể đã có người làm @7ttp đã nhận 14 ngày trước. Đang mở🐛 Bug supabase/cli
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
supabase/cli#6975 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
📘 Docs supabase/cli
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
supabase/cli#6974 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Migration error caret is missing or misplaced when the statement contains multibyte charactersĐang mở🐛 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
Issue tương tự
-
bug engine
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
frostney/GocciaScript#1746 ·
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 67/100
agilepathway/label-checker#739 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Wrong key location at startupĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
CopilotKit/OpenBot#800 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Endpoint links in the tag operations list are below the 24px target sizeCó thể đã có người làm @AdzerKI đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/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 79/100
ehmpathy/rhachet-roles-bhuild#471 ·
Maintainer thường phản hồi trong vòng 1 ngày