You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ErrorBoundary: SSG bakes a caught error's fallback at 200 and reports success #8977
During a static build (mode: 'static'), an <ErrorBoundary> catch does not fail the route. The render succeeds, the fallback streams, and the status stays 200.
The SSG worker judges success by status only: result.ok = (status >= 200 && status < 300) || … (packages/qwik-router/src/ssg/worker-thread.ts).
Result: a build-time blip bakes the fallback into the static HTML. The build reports success. Crawlers index the fallback. A retry button has no live endpoint to hit.
Expected
The static build fails the route when a boundary catches, the same as a rejected render. errorBoundaryCaught is the hook.
Optional: a generator retry knob — re-render the route N times before the build fails.
Notes
Follow-up to #8745. Applies to every error kind, not to one error class.
Activity