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
esbuild-wasm moves from 0.20.0 to 0.28.2. 0.20.0 is built with Go 1.20,
whose wasm IndexByte sign-extends the address it finds (golang/go#65571):
once esbuild's heap passes 2 GiB of linear memory, a search of a buffer above
that line answers about -4294967295 and esbuild panics slicing with it
(slice bounds out of range [:-4294967295] while printing a number). A long
shared instance reaches 2 GiB: Rallly's host pack build panicked in 13 to 19
modules a run, each run after the heap crossed 2 GiB, and once outside the
linker's recover, which ended the service and the build. On 0.28.2 (Go 1.26)
the same build ran to the end without a panic, its heap under 1.4 GiB.