bos dev never builds a local auth.ui override when the auth server is remote
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- devtools
調査の方向性
packages/everything-dev/src/infra/planner.tsから始め、そこでプラグインUIのポートとサービス記述子がどのように計画されるかを確認し、続いて既存のpatchedUiロジックとpackages/everything-dev/src/services/dev/service-descriptor.ts:277にあるサービス記述子を調べます。ローカルのauth.uiオーバーライドでリモートバックエンドを再現し、bos devがplugins/auth-ui/dist/ssrをビルドしてホストが準備完了になることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Summary
A child app with a remote auth server bundle and a local auth.ui workspace override (auth.ui: { path: "plugins/auth-ui" } in bos.app.ts) can never boot its dev stack: bos dev spawns no build unit for plugins/auth-ui, so the host's SSR compose blocks forever in waitForLocalContainer ("waiting for auth_ui to compile (SSR container not ready)") until the 120-second orchestrator timeout fails the host.
This is what keeps citynode.app's dev:ssr regression red even after #549 (manifest generation for auth.ui) and #556 (fail-loud compose for missing local manifests): the manifest gets generated, the compose no longer silently drops the slot — but nothing ever compiles plugins/auth-ui/dist/ssr, so the host never becomes ready.
Root cause
The port planner (packages/everything-dev/src/infra/planner.ts) only allocates a plugin-ui:<id> dev unit when the plugin backend is local (pluginCfg.source === "local"). For a remote auth server whose UI is a local override, the auth mirror entry has a remote backend + a local UI slot, so no plugin-ui:auth port/unit is allocated and nothing builds the dist.
The service-descriptor layer already knows how to spawn it (packages/everything-dev/src/services/dev/service-descriptor.ts:277 runs pnpm run dev in a standalone local ui workspace) — it's never reached because the planner never emits the descriptor or allocates the port.
Fix
In planner.ts, allocate the plugin-ui:<id> port and emit its service descriptor whenever pluginCfg.ui.source === "local" with a localPath, regardless of the plugin backend's locality. The auth mirror's ui.url is then wired to localhost:<port> by the existing patchedUi logic (planner.ts:537), and service-descriptor.ts:277 spawns the build.
Related: everything-dev#548, everything-dev#549, everything-dev#556.
- 主要言語
- TypeScript
- スター
- 5
- フォーク
- 3
- 平均マージ
- 9時間 50分
- マージ済み PR(30日)
- 146
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NEARBuilders/everything-dev のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NEARBuilders/everything-dev#400 ·
メンテナーはふだん 1 日以内に返信
-
Pinnable dev host slot for child CI — versioned host bundle URLs or a first-class local-host runnerオープンenhancement ready-for-agent
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
NEARBuilders/everything-dev#613 ·
メンテナーはふだん 1 日以内に返信
-
documentation ready-for-agent
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
NEARBuilders/everything-dev#608 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
NEARBuilders/everything-dev#595 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
NEARBuilders/everything-dev#593 ·
メンテナーはふだん 1 日以内に返信
NEARBuilders/everything-dev の issue をすべて見る
似ている issue
-
bug require-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
expressjs/expressjs.com#2549 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
umami-software/umami#4686 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
[Bug]: Device screenshot fails with 500 on iPhone Duo (Xcode 27.2): serve-sim calls simctl without --display対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
pingdotgg/t3code#24900 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
inu-appcenter/UNIDorm-web#411 ·
メンテナーはふだん 1 日以内に返信
-
🐛 bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信