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
build: pnpm deploy:web skips the deploy build checks #1020
scripts/deploy-web.sh never runs scripts/verify-deploy-build.sh; only scripts/deploy-web-staged.sh does.
So a deploy through pnpm deploy:web gets none of its checks, including the one (REQUIRE_WASM_OPT=1) that the shipped WASM was actually optimized.
Why it matters
Nothing is broken today: both scripts run pnpm clean first, which forces a full optimized build.
The check guards against a regression in src/engine/build.sh's build cache, which once could keep an unoptimized blob from a pre-commit build.
That failure is silent: a browser bundle about 24% larger (5.0 to 6.2 MB) with nothing in the deploy output.
docs/dev/deploy.md now describes the staged path (pnpm deploy:web:staged, also used by pnpm deploy:canary) as the proven one and deploy:web as the fallback, so the unchecked path is the less used one.
Fix
Call REQUIRE_WASM_OPT=1 bash scripts/verify-deploy-build.sh in deploy-web.sh right after deploy:assemble, as the staged script does.
Run one real deploy through it before relying on it, so an unrelated failure in the check does not block a production deploy at a bad moment.
Alternative: if the staged path has replaced deploy:web in practice, delete deploy-web.sh and the deploy:web script instead.
changed the title [-]build: the production deploy script never runs verify-deploy-build.sh, so the deploy-assembly checks cover only the staged path[/-][+]build: pnpm deploy:web skips the deploy build checks[/+]on Oct 12, 2026
Activity
[-]build: the production deploy script never runs verify-deploy-build.sh, so the deploy-assembly checks cover only the staged path[/-][+]build: pnpm deploy:web skips the deploy build checks[/+]