Repository navigation
ci: pin the pre-JX1 wasm bundles until JX2 - #1360
Merged
Merged
Conversation
cy-pca/cvcpkg#624 republished boost, datachannel-wasm, freetype, libjpeg-turbo, libpng, lua, mujoco, mujoco3, qhull, tiff and vtk for wasm and wasm-mt, built with -fwasm-exceptions. libcvc still builds with JS exceptions until JX2, and the two don't link (physics replay on #1293: libboost_thread.a needs __cpp_exception). .github/scripts/pin-wasm-pre-jx1.sh runs after a wasm job installs its deps. For each pinned package the prefix holds, it re-installs the last bundle built the old way, with cvcpkg install --no-deps, then checks the lockfile. Seven jobs call it: physics replay, ports, wasm-guests, permissive geometry, ari terminal backend, arigl-web and ariglx-web. JX2 deletes it.
transfix
enabled auto-merge (squash)
November 19, 2026 04:17
transfix
added a commit
that referenced
this pull request
Nov 19, 2026
Every deploy since 2026-11-18T23:13 fails at link with libfreetype.a(ftbase.c.o): undefined symbol: __wasm_longjmp (run 44437115573): cy-pca/cvcpkg#624 (JX1) republished wasm packages built with -fwasm-exceptions, and libcvc still builds with JS exceptions until JX2. #1360 adds .github/scripts/pin-wasm-pre-jx1.sh and calls it in ci.yml; this calls it at the end of the deploy's install step, after every wasm install, and lets a change to the script redeploy.
This was referenced Nov 19, 2026
transfix
added a commit
that referenced
this pull request
Nov 19, 2026
# Conflicts: # src/cvc/CMakeLists.txt
transfix
added a commit
that referenced
this pull request
Nov 19, 2026
…1363) * web gallery: keep each demo's wasm, data and glue in Cache Storage by content hash GitHub Pages serves every file with max-age=600 and an ETag made from the file's time, and deploy pages rewrites every file on each push to master, so after any deploy the browser revalidated and downloaded arigl.wasm (59 MB, 17 MB on the wire), arigl.data and arigl.js again, changed or not. The page also fetched the wasm with cache: 'no-cache'. build-pages.py now bakes each template page's large files into it as ASSETS ({wasm, data, js}, each name, the first 16 hex digits of its SHA-256 and size). demo.html.in keeps them in Cache Storage keyed by name + hash: a hit is used with no request at all; a miss is downloaded (one progress line), kept under the hash of the bytes that came, and that asset's other versions are deleted. The .data goes to Emscripten through Module.getPreloadedPackage and the glue runs from a blob URL (Module.mainScriptUrlOrBlob keeps a threaded build's workers on the real URL). A copy of the page older than the deploy, whose download hashes differently, reloads itself once per page version. Without Cache Storage (insecure context, some private windows, storage errors) or with ?nocache the page loads as before. deploy-pages.yml: a push touching only docs/, top-level notes (THIRD_PARTY_NOTICES.md excepted, it ships in the gallery), .github/ other than this workflow, or bindings/ no longer redeploys. * deploy pages: pin the pre-JX1 wasm bundles before the build Every deploy since 2026-11-18T23:13 fails at link with libfreetype.a(ftbase.c.o): undefined symbol: __wasm_longjmp (run 44437115573): cy-pca/cvcpkg#624 (JX1) republished wasm packages built with -fwasm-exceptions, and libcvc still builds with JS exceptions until JX2. #1360 adds .github/scripts/pin-wasm-pre-jx1.sh and calls it in ci.yml; this calls it at the end of the deploy's install step, after every wasm install, and lets a change to the script redeploy.
transfix
added a commit
that referenced
this pull request
Nov 19, 2026
…Integration), which PRs skip #1356 put TilerBunny on every PR. That's about 13 s in Release, but a Debug build runs the bunny's SDF and the tiling many times slower. package-linux's libcvc-debug took about 450 s on a quiet runner (#1357, #1358). On a loaded one it ran past its 900 s timeout three times over (#1296, #1360), and failed that required job for every PR. So in a Debug build the suite is TilerBunnyIntegration. ci.yml's STRESS_REGEX takes Integration as a heavy suite, which no PR or Debug job runs; Release pushes still do. A Release build keeps the name TilerBunny, so every PR's Release lanes still run it. The tests' CMakeLists comment and the VolumeRover ports roadmap say the same.
transfix
added a commit
that referenced
this pull request
Nov 20, 2026
…es (#1383) 4.0.2 carries what master has merged since v4.0.1 (cb5f7bd, #1299). CMakeLists.txt and every cvcpkg recipe's upstream_version move to 4.0.2; cvc_revision is already 1 everywhere. v4.0.1 published no wasm: publish-cvcgl-wasm (arigl-web, the gallery) and publish-pycvc-gl-wasm failed at the link on cvcpkg#624's wasm-exceptions bundles (__wasm_longjmp, __cpp_exception). #1360 pinned the pre-JX1 bundles in ci.yml only; publish-cvcgl-wasm.yml and publish-pycvc-gl-wasm.yml now call pin-wasm-pre-jx1.sh after each wasm deps install too. imagemagick joins the pins at 7.1.2+cvc.23, the newest JS-exceptions wasm and wasm-mt bundle, ahead of its own wasm republish (JX2's first step). JX2 deletes the script and its calls.
This was referenced Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This unblocks libcvc's wasm CI until JX2.
cy-pca/cvcpkg#624 (JX1 of
docs/roadmap/WASM_JSPI_EXCEPTIONS.md) republished 11 packages for wasm and wasm-mt, built with-fwasm-exceptions. libcvc still builds with Emscripten's JS exceptions (-fexceptions) until JX2, and the two don't link together. So every wasm job that installs those packages fails at link time. One example is the required "physics replay (wasm-mt, node)" check on #1293 (job 135255651689):What it does
.github/scripts/pin-wasm-pre-jx1.sh PREFIX PLATFORMruns after a job has installed its deps.cvcpkg install --no-deps, so nothing else in the prefix moves.Seven jobs call it right after their deps install:
install-deps).Six of them are required checks. They all run on a PR that touches
ci.yml, so this PR exercises them.The pins are the newest wasm and wasm-mt bundles from before the republish:
JX2 deletes the script and its calls.
Checked
install --no-deps(CI's latest cvcpkg release has it):libfreetype.aandlibpng16.a, which shows the files on disk were replaced, not just the lockfile.Not covered
ci-recipe.yml's wasm recipes,publish-cvcgl-wasm.yml,publish-pycvc-gl-wasm.yml, and the wasm legs ofpublish-cvcpkg.yml. They'll fail the same way if they run before JX2. None of them is a required check.ci.yml.