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

stack: functions serve fails with "Dependent … blocks restart of …" after a plain supabase start

Đã đóng
#7,009 0 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 6/10/2026.

  • #7028 của @7ttp — đang mở

Đá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

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ả

🐛 Bug supabase/cli
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
  1. mkdir repro && cd repro && git init && supabase init && supabase functions new hello
  2. echo FOO=bar > fn.env
  3. 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

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.