Skip to content

Rebuild production WASM during deploy to fix stale barrel bug - #9

Merged
godofecht merged 2 commits into
mainfrom
fix/barrel-production-artifact
Aug 17, 2026
Merged

godofecht merged 2 commits into
mainfrom
fix/barrel-production-artifact

Conversation

@godofecht

Copy link
Copy Markdown
Owner

Fixes #8.

The barrel gameplay path in Flow matches vanilla Doom, but the deployed Pages artifact could remain stale after compiler/build fixes. In particular, site/wasm/doom/doom.wasm had been rebuilt while the now-removed unsound LLVM annotation pass was active, and the Pages workflow later uploaded that checked-in artifact without rebuilding it.

This changes Pages to checkout Flow, build the production MLIR WASM from the commit being deployed, smoke-test that exact artifact, and only then upload site/. It also adds the requested README postmortem explaining why C-vs-MLIR CRC parity did not catch the failure: backend agreement does not prove vanilla semantic equivalence, and it did not validate the independently checked-in production artifact.

The intended invariant after this PR is that production is derived from current source, not from whichever WASM binary happens to be committed under site/.

@godofecht
godofecht merged commit cf1eba1 into main Aug 17, 2026
3 checks passed
@godofecht
godofecht deleted the fix/barrel-production-artifact branch August 24, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Barrels don't explode

1 participant