Repository navigation
arisrv as its own cvcpkg package, published by the v* tag - #1016
Merged
Merged
Conversation
arisrv, the headless Ariadne conference relay, gets a recipe (cvcpkg/recipes/arisrv) like ari's: it builds src/arisrv standalone against the installed libcvc SDK, installs just bin/arisrv, and depends on libcvc alone, at build and at run time. The gRPC and WebSocket transports, the Jolt avatar holon and the libjpeg-turbo video rungs are all libcvc's. publish-cvcpkg.yml builds it with the recipe's own script against the libcvc the same job built, on linux x86_64 and arm64, macOS and windows, one revision per release from compute-revisions. Before it packs, the binary must open a room on loopback and log its gRPC and WebSocket listeners, the chat, "avatar physics: Jolt rigid bodies" and "transcode libjpeg-turbo"; on Linux and macOS it must also exit 0 on SIGTERM. A dry run keeps each platform's arisrv and the libcvc it was built against as an artifact for a week. src/arisrv's standalone configure now uses C++20, as ari's does, and stops on a libcvc SDK built with neither transport (every published libcvc through 3.7.8, per #943), instead of building a relay no client can join.
Artifact storage is billed. A dry run now packs arisrv and stops, as ari's steps do; the step ids only the upload read go with it.
ubuntu-latest became the 26.04 image (gcc 15.2), and the jobs that used it broke on a std::sort without <algorithm>: a toolchain no published bundle is built with. publish-cvcpkg.yml already pins its linux targets to ubuntu-22.04 (glibc 2.35, gcc 11.4), because an artifact built on a newer image carries GLIBC_2.x versions an older system can't load. Pinned to ubuntu-22.04: ci.yml's package-linux and pycvc-linux, ci-recipe.yml's two linux lanes, and release.yml's linux job (the SDK archives) and its linux sdk-smoke lanes.
transfix
added a commit
that referenced
this pull request
Nov 4, 2026
…c:// hostnames on Windows (#1021) Two bugs kept the native packages from running a conference document that the browser page runs. The component library: src/cvc installs share/libcvc/ariadne/components on every platform, and cvc:// looks for it beside the installed library, but the libcvc and libcvc-cuda recipes' package.files never listed it. No native bundle carried it, so a document importing cvc://components/room_users.ari or chat.ari loaded without those windows. The install rule also named no component, so the release tarballs (cpack's libcvc component) left it out too. Both recipes now list share/libcvc/ariadne/, the rule is COMPONENT libcvc, package-linux fails if its tarball has no components, and docs/ARIADNE.md notes the CVC_ARIADNE_PATH workaround for older bundles. gRPC DNS on Windows: gRPC 1.68.2's c-ares resolver, with c-ares 1.34.8, aborts the process on its first lookup of a hostname (grpc_polled_fd_windows.cc: "Check failed: *from_len <= recv_from_source_addr_len_"), so arigl with CVC_ARIADNE_RELAY=grpc://<host>:7700 died at connect while grpc://<an IP> worked. The gRPC state and stream transports now set GRPC_DNS_RESOLVER=native on Windows before the process makes its first gRPC object, unless it is already set. New test: StateTransportGrpcTest.ConnectsToAPeerNamedByHost. Also carries #1019's branch at 3ab5cd2 so CI could run after ubuntu-latest became 26.04 (GCC 15): the <algorithm> includes in the tests, Linux CI on ubuntu-22.04 (the same pin #1016 brought to master), and a pycvc async test fix.
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
ariandariglare cvcpkg packages, butarisrv(the headless Ariadne conference relay) isn't. Anyone hosting a room has to build it from a libcvc checkout. The Ariadne conference deploy does exactly that today: it configures a whole libcvc tree on its build host and builds arisrv's target out of it. After this PR, av*tag publishesarisrv, and hosting a room becomescvcpkg install arisrv.What
cvcpkg/recipes/arisrv(new)The recipe follows
ari's:build.shandbuild.ps1buildsrc/arisrvstandalone against the installed libcvc SDK (find_package(cvc CONFIG)) and install onlybin/arisrv(bin/arisrv.exeon Windows).dependslistslibcvcalone, for both build and runtime. The relay's parts all come from libcvc:CVC_ENABLE_GRPC,CVC_ENABLE_WS);CVC_WITH_JOLT);Those parts' libraries (grpc, protobuf, joltphysics, libjpeg-turbo, ...) are already libcvc's runtime deps, so they come in through
libcvc's closure. No cvcGL, VTK or GL is involved.Platforms: linux, macos and windows, the same three where libcvc builds the transports.
upstream_versionis 3.7.9 (master'sproject()version since chore: bump libcvc to 3.7.9 #1015), andcvc_revisionis 1.src/arisrv/CMakeLists.txt(standalone mode only)src/ari's standalone mode does. libcvc requires 20; the old setting was 17.cvc::cvc's exportedINTERFACE_COMPILE_DEFINITIONS, where both transports are PUBLIC definitions.arisrv: the libcvc SDK carries the gRPC and WebSocket transports.publish-cvcpkg.ymlThese changes follow how #952 wired in
arigl:compute-revisionsemitsarisrv, giving one revision per release.New steps build, pack and publish arisrv:
[Linux](x86_64 and the experimental arm64 lane),[macOS]and[Windows].Before packing, each binary must open a room on loopback (
--state-listen 127.0.0.1:18700 --media-listen 127.0.0.1:18701 --ws-listen 127.0.0.1:18702). Its log must show all of these:relay upwith the gRPC listener on:18700;websocket (browser) clients: ws=…:18702;chat: room;avatar physics: Jolt rigid bodies;transcode libjpeg-turbo.Jolt and libjpeg-turbo are PRIVATE to cvc, so the running binary is the only thing that can show them. Without them, the relay would still build and pack, just without those features.
On Linux (
timeout --preserve-status -s TERM) and macOS (SIGTERM by pid, with a SIGKILL watchdog), the relay must also exit 0 on SIGTERM, which is what a service manager sends.A dry run packs arisrv and stops there, like ari's steps: it uploads nothing to GitHub, since artifact storage is billed.
The header comment's package list and platform coverage now include arisrv.
Linux jobs on the glibc floor (
ci.yml,ci-recipe.yml,release.yml)While this PR was open,
ubuntu-latestbecame the ubuntu-26.04 image with gcc 15.2. The jobs on it then failed onstd::sortused without<algorithm>instate_compression_registry_test.cpp. No published bundle is built with that toolchain:publish-cvcpkg.ymlpins its Linux targets to ubuntu-22.04 (glibc 2.35, gcc 11.4). An artifact built on a newer image carries GLIBC_2.x symbol versions that an older system can't load.These jobs now run on
ubuntu-22.04too:ci.yml:package-linuxandpycvc-linux;ci-recipe.yml: the two Linux lanes, which renames their checks fromrecipe / ubuntu-latest / …torecipe / ubuntu-22.04 / …(onlyllm-gateis required);release.yml:linux, which builds the SDK archives attached to a release, and the two Linuxsdk-smokelanes.Jobs that compile nothing stay on
ubuntu-latest: orchestration,llm-gate, and the release-creation job. So do the wasm builds, whose output links no glibc.docs/ARIADNE.mdOne paragraph under the §9 hosts table: each host is its own package, and
cvcpkg install arisrvinstalls a room's server.Checks
The configure guard, locally (Windows, MSVC 14.44). I configured
src/arisrvstandalone against two installed SDKs:arisrv: the libcvc SDK in …/lib/cmake/cvc was built without CVC_ENABLE_GRPC and CVC_ENABLE_WS …;arisrv: the libcvc SDK carries the gRPC and WebSocket transports.Publish dry run with
gh workflow run publish-cvcpkg.yml --ref feat/arisrv-cvcpkg-recipe -f dry_run=true: run 41743836532, on 40d3206. That commit predates the 3.7.9 merge, so the packs say 3.7.8.compute-revisionsgavearisrv -> +cvc.1. Every arisrv target built, passed the checks below, and packed. That run also uploaded each pack as an artifact, for the local check below; a later commit on this branch removed that upload, so the steps now differ from the run only in not uploading.arisrv-3.7.8+cvc.1-linux-x86_64-release-shared.tar.gz(67 KB)the libcvc SDK carries the gRPC and WebSocket transports; the 5 log lines; exit 0 on SIGTERMarisrv-3.7.8+cvc.1-linux-arm64-release-shared.tar.gz(67 KB)arisrv-3.7.8+cvc.1-windows-x86_64-release-shared.zip(54 KB)arisrv-3.7.8+cvc.1-macos-arm64-release-shared.tar.gz(45 KB)arisrv-3.7.8+cvc.1-macos-x86_64-release-shared.tar.gz(45 KB)Every job in the run passed: all five release lanes, the 312/313 columns and all four debug jobs. The arisrv steps' log on each platform:
The packaged files, installed and run locally. I took that run's artifacts, each holding an arisrv archive and the
libcvc-3.7.8+cvc.3archive from the same job. The prefixes were fresh, built withcvcpkg install libcvc --platform <p> --config release --link shared, which gives libcvc's catalog closure: 46 components on Linux, 47 on Windows. I extracted both archives over each prefix, then ranarisrv --room smoke --state-listen 127.0.0.1:18700 --media-listen 127.0.0.1:18701 --ws-listen 127.0.0.1:18702undertimeout.$ORIGIN/../lib;lddwithLD_LIBRARY_PATHempty finds every library in the prefix (libcvc.so.3, libgrpc++.so.1.68, libJolt.so, libturbojpeg.so.0);timeout --preserve-status -s TERM 8returns arisrv's own exit status, 0.PATHcut down to the system directories so every DLL comes from the prefix'sbin/: all five lines are logged, andtimeout 10stopped it while it was serving.bin/arisrv(orbin/arisrv.exe) and its manifest, nothing else. The manifest's only required dependency islibcvc.Interaction with the 3.7.9 bump (#1015)
#1015 merged first. Master is merged into this branch (e425b71), and the arisrv recipe is at 3.7.9 like the rest of the family (4d7f3cd). The dry run above ran on the commit before that, which is why its packs say 3.7.8.
v3.7.9was then tagged at a17ca3f, before this PR, so 3.7.9 ships without arisrv. arisrv first publishes with the nextv*tag. The version bump before that tag has to movecvcpkg/recipes/arisrv/recipe.yamltoo.ci.yml's upstream_version check covers every recipe, so it fails a bump that misses this one.Not in this PR
v*tag cut after this merges, or with adry_run=falsedispatch. Both are production releases and need a go-ahead.cvcpkg install arisrv. That's a follow-up in the deploy's own repository, after arisrv is on the catalog.