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
[2.0 / next] A direct write does not clear a writable memo's previous error #4110
A writable memo throws during its initial derivation, and <Errored> shows the error. A button outside the boundary calls its setter with 2, but the boundary continues showing the original error instead of rendering the written value.
Open the playground. The boundary shows Error: boom.
Click Set value to 2.
The boundary continues showing Error: boom instead of Value: 2.
Expected behavior
The direct write should replace the memo's failed outcome with 2, allowing the boundary to recover and render Value: 2 without rerunning the derivation.
Screenshots or Videos
No response
Platform
OS: Linux
Browser: Chromium 154.0.8037.57
Solid: playground pinned to next@d5e32a9af41c7bfe0bc090f7438ee4297d540b17. A reduced source regression also fails on current next@ccd99481deed3ebb567ee11ab7a152ced84d122b.
The failure also affects ordinary accessor reads and createEffect, which retain the old error after a write. This playground makes it visible through an error boundary.
The failed-writable-memo cases from #3886 are explicitly outside #4085's held-error rule. #3886 contains related regression tests and candidate changes.
Fixed by #4167, now merged to next. It builds on @Neekoras's #4143. A write to an errored writable memo recovers it when the write commits, and until then reads still throw the error instead of returning the old value. The regression tests are in writable-memo-write-clears-error-4110.test.ts. Closing.
Activity
chore(size): raise caps for the #4110 writable-memo error fix
fix(signals): a write recovers an errored writable memo without a tor…
ryansolid commentedon Oct 20, 2026
Generated by Claude Code