Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

bos dev never builds a local auth.ui override when the auth server is remote

クローズ 初心者向け
#557 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NEARBuilders/everything-dev のほかの issue

NEARBuilders/everything-dev の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。