• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

solidjs / solid / 36613321307
76%
main: 89%

Build:
Build:
LAST BUILD BRANCH: fix/ssr-response-pre-shell-settle-3719
DEFAULT BRANCH: main
Ran 29 Sep 2026 06:42PM UTC
Jobs 1
Files 8
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Sep 2026 06:31PM UTC coverage: 74.404%. Remained the same
36613321307

push

github

ryansolid
reportServerError resolves the error policy from the erroring render, not the global context

`reportServerError` chose the per-request hook as
`hook ?? sharedConfig.context.errorPolicy ?? ambient`. The global is
whichever render touched it last, and a finished `renderToString`
context stays there. So a failure that landed from async work reached
another request's `onError`: that handler received the error with its
details, and its return became the wire value this request's client got.
Every caller that relied on the implicit read leaked:

- a <Loading> boundary failing from its resume loop (`finalizeError`:
  `failed` pre-shell, `client` post-shell)
- the stream serializer's `onError` (`serializerErrorHook`), for a
  hydration value that settles late and will not serialize
- a server function dispatched over HTTP without a handler `onError`
  (the thrown tail and result-graph channels), which reached whatever
  render's hook was lingering
- an in-process server-function call during SSR that rejects late or is
  made after an `await` (`reportDirectFailure`)

`reportServerError` no longer reads the global. Its `hook` argument is
the hook of the render or request the failure belongs to; `undefined`
means the ambient `configureServerErrors` hook answers alone. Callers
pass their own:

- the Loading and Errored boundaries pass the `errorPolicy` of the
  context they captured at creation (`ssrSanitizeError` gains a matching
  optional `hook` parameter for the Errored site)
- `failRender` and the serializer hook pass the renderer's own
  `options.onError`
- HTTP server functions keep their handler hook only
- direct calls use the hook of the render serving the request they are
  made under. `renderToString`/`renderToStream` file their `onError`
  against their request event at start (`request-error-hook.ts`, a
  process-wide WeakMap under a registered symbol, since the
  server-function bundle inlines its own copy of the module). The call
  resolves it fro... (continued)

625 of 912 branches covered (68.53%)

Branch coverage included in aggregate %.

936 of 1186 relevant lines covered (78.92%)

27.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36613321307.1 29 Sep 2026 06:42PM UTC 8
74.4
GitHub Action Run
Source Files on build 36613321307
  • Tree
  • List 8
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #36613321307
  • 51a1a494 on github
  • Prev Build on next (#36610728598)
  • Next Build on next (#36623331715)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc