Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#7,009 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@7ttp 已经在做这个了。

开始于 2026年10月6日。

  • #7028 来自 @7ttp —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
docker, typescript

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
TypeScript
星标
2.4k
派生
531
平均合并
1 天 2 小时
30 天内合并 PR
347

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

supabase/cli 的其他 Issue

查看 supabase/cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。