Repository navigation
Publish the full libcvc: gRPC and WebSocket transports on every platform - #943
Merged
Merged
Conversation
Every published libcvc through 3.7.5+cvc.2 shipped WITHOUT the conference transports. publish-cvcpkg.yml inlines its own configure (it does not run the recipe's build scripts) and never set CVC_ENABLE_GRPC or CVC_ENABLE_WS, whose defaults are OFF; the recipe scripts set CVC_ENABLE_GRPC=OFF outright. Yet the recipe declares grpc, protobuf, abseil and re2 as runtime deps, so consumers installed them and never used them. An arigl or arisrv built against the SDK compiled the conference out (the Windows cvc.dll links neither grpc++ nor protobuf), so no native client from the catalog could join a room. ci.yml even said the publish shipped gRPC on Linux; it did not. - publish-cvcpkg.yml: CVC_ENABLE_GRPC=ON and CVC_ENABLE_WS=ON in all four libcvc configures (CPU Linux/macOS and Windows, CUDA Linux and Windows), and the CPU job asserts both, beside the Ariadne backends, before the long build. - src/cvc/CMakeLists.txt prints "cvc::state: gRPC transport ENABLED" and "cvc::state: WebSocket transport ENABLED" for that assert. - The libcvc recipe's build.sh and build.ps1 turn both on, matching the publish. - ci.yml: the macOS and Windows gRPC lanes also build WS (what publish now ships; Linux already did), and the comment that claimed publish shipped gRPC says what is now true. The next publish takes libcvc to 3.7.5+cvc.3 by itself (next-revision); cvcgl and pycvc in the same run build against it.
Owner
Author
|
Local verification (sandipaws, Windows, MSVC, through cvcpkg with this branch's recipes):
|
…eaper test QuietClientAnsweringPingsIsNotReaped reaped its client on macOS (idle 0.2 s against a 150 ms limit). The probe thread pings on a 50 ms tick, so the 20 ms interval never applied, and a loaded runner can leave a couple of hundred ms between Pongs. Reap at 750 ms over ~2 s instead: still well past the limit, so a client that did not answer would be reaped (RelayReapsIdleConnection).
On macOS (package-macos release-grpc jobs) the held-out calibration closes the dissipation to 0.152 against a 0.15 bound and its calibrated step's twist is 1% over the uncalibrated one's, and the gradient check's beta and gamma (a quarter of alpha there) flip sign against Jolt's finite differences while the gradient as a whole agrees (ratio 0.92). The calibration's margins are 0.2 and 5%; the per-bias checks apply to components at least a third of the largest (all three on Windows), and the whole-gradient check is unchanged.
This was referenced Nov 3, 2026
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.
The bug
Every published libcvc, through
3.7.5+cvc.2and on every platform, shipped without the conference transports:publish-cvcpkg.ymlinlines its own libcvc configure (it doesn't run the recipe's build scripts) and never setCVC_ENABLE_GRPCorCVC_ENABLE_WS. Both default toOFF.build.shandbuild.ps1set-DCVC_ENABLE_GRPC=OFFoutright, as they have since the recipe was added (609b48d0).The result: an
ariglorarisrvbuilt against the published SDK silently compiles the conference out. On Windows,cvc.dllfrom3.7.5+cvc.2links neithergrpc++nor protobuf. So no native client built from the catalog can join a room, including the one theariglrecipe (#887) would produce.ci.ymleven claimed the publish shipped gRPC on Linux; it didn't. This is the same drift the workflow's comments already describe for XMLRPC.The fix
-DCVC_ENABLE_GRPC=ON -DCVC_ENABLE_WS=ONin all four libcvc configures (CPU Linux/macOS, CPU Windows, CUDA Linux, CUDA Windows). The CPU job now asserts both, alongside the Ariadne terminal backends, before the long build, so it can't silently ship without them again.cvc::state: gRPC transport ENABLED/cvc::state: WebSocket transport ENABLEDfor that assert. The defines were already exportedPUBLIConcvc, so a standalone arigl or arisrv picks them up from the SDK with no further change.No manual revision bump is needed: the next publish takes libcvc to
3.7.5+cvc.3throughnext-revision, and cvcgl and pycvc in the same run build against it.Verification
cvcpkg build libcvcwith the updated recipe on Windows (shared, MSVC) is running to confirm the full variant builds and stays under cvc.dll's export limit. The result follows in a comment.Not in this PR
ariglandarigl-webaren't wired into the publish workflow yet (their recipes exist since #887), socvcpkg install cvc/ariglhas nothing to fetch. That's a separate follow-up.