stack: functions serve fails with "Dependent … blocks restart of …" after a plain supabase start
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- docker, typescript
- Domain
- cli, developer-experience, tooling
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 531
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 332
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from supabase/cli
-
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 requestPossibly taken @7ttp claimed this 3 days ago. Open🐛 Bug supabase/cli
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
supabase/cli#6975 · 1 assignee ·
Maintainers usually reply within 1 day
-
📘 Docs supabase/cli
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
🐛 Bug supabase/cli
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
🐛 Bug supabase/cli
Difficulty 3/5 Half a day Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
stack: outbound HTTPS from Postgres (http, pg_net) fails certificate verification on native darwin-arm64Possibly taken A pull request linked to this issue is open or already merged. Open🐛 Bug supabase/cli
Difficulty 4/5 3-5 days Newbie friendliness 32/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
umbraco/Umbraco-CMS-MCP-Dev#512 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
wimpysworld/sidra#290 ·
Maintainers usually reply within 1 day
-
defuFn invokes function values for inherited default propertiesPossibly taken @xiehuanyi claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
feature request good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
TabularisDB/tabularis#853 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 Under an hour Newbie friendliness 85/100
capricorn86/happy-dom#2474 ·
Maintainers usually reply within 2 days