Commit 04f5210
fix(wasm): commit gosqlx.wasm to git to fix production playground 404 (#423)
Root cause: Vercel's GitHub auto-deploy fires on merge to main but cannot
build the WASM binary (it's a Go build step not in Vercel's build). The
auto-deploy overwrites the website.yml CI deployment (which has WASM),
resulting in /wasm/gosqlx.wasm returning HTTP 404 in production.
Fix:
- Remove gosqlx.wasm from .gitignore so it ships with every deploy
- Add CI step to auto-commit rebuilt WASM when wasm/ source changes
- Bump website.yml permissions: read → write (needed for the git push)
The committed WASM (6.5MB, built 2026-03-16 from v1.13.0 source) is
current — no changes to wasm/ source since that build date.
Co-authored-by: Ajit Pratap Singh <ajitpratapsingh@Ajits-Mac-mini-2655.local>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9dbab8e commit 04f5210
File tree
3 files changed
+15
-3
lines changed- .github/workflows
- website
- public/wasm
3 files changed
+15
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
42 | 54 | | |
43 | 55 | | |
44 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
Binary file not shown.
0 commit comments