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
- フォーク
- 526
- 平均マージ
- 1日 2時間
- マージ済み PR(30日)
- 287
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
supabase/cli のほかの issue
-
db push applies migrations when the confirmation answer is not yes or no対応中かも @7ttp が 1 日前に担当しました。 オープン🐛 Bug supabase/cli
メンテナーはふだん 1 日以内に返信
-
db diff (migra): session search_path/role applied once per pool, lost on idle reconnect → spurious drop+create and REVOKE floods対応中かも @7ttp が 1 日前に担当しました。 オープン🐛 Bug supabase/cli
supabase/cli#6860 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
functions serve: SIGTERM to a stale process kills unrelated processes via kill(-pid) on reused child PIDs対応中かも @7ttp が 1 日前に担当しました。 オープン🐛 Bug supabase/cli
supabase/cli#6858 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
🐛 Bug supabase/cli
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
🐛 Bug supabase/cli
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
needs:triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
ai-discovered
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
jessepollak/home#1627 ·
メンテナーはふだん 1 日以内に返信
-
agent-canvas bug llm priority:low ready-for-dev
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
OpenHands/OpenHands#17806 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
radius-project/ai-extensions#923 ·
メンテナーはふだん 1 日以内に返信