Repository navigation
Conversation
tools/site.sh assembles /apps/cypkg/ from ari's xterm.js page (transfix/libcvc#887) and share/cypkg/. web/ariadne.config.json pins main.ari, turns the network on for the page's own origin and passes --server {origin}, so cypkg browses the registry that serves it. The fixture registry serves a site too (--site), with a strict CSP. tests/browser.mjs drives the page in headless Chrome over DevTools with real keys and checks the terminal's text: 7 steps, passing locally. The first results show 3.7 s after navigation; ari.wasm is 3.1 MB gzipped. CI gains a browser job that builds ari's single-threaded wasm page from libcvc with #887 too and runs the test. tools/libcvc.sh does both jobs' fetching and merging; tools/libcvc-resolve.py resolves the one known conflict (#887 and #896 in src/ari/main.cpp) and fails on any other.
recipes/cypkg/ vendors this repo and installs bin/cypkg, bin/cypkg.cmd, share/cypkg/*.ari and the licence; it depends on ari at run time, and the launcher runs the ari beside it in the prefix. Built locally with cvcpkg build cypkg --local --platform any, and the installed launcher ran cypkg against the fixture registry. CI gains a job that builds the package and checks its files. Not published: no released ari has the libcvc PRs cypkg needs. The recipe says to publish with a minimum ari version once one does.
Until a registry serves /apps/cypkg/, CI publishes the browser build to https://cy-pca.github.io/cypkg/. The browser job assembles it from the page it just tested, with web/ariadne.config.pages.json (--net-allow https://cvcpkg.org, --server https://cvcpkg.org), and a pages job deploys it on pushes to main. tools/site.sh takes the config as an optional third argument. That origin needs cvcpkg.org's CORS to allow it. Served locally from a plain static server, the page loads and runs, and its search is blocked only by the missing Access-Control-Allow-Origin (roadmap C5).
libcvc master (#889) added #include <cstdlib> at the top of state_exec_builtins_test.cpp, where #883 adds #include <cmath>, so #883 stopped merging and both CI jobs failed at their checkout. A conflict whose two sides only add #include lines now keeps both, sorted, in any file. With it, all seven PRs merge onto master again, and tests/run.sh passes on the ari built from them.
In CI every step passed, then rmSync failed with ENOTEMPTY on the profile Chrome was still writing as it shut down, and the job failed. Wait for Chrome's exit (at most 5 s), retry the removal, and never let cleanup change the result.
cy-pca/llm-gate@v1 fails a pull request (and a push to main) whose commits, title or description carry AI-assistant attribution: co-author trailers naming an AI, "generated with" footers, AI session links, AI bot authors. The same workflow as cy-pca/cvcpkg's, on main.
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.
cypkg's cvcpkg recipe, in this repo as libcvc's are (
recipes/cypkg/). From the repo root,cvcpkg build cypkgfinds it.platform: any,build_type_independentbuild serves every platform: cypkg is documents and launchers, with nothing to compile.bin/cypkgandbin/cypkg.cmd;share/cypkg/*.ari;share/doc/cypkg/(LICENSE, README).ariat run time. The launcher runs thearibeside it in the prefix, else the one on PATH.cvcpkg build cypkg --local --platform any --prefix ...installs those files.bin/cypkg, with anaribeside it, ran cypkg against the fixture registry in tmux.recipejob builds the package and checks its files and--help.Not published: no released
arihas the libcvc PRs cypkg needs (json-parse,functions:, moduleon_tick). The recipe says to publish it once one does, with a minimumariversion on the dependency. Until then, an olderaristops atmain.ari'srequires:and says what it lacks.