Skip to content

chore: bump libcvc to 4.0.2; the wasm publishes pin the pre-JX1 bundles - #1383

Merged
transfix merged 1 commit into
masterfrom
chore/bump-4.0.2
Nov 20, 2026
Merged

transfix merged 1 commit into
masterfrom
chore/bump-4.0.2

Conversation

@transfix

Copy link
Copy Markdown
Owner

4.0.2 carries what master has merged since v4.0.1 (cb5f7bd, #1299). For nicotina that's the phone fixes (#1364) and the feed's frame cost (#1365). The deployed site still runs arigl-web 4.0.0, because v4.0.1's wasm publish failed.

The bump. CMakeLists.txt and every cvcpkg recipe's upstream_version move to 4.0.2, with the two "Reset to 1" comments; cvc_revision is already 1 everywhere. Same shape as #1299.

Why v4.0.1 published no arigl-web. publish-cvcgl-wasm run 44603959620 failed in all three jobs at the link:

  • arigl-web (wasm and wasm-mt): wasm-ld: undefined symbol: __c_longjmp / __wasm_longjmp from libvtkIOImage-9.5.a;
  • the wasm-mt gallery: __cpp_exception / __wasm_lpad_context from libboost_program_options.a.

publish-pycvc-gl-wasm failed on the same tag. It's the break that #1360 fixed for ci.yml: cy-pca/cvcpkg#624 (JX1) republished those wasm bundles with -fwasm-exceptions, and libcvc links JS exceptions until JX2. #1360 put pin-wasm-pre-jx1.sh in ci.yml's seven wasm jobs, but the publish workflows install their deps unpinned. (v4.0.1's commit also predates #1360.)

The publish fix. The same pin call goes after each wasm deps install in the publish workflows:

  • publish-cvcgl-wasm.yml: the wasm-mt closure in build-publish, and arigl-web's install-deps (wasm and wasm-mt);
  • publish-pycvc-gl-wasm.yml: after its closure.

JX2 deletes these calls with the script.

imagemagick joins the pins, at 7.1.2+cvc.23, the newest wasm and wasm-mt bundle today, built with JS exceptions. JX1 bumped imagemagick too, but its wasm republish waits on a package.files fix, which JX2's first step is doing now. arigl-web, pycvc-gl, the gallery and ari's terminal backend all link it. Today the pin re-installs the bundle the prefix already holds; once imagemagick is republished, it keeps these jobs on the JS-exceptions bundle.

After merge: an annotated v4.0.2 tag on the merge commit starts the publish workflows.

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.
@transfix
transfix enabled auto-merge (squash) November 20, 2026 00:12
@transfix
transfix merged commit e81ce8e into master Nov 20, 2026
29 checks passed
@transfix
transfix deleted the chore/bump-4.0.2 branch November 20, 2026 04:31
transfix added a commit that referenced this pull request Nov 20, 2026
Written by recipe-family-pins.py --write after merging master.
transfix added a commit that referenced this pull request Nov 21, 2026
…he major (#1377)

* cvcpkg recipes: pin every family dependency to its own release, not the major

While libcvc 4.0.1 was half-published (2026-11-19), CVC-Lab/GRL-SNAM's CI
resolved pycvc-gl-cp313 4.0.1 with cvcgl 4.0.0 (undefined symbol
cvc::gl::RibbonNode::replaceFrom) and pycvc-cp311 4.0.0 with libcvc 4.0.1
(segfaults, garbage energies). The ABI changes between patch releases, and
v4.0.1 predates #1289, so its rows record those edges with no version at all;
"^4.0" would have allowed the same mixes.

- Every dependency on a recipe under cvcpkg/recipes/ (or a name one provides)
  pins version "==<CMakeLists VERSION>". cvcpkg reads "==X.Y.Z" without
  +cvc.N as any revision of X.Y.Z, so +cvc.N rebuilds still satisfy it, and its
  backtracking resolver falls back to the newest release that is complete on
  the catalog instead of mixing two.
- recipe-family-pins.py checks "==<VERSION>" (was "^<major>.0") and gains
  --write. bump-version.py X.Y.Z does a release bump in one step (CMakeLists,
  every upstream_version, cvc_revision 1, the pins), so the pins move with it.
- publish-cvcpkg's CUDA lane installed the newest published cvcgl to build
  pycvc-gl-cp311-cuda: v4.0.1's was built against cvcgl 4.0.0+cvc.3, installed
  49 min before cvcgl 4.0.1 reached the catalog. It now waits (up to 120 min)
  for cvcgl==<version> and fails rather than link another release.
- backfill-family-pins.py pins the same edges on rows already published
  (1,116 rows; the registry's backfill-deps admin endpoint with
  expect_required_deps). Without it a half-published release still falls back
  to an unpinned older binding beside the new libraries. Dry run by default;
  --apply needs an admin token and is the registry owner's call.

* backfill-family-pins.py: count a row the server left alone as unchanged; --limit and --save

The registry's compare-and-set answers count.required_deps == 0, not an error, when a row's
stored deps differ from the catalog's copy, so a row it skipped was reported as pinned. It is
now reported UNCHANGED and fails the run. --limit N writes only the first N rows (a canary) and
--save FILE writes each row's old and new required_deps, from which the change can be reverted.

Applied to cvcpkg.org on 2026-11-19: 1,116 rows pinned, none unchanged or failed; a rerun finds
nothing.

* backfill-family-pins.py: the backfill's date is 2026-11-20 UTC

* recipes: pin the family to ==4.0.2, master's version since #1383

Written by recipe-family-pins.py --write after merging master.

* ariadne tests: the fleet's rally check drives 3 s, not 240 steps

AFleetIsLaidOutInTeamsAtRallyPoints (FL1a, #1384) stepped 240 times and
asked for the fleet to be 5 m east. On OW1's 1/120 s quantum (#1378)
those steps are 2.0 s, not the 2.4 s it was written at, and the fleet
starting from rest is 4.36 m east by then. Neither PR's CI saw the
other, so master has failed it since OW1 merged.

It now steps 3 s of the clock (3 / kSimQuantum), about 9 m east.

(cherry picked from commit 1cf1081)
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.

1 participant