Skip to content

CI: the browser job serves the arigl-web package's page - #9

Merged
transfix merged 1 commit into
mainfrom
ci-arigl-web-package
Nov 1, 2026
Merged

transfix merged 1 commit into
mainfrom
ci-arigl-web-package

Conversation

@transfix

@transfix transfix commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

libcvc 3.7.8 is the first release to publish arigl-web (transfix/libcvc#952). 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/. Those are the files tools/site.sh takes. The browser job now installs that package with cvcpkg, as a site would, instead of building the page from libcvc at a tag.

  • Browser job: cvcpkg install arigl-web --platform wasm --arch wasm32 --link static, then tools/site.sh "$ARI_WEB" for both the test site and the Pages site. Removed: the libcvc checkout, emsdk, the wasm deps, the cmake/ninja build and the page cache.
  • Gone: tools/libcvc.sh, tools/libcvc-resolve.py, the LIBCVC_* env and the workflow_dispatch inputs. They only fed that build.
  • Test job: unchanged. Its name is now written out as tests/run.sh (ari master + PRs), because that is still the required check in main-protect.
  • README and ROADMAP: say where the page comes from. L10 is marked done.

Checked locally:

  • cvcpkg install arigl-web 3.7.8+cvc.1 (wasm) gives share/arigl-web/ with every file site.sh checks.
  • tools/site.sh assembles apps/cypkg/ from it.
  • The packaged ari.html defaults to main.ari, and web/ariadne.config.json pins it anyway.

Trade-offs:

  • The packaged page is the full build. ari.wasm is 23.8 MB raw and 7.7 MB gzipped, against 8.8 MB and 3.1 MB for the lean page CI built before. GitHub Pages serves the bigger one.
  • The install also downloads the static wasm libraries the page was linked from. The bundle lists them as its deps: about 126 MB compressed, of which the site uses none.
  • Both would be fixed in libcvc and cvcpkg, not here.

…t from libcvc

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.
@transfix
transfix merged commit ba33378 into main Nov 1, 2026
6 checks passed
@transfix
transfix deleted the ci-arigl-web-package branch November 1, 2026 15:18
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