2.118.0-beta.72 (darwin-arm64): `supabase --version` blocks forever in open(2), and one stuck process blocks every later invocation
维护者通常 1 天内回复
@7ttp 已经在做这个了。
开始于 2026年9月23日。
评估
这个 Issue 还没有评估数据。
描述
Affected area
Installation
Supabase CLI version
2.118.0-beta.72
Operating system
macOS (Darwin 25.6.0), Apple silicon (darwin-arm64)
Installation method
npm
Command
supabase --version
Actual output
(nothing — the process never exits)
The process sits at 0% CPU. sample shows the main thread blocked in open(2):
Sort by top of stack, same collapsed (when >= 5):
__openat_nocancel (in libsystem_kernel.dylib) 798
__ulock_wait (in libsystem_kernel.dylib) 798
__workq_kernreturn (in libsystem_kernel.dylib) 798
lsof on the stuck process shows only its cwd and the stdout/stderr pipes, with no regular files open.
Expected behavior
It prints 2.118.0-beta.72 and exits, as it does most of the time.
Steps to reproduce
We have not found the trigger for the first hang. Here is what we observed:
- On a self-hosted macOS arm64 GitHub Actions runner,
supabase/setup-cli@v3withversion: 2.118.0-beta.72rannpm viewandnpm installin about 2 s. Its follow-upsupabase --versionnever returned, and the job sat in the setup step for 14 minutes until the run was cancelled. - While a stuck
supabase --versionprocess was alive, every other invocation of the 2.118.0-beta.72 darwin-arm64 binary on the same machine also blocked at startup. That held for--versionand--helpalike, from cwd/or/tmp, underenv -i, withHOMEpointed at an empty directory, and with stdin from/dev/null. Each attempt hung until a 10-15 s alarm killed it. - During the same window, the 2.117.0 and 2.90.0 binaries on the same machine answered
--versionimmediately. - After the stuck processes were killed,
supabase --versionfrom 2.118.0-beta.72 answered in about 1 s again. - Earlier the same day, the same beta ran
db start,start,functions serveandstopon this machine without problems. - No process held
~/.supabase/telemetry.jsonor~/.supabase/traces/*.ndjsonopen while the hang was happening.
Because a new process from any cwd, env or HOME blocks in open(2) only while another instance is stuck, the binary seems to open a machine-global path that can block, such as a FIFO or an exclusively locked file, before it prints anything.
Additional context
We tried the beta because it includes #6697, the fix for the quadratic statement splitter in #6686, which makes db start take about 10 minutes on a 2.9 MB single-statement migration in 2.110.0 through 2.117.0. We reverted our CI to 2.90.0 because a hang like this can hold a single self-hosted runner indefinitely.
- 主要语言
- TypeScript
- 星标
- 2.4k
- 派生
- 533
- 平均合并
- 22 小时 20 分钟
- 30 天内合并 PR
- 370
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
supabase/cli 的其他 Issue
-
🐛 Bug supabase/cli
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
db schema declarative sync: no way to fail (non-zero exit) when the generated migration is destructive可能重新可做 关联的 PR 已关闭且未合并。 未关闭✨ 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 于 12 天前认领。 未关闭🐛 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 天内回复
相似的 Issue
-
test: make the #3408 Claude OAuth token fixture obviously fake so secret scanners stop flagging it未关闭
难度 2/5 1-3 小时 新手友好度 76/100
code-yeongyu/senpi#3436 ·
维护者通常 1 天内回复
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
难度 1/5 1 小时以内 新手友好度 78/100
lingdojo/kana-dojo#32505 · 1 条评论 · 5 个 reaction ·
维护者通常 1 天内回复
-
code-quality refactoring
难度 2/5 1-3 小时 新手友好度 68/100
github/gh-aw-firewall#10040 ·
维护者通常 1 天内回复
-
review-followup
难度 2/5 1-3 小时 新手友好度 82/100
griffinwork40/agent-afk#3868 ·
维护者通常 1 天内回复
-
area: import-export bug status: needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
amatya-aditya/obsidian-rss-dashboard#1191 ·
维护者通常 1 天内回复