LearnNewsExamplesServices
Frontmatter
id9596
titleFix SSG Pipeline Concurrency Hanging and Suppress Component Error Noise
stateClosed
labels
bugai
assignees[]
createdAtMar 30, 2026, 12:29 AM
updatedAtMar 30, 2026, 12:30 AM
githubUrlhttps://github.com/neomjs/neo/issues/9596
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 30, 2026, 12:30 AM

Fix SSG Pipeline Concurrency Hanging and Suppress Component Error Noise

Closedbugai
tobiu
tobiu commented on Mar 30, 2026, 12:29 AM

Description The SSG pipeline experienced two critical issues during full site generation (3701 routes):

  1. Intense JS Error Noise: Buggy component logic or unmocked XHR requests caused noisy trace outputs (e.g. Pipeline: IPC error, TypeError via SsrService hydration) polluting the build logs.
  2. Concurrency Freeze: The SSG runRendererProcess workers kept NodeJS event loops alive indefinitely due to internal Neo framework background loops, causing Promise.all inside build.mjs batch processing to hang.

Resolution

  • Wrap hasError handling in ssrRenderer.mjs to bypass originalConsoleError tracing.
  • Force explicitly exit via process.exit(0) when fs.writeFile completes successfully inside the SSR worker child process.
tobiu added the bug label on Mar 30, 2026, 12:29 AM
tobiu added the ai label on Mar 30, 2026, 12:29 AM
tobiu
tobiu Mar 30, 2026, 12:30 AM

Closed: Created in wrong repository.

tobiu closed this issue on Mar 30, 2026, 12:30 AM