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

solidjs / solid / 34726273332
72%
main: 89%

Build:
Build:
LAST BUILD BRANCH: fix/server-function-get-instance-header-3406
DEFAULT BRANCH: main
Ran 12 Sep 2026 11:51PM UTC
Jobs 1
Files 6
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

12 Sep 2026 11:46PM UTC coverage: 71.842%. Remained the same
34726273332

push

github

web-flow
fix(web): run hydration events after dynamic() spreads a string tag (#3386) (#3396)

* docs: correct createContext guidance for server rendering

The createContext JSDoc told readers to reach for a module-scope
signal or store for app-wide state. With ssr: true a module is
evaluated once per process, so that state is shared by every request:
a store derived from a server function leaks one user's data into
another's render, and a module-scope signal has no owner to dispose
it. The 2.0 docs say the opposite, and the reference page is generated
from this JSDoc, so the site contradicted itself.

Also fix two smaller items in the same examples:

- The createContext and useContext @example blocks render <TodoList />,
  whose stub returns nothing, so the examples fail tsc as written.
- The handleServerFunctionRequest @example imported from
  "@solidjs/web/server-functions", which resolves to the client entry
  under the browser condition; the function is exported from
  "@solidjs/web/server-functions/server".

* fix: run hydration events after dynamic() spreads a string tag

Compiled JSX calls runHydrationEvents() after an element that carries
event handlers, so events the hydration script queued for it are
replayed once it hydrates. The string-tag branch of dynamic() binds
handlers through spread() and never made that call, so a page whose
interactive elements are all <Dynamic> dropped queued events until
_$HY.done, unless some other compiled element happened to hydrate
afterwards and made the call for it.

Call runHydrationEvents() after spread() when hydrating. The hydrating
flag is read before spread() so the branch cannot observe a different
value than the one that chose getNextElement().

* chore: add changeset for dynamic() hydration events fix

* test: cover hydration event replay for dynamic() string tags

Queues a click for the server-rendered button of a <Dynamic component=
"button"> before hydrating, and asserts the handler runs. The spec fails
... (continued)

519 of 790 branches covered (65.7%)

Branch coverage included in aggregate %.

772 of 1007 relevant lines covered (76.66%)

15.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34726273332.1 12 Sep 2026 11:51PM UTC 6
71.84
GitHub Action Run
Source Files on build 34726273332
  • Tree
  • List 6
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34726273332
  • 1af28a16 on github
  • Prev Build on next (#34726253392)
  • Next Build on next (#34728818399)
  • 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