Repository navigation
Publish arigl and arigl-web to cvcpkg.org on a v* tag - #952
Merged
Merged
Conversation
publish-cvcpkg.yml now builds, smoke-tests, packs and publishes `arigl` (linux x86_64 and arm64, windows x86_64) from its recipe's own build script, against the libcvc and cvcGL the same job builds, exactly as it does `ari`. One revision per release comes from compute-revisions. Before it packs: - cvcGL's installed config must carry the ImGui overlay and the SDL3 seam (the loader and terminal backends are already asserted at libcvc's configure); - `arigl info --terminal --json` must report yaml, ftxui and tvision; - on Linux it renders: a terminal snapshot of the tour and of a scene document, and a window snapshot to PNG on cvcpkg's Mesa under Xvfb. Windows has no GL 3.2 driver on the hosted image, so it loads a document instead. macOS stays out: neither cvcgl nor the arigl recipe build there yet. publish-cvcgl-wasm.yml gains an arigl-web job, one leg per flavour (wasm, wasm-mt). Each installs the recipe's declared closure with `cvcpkg install-deps`, builds with the recipe's build-wasm.sh (which already fails on a missing loader, FTXUI, ImGui, SDL3 or ImageMagick), and packs. The single-threaded leg also requires the ari and ari_tvision pages and xterm.js from the prefix, then runs arigl_web_smoke.mjs in headless Chrome. Publishing skips a version the catalog already has for that flavour, as libcvc-examples-web does. A dispatch is still a dry run by default in both workflows.
…_PATH The family-deps step puts $PY/lib on LD_LIBRARY_PATH for the rest of the job, so cvcpkg's own Python loaded $PY/lib's libz and then overwrote it in place while installing xvfb and mesa there: SIGBUS (exit 135) on both Linux lanes of the first dry run.
transfix
marked this pull request as ready for review
November 1, 2026 05:59
This was referenced Nov 1, 2026
transfix
added a commit
to cy-pca/cypkg
that referenced
this pull request
Nov 1, 2026
…t from libcvc (#9) libcvc 3.7.8 publishes arigl-web (transfix/libcvc#952), and its single-threaded wasm package carries ari's xterm.js page in share/arigl-web/: ari.html, ari.js, ari.wasm, ari-web.* and xterm/, what tools/site.sh takes. So the browser job installs it with cvcpkg, as a site would, and drops the libcvc checkout, the emsdk and wasm deps, the cmake build and its cache. tools/libcvc.sh and tools/libcvc-resolve.py only fed that build, so they go, with the LIBCVC_REF/LIBCVC_PRS/LIBCVC_WEB_PRS env and the dispatch inputs. The test job's name is spelled out: it is still the required check main-protect lists. The packaged page is the full build: ari.wasm is 23.8 MB raw, 7.7 MB gzipped, against 8.8 MB and 3.1 MB for the lean one CI built. The install also lays down the static wasm libraries the page was linked from (about 126 MB of downloads in all); the site uses none of them. Co-authored-by: tfx <[email protected]>
transfix
added a commit
to cy-pca/nicotina
that referenced
this pull request
Nov 1, 2026
…lt from libcvc (#15) nicotina targets the stock, packaged hosts, and libcvc 3.7.8 publishes all three it uses: ari, arigl (transfix/libcvc#952) and arigl-web. So nothing here builds libcvc any more. - ci.yml: unit and integration each install ari and arigl with ci/install-hosts.sh, which runs `cvcpkg install ari arigl` into ~/nicotina-ci/deps and checks ari has the .ari loader, FTXUI, tvision and HTTP, and that neither host misses a library. The hosts job, its libcvc checkout, the PR merges and the cache go. - deploy-cyberpcangel.yml: installs the single-threaded arigl-web package into the runner's existing wasm prefix (its static deps are already there) and stages its share/arigl-web. The libcvc checkout, the wasm deps list, the emsdk build and libcvc_prs go. The .built-from fingerprint takes the arigl-web bundle's version and hash in place of libcvc's head. - ci/build-hosts.sh, ci/libcvc-prs.sh and deploy/cyberpcangel/build-hosts.sh are gone; the READMEs say where the hosts come from. The packages are libcvc's full build, so the published pages grow: arigl.wasm is 14.6 MB gzipped against the lean build's 9.4 MB, and ari.wasm 7.7 MB against 3.1 MB. CI's hosts prefix is the packages' whole runtime closure, 97 packages (about 240 MB to download). Co-authored-by: tfx <[email protected]>
3 tasks done
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.
Why
The
ariglandarigl-webrecipes have been on master since #887, but no workflow builds or publishes either package. Socvcpkg install ariglandcvcpkg install arigl-web --platform wasmhave nothing to fetch. Because of that, the .ari clients still build their hosts from libcvc master:These clients are supposed to run on packaged hosts. With this PR, a
v*tag publishes both packages, and those jobs can install them.What a
v*tag now publishesarigl(publish-cvcpkg.yml)It's built the same way as
ari:compute-revisions(emit arigl arigl).build.sh/build.ps1), against the libcvc (stage) and shared cvcGL (stage-cvcgl) the same job builds, and the VTK, imgui and SDL3 the cvcgl step linked.cvcgl-linux/cvcgl-windows).The checks before it packs are set up so that a package with stubbed-out backends fails the step instead of publishing:
CVC_ENABLE_IMGUIincvcGLTargets.cmake,find_dependency(SDL3incvcGLConfig.cmake).arigl info --terminal --jsonmust report"yaml": true,"ftxui": trueand"tvision": true.terminal_tour.arimust showagents: 64;terminal_scene.arimust showShow mesh;hello.arimust produce a non-empty PNG.arigl check --terminal terminal_tour.ariinstead of rendering.arigl-web(publish-cvcgl-wasm.yml, newarigl-webjob)It's built the same way as libcvc-examples-web: the recipe's own
build-wasm.sh, against a closure installed before the build.wasmandwasm-mt, on separate runners withfail-fast: false.cvcpkg install-deps cvcpkg/recipes/arigl-web, as ci.yml's arigl-web job does), so the workflow can't drift from the recipe. Every dep is on the catalog for both flavours (wasm32/static).build-wasm.shalready fails if the configure misses the .ari loader, FTXUI, ImGui, SDL3 or ImageMagick.wasmleg:Ariadne: tvision terminal backend ENABLEDline must be present. Without it the script quietly builds noari_tvisionpage, even though tvision is a declared wasm dep that's on the catalog.ari.html,ari_tvision.html,ari-web.*andxterm/must all be in the package.arigl_web_smoke.mjsruns in headless Chrome against the stagedshare/arigl-web.wasm-mtgets file checks only. It needs a cross-origin-isolated page, which the smoke doesn't serve. It also must not carry ari's page, which is single-threaded only.cvc_revision. A version the catalog already has for that flavour is skipped. The skip check now also matches the platform column, so awasmbundle can't be mistaken for awasm-mtone.A
workflow_dispatchis still a dry run by default in both workflows: build and pack, no publish.Dry-run results (this branch)
All were
workflow_dispatchruns withdry_run=true: build and pack, no publish. Every arigl target built, passed its checks and packed.arigl-3.7.6+cvc.1-linux-x86_64-release-shared.tar.gz(112 KB)infoyaml/ftxui/tvision true; touragents: 64; sceneShow meshwith the scene drawn behind it; window PNG under Xvfb + llvmpipearigl-3.7.6+cvc.1-linux-arm64-release-shared.tar.gz(109 KB)arigl-3.7.6+cvc.1-windows-x86_64-release-shared.zip(90 KB)infoyaml/ftxui/tvision true;check --terminalarigl-web-3.7.6+cvc.1-wasm-wasm32-release-static.tar.gz(30.1 MB)arigl-web-3.7.6+cvc.1-wasm-mt-wasm32-release-static.tar.gz(15.3 MB)compute-revisionsgavearigl -> +cvc.1. Module sizes (raw / brotli): wasmarigl.wasm51.3 MB / 9.7 MB,ari.wasm23.8 MB / 5.4 MB; wasm-mtarigl.wasm54.9 MB / 10.0 MB.Runs:
arigl-weblegs passed.$PY. The family-deps step puts$PY/libon the job'sLD_LIBRARY_PATH, so cvcpkg's own Python had$PY/lib/libzloaded while it overwrote that file.env -u LD_LIBRARY_PATH cvcpkg install ....PR CI: every required check passes.
package-linux / libcvc-debug-grpcwas red at first:cvcgl_ariadne_realize's heat-stop check, which is flaky and was fixed on master by #953. Master is now merged into this branch (4b6d0d3), and debug-grpc passes on it. This PR changes no source and not ci.yml.Interaction with #943
#943 edits publish-cvcpkg.yml too: the libcvc configure lines, the backend-assert step and the CUDA configures. This PR doesn't touch any of those lines.
git merge-treeof the two heads merges cleanly.Once #943 lands, arigl is built against a libcvc that has gRPC and WebSocket. That's what lets a packaged arigl join a conference room. Nothing here depends on it.
Not in this PR
v*tag, or a dispatch withdry_run=false. Both are production releases and need a go-ahead.v3.7.7was tagged (chore: bump libcvc to 3.7.7 #954) before this PR merged, so 3.7.7 ships without arigl and arigl-web.dry_run=falsedispatches on master would publish them as 3.7.7+cvc.1. publish-cvcgl-wasm would skip what 3.7.7 already has and add only arigl-web. publish-cvcpkg would republish the whole native family at the next revision.vtk9.5.0+cvc.1 macos/arm64 bundle. cvcgl, and then arigl, could be tried there as their own change.CVC_ARIGL_WEB_LEAN=1, about 34 MB of wasm instead of 49 MB raw). This package is the full build. Whether nicotina switches to it or wants a lean variant is a decision for that repo.