Commit Graph
12 Commits
Author SHA1 Message Date
Dean Galvin 11bdd371fa fix(web): accept web release archives that predate newer web files
The Pages deploy has failed since #11228 added failure-report.mjs to
WEB_FILES: build_web.py --release required the release zip's file set to
equal main's current WEB_FILES, but the latest release (v0.1.3) was
packaged before that file existed, so every run stopped with "Invalid web
release archive layout".

Require the core files the site needs (index.html, app.mjs, worker.mjs and
native/relinker_wasm.*) plus web-release.json, and allow only names from
WEB_FILES. Unknown or duplicate entries, encrypted or empty files, the
size limits and the tag/revision check are unchanged. The release is
served as shipped, so it stays self-consistent.
2026-10-29 21:35:21 +13:00
Dean 5f67667872 Merge pull request #12484 from StoneDC/fix/b20-library-zip-compatibility
fix(web): validate library ZIP compatibility before writing
2026-10-29 16:23:58 +13:00
StoneDC 161606cf61 fix(web): validate library ZIP compatibility before writing 2026-10-28 21:52:12 +08:00
StoneDC 668fb237cd fix(tools): reject empty native web build artifacts 2026-10-28 17:47:58 +08:00
StoneDC f82d22aacb fix(tools): validate web release metadata before publication 2026-10-27 09:59:18 +08:00
Bram910 995958eb97 test(tools): cover Unicode ZIP path rewrites 2026-10-24 18:13:45 +02:00
Bram910 8d935498a0 fix(tools): reject rewritten library ZIP paths 2026-10-24 15:21:53 +02:00
emirplus 082a799e7e fix(tools): reconfigure streams with backslashreplace in build_web 2026-10-23 19:06:52 +03:00
emirplus c74eae6393 fix(tools): handle errors cleanly and reconfigure streams in build_web 2026-10-21 21:04:09 +03:00
MrMha 9834a9f851 fix: reject library archive file and directory conflicts 2026-10-17 17:59:40 +04:00
MrMha c94e015c92 fix: bound expanded library archives before CRC validation 2026-10-15 18:54:23 +04:00
Ondra97 c7800dd96b fix(tools): reject colliding web library archive paths 2026-10-13 20:40:46 +02:00