Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta Adatta ai principianti
#557 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
devtools

Direzione di ricerca

Inizia da packages/everything-dev/src/infra/planner.ts, dove vengono pianificate le porte dell’interfaccia utente dei plugin e i descrittori dei servizi, quindi controlla la logica patchedUi esistente e il descrittore del servizio in packages/everything-dev/src/services/dev/service-descriptor.ts:277. Riproduci il backend remoto con un override locale di auth.ui e conferma che bos dev genera plugins/auth-ui/dist/ssr e che l’host è pronto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
5
Fork
3
Merge medio
10h 38m
PR unite (30g)
119

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NEARBuilders/everything-dev

Tutte le issue di NEARBuilders/everything-dev

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.