fix(web): regenerate stale WASM artifacts against current master #92
Reference in New Issue
Block a user
Delete Branch "fix/regenerate-web-wasm"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Rhys reported the web version of the game was not working.
Root cause: the committed
solitaire_server/web/pkg/artifacts were stale, not the source. They were last built 2026-06-02 (8b262af) and were never regenerated through the card_game/klondike migration. The deployed WASM was ~20 days out of sync with:solitaire_wasm/solitaire_web),372b642),KlondikeInstruction, andplay.htmlitself changed (2cf7282).Proof it's staleness, not a code break
solitaire_wasmandsolitaire_webcompile clean onwasm32-unknown-unknown.solitaire_wasm.jsandcanvas.jsboth changed — the deployed JS glue was calling an API the wasm no longer exposed.Fix
Regenerated all four artifacts via
build_wasm.sh(wasm-pack 0.14.0, wasm-bindgen CLI 0.2.120 matching the crate dep):canvas.*(full Bevy app) andsolitaire_wasm.*(replay viewer + JS API).Follow-ups (not in this PR)
pkg/is stale relative tosolitaire_core/solitaire_engine/solitaire_wasm/solitaire_web, so this can't silently rot again.window.__FERROUS_DEBUG__) would confirm no separate runtime bug.unnecessary_qualificationwarnings inavatar_plugin(harmless, separate cleanup).🤖 Generated with Claude Code