For AI agents: the complete documentation index is available at https://mfdoctor.kevinbeier.com/de/llms.txt, the full documentation bundle is available at https://mfdoctor.kevinbeier.com/de/llms-full.txt, and this page is available as Markdown at https://mfdoctor.kevinbeier.com/de/rules/config/promise-remote-async-boundary.md.

Dies ist die deutsche mfdoctor-Dokumentation. Technische Bezeichner, CLI-Flags, Regel-IDs und Codebeispiele bleiben unverändert, damit die Inhalte zwischen den Sprachen vollständig kompatibel bleiben. Verwenden Sie den Sprachumschalter für die kanonische englische Fassung.

config/promise-remote-async-boundary

  • Kategorie: correctness
  • Standardschweregrad: warning

Problem

Promise remotes resolve asynchronously. Without experiments.asyncStartup or an import('./bootstrap') boundary, the host can start before those remotes finish initializing.

So beheben Sie das Problem

Enable experiments.asyncStartup, or move application startup behind a dynamic import('./bootstrap') (or another async app-shell import).

Suppress or retarget with rules["config/promise-remote-async-boundary"] set to "off" or a severity, see Suppressions and allowlists.

Quellen