stack: functions serve fails with "Dependent … blocks restart of …" after a plain supabase start
维护者通常 1 天内回复
评估
- 难度
- 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 内容生成。
描述
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.
- 主要语言
- TypeScript
- 星标
- 2.4k
- 派生
- 531
- 平均合并
- 1 天 2 小时
- 30 天内合并 PR
- 347
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
supabase/cli 的其他 Issue
-
✨ Feature supabase/cli
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
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 request可能已有人在做 @7ttp 于 4 天前认领。 未关闭🐛 Bug supabase/cli
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
📘 Docs supabase/cli
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
🐛 Bug supabase/cli
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
stack: functions serve fails without a TTY because the default output format is one it rejects可能已有人在做 @7ttp 于 1 天前认领。 未关闭🐛 Bug supabase/cli
难度 3/5 半天 新手友好度 68/100
维护者通常 1 天内回复
相似的 Issue
-
refactor
难度 2/5 1-3 小时 新手友好度 76/100
tomnewport/memprot-topo#55 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
WalletConnect/walletconnect-monorepo#7368 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
BU-Spark/se-chem-apll#47 ·
-
documentation
难度 2/5 1 小时以内 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 半天 新手友好度 70/100
udistrital/paginaweb_root#23 ·