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, regressed after rc.13] Production refresh remains pending after a settled computation (production build) #3888
Use the source below with the selected Solid build (complete setup is linked above).
import{createMemo,createSignal,refresh,resolve}from"solid-js";exportdefaultfunctionApp(){letcalls=0;constvalue=createMemo(()=>Promise.resolve(++calls));const[result,setResult]=createSignal("idle");asyncfunctionrun(){awaitresolve(value);// The first computation has settled with 1.setResult("refreshing");setResult(String(awaitrefresh(value)));// Production never reaches this write.}return(<><buttonid="trigger"onClick={run}>
Refresh
</button><outputid="answer">{result()}</output></>);// Click: development shows 2; production remains refreshing.}
Paste this App into a fresh Solid 2 app. Build for production, click Refresh, and wait at least 200 ms.
Expected behavior
Expected: The output becomes 2, as it does in development. Actual: The output remains refreshing in production.
Platform
Solid: solid-js / @solidjs/web next at 3086f1b77cd7b0431d3a7f768c2984c335758633; comparison 2.0.0-rc.13. Signals, compiler and diagnostics match the selected Solid build.
OS: macOS 26.6.2 (25G83); browser cases: system Google Chrome 155.0.8059.40. Server-only/type checks run in Bun 1.4.2.
Builds/comparison: production fail. rc.13 passes in both builds.
Additional context
Awaiting refresh is part of the public async action flow. A promise that never settles prevents the caller from completing.
Copy the standalone files into a fresh Bun project. The displayed snippet is executed by snippet.test.ts. The original automated case is also retained.
bun init -y
bun add solid-js@2.0.0-rc.13 @solidjs/web@2.0.0-rc.13 @solidjs/signals@2.0.0-rc.13 @solidjs/compiler@2.0.0-rc.13 @solidjs/diagnostics@2.0.0-rc.13
bun add -d playwright
bun run link-head.ts /absolute/path/to/built/solid
BUILD_MODE=production bun test ./snippet.test.ts
The five linked packages must come from the same built HEAD checkout. Omitting the link step selects the rc.13 comparison. Chrome runs use the system installation.
Activity
fix(signals): root the awaited refresh() waiter in every tier (#3888) (…
ryansolid commentedon Oct 8, 2026