Repository navigation
publish-cvcpkg: a libcvc bundle must load from the closure it declares - #1237
Merged
Merged
Conversation
libcvc-cuda 3.7.13+cvc.2 (packed 2026-11-10, before #1211 brought its runtime list level with libcvc's) ships a libcvc.so that needs yaml-cpp, ftxui, json-schema-validator, Jolt, curl, opus and ncurses, and its manifest declares none of them. A consumer whose resolver picks it for `libcvc` (any CUDA host) gets a prefix where libcvc.so does not load and `import pycvc` fails. The pack step only copies the recipe's depends: into required_deps; nothing checked the list against what the library links, and the publish job's own deps prefix holds libcvc's whole closure, so the build never noticed. .github/scripts/bundle-check-closure.sh installs a packed bundle's declared required_deps from the catalog into an empty prefix, unpacks the bundle over them and runs sdk-check-closure.sh there. publish-cvcpkg runs it between pack and publish for libcvc-cuda (Linux) and for libcvc (Linux x86_64 release).
transfix
enabled auto-merge (squash)
November 14, 2026 20:37
transfix
added a commit
that referenced
this pull request
Nov 15, 2026
Master's #1217 keeps nothing per thread in state_exec: a native's context (call_args::context()) carries its group, registry and stream, async_host::call and begin_external take it, and the pool drops in_pump_all() and the one-argument run_on_host. - async_host.h: begin_external takes the context, as on master, and keeps this branch's note that a call is finished through the host it was made on. - script_engine.cpp: the sliced form finds the calling program's group from the call's context (exec_group::current(ctx)), else group 0, and reads its data step from the context. - ariadne.cpp: file-pick opens its picker through run_on_host for the group its verbs were bound for (the env's, as its host is), and inline in group 0 and the init lane. - exec_pool: in_pump_all() is back, for the host-thread calls' debug assertion and ScriptLane::run's refusal, read from the pool's calls (their callers' and pumpers' thread ids) under its mutex rather than from thread-locals. - ariadne_runtime_test: the init lane's cycles test no longer compares against the calling thread's own registry, which master removed; it is AriadneInit.RunsAScriptThatLeavesCycles. - ci.yml: the sanitizer's required list names the test by its new name. - STATE_EXEC_THREADED.md: B29-B31 and the file-pick and sliced-call notes name the context-based calls.
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 published
libcvc-cuda3.7.13+cvc.2 (Linux and Windows) can't load. It was packed on 2026-11-10, three days before #1211 brought its runtime list into line with libcvc's. Its libcvc.so needs nine libraries its manifest never declares:A resolver on a CUDA host picks it for
libcvc(itprovides: [libcvc],requires_capabilities: [cuda]). There,import pycvcfails withlibyaml-cpp.so.0.8: cannot open shared object file. That is how grl-snam-dbg's CI closure (pycvc-cp312 3.7.13+cvc.2) loses every pycvc-based test.The recipe on master is already right. Its Linux runtime list is libcvc's, entry for entry, and recipe-deps-parity.py keeps it that way. What is missing is a republish, plus a check that would have stopped the bad one.
What this changes
.github/scripts/bundle-check-closure.sh ARCHIVEchecks a packed bundle the way a consumer would get it:required_depsfrom the catalog into an empty prefix. Platform, arch, config and link come from the bundle's own manifest.sdk-check-closure.shthere.The publish job's own deps prefix can't do this check. It holds libcvc's whole closure, whatever the recipe declares.
publish-cvcpkg.ymlruns the check between Pack and Publish:build-cuda, for libcvc-cuda on Linux;build, for libcvc on Linux x86_64 release.It runs on release bundles only, because the catalog has no debug
eigenand a debug install of the list fails first. arm64 is skipped because that lane source-builds its deps.Checked locally
On the published archives, linux/x86_64 release:
The swapped-list case shows the published binary needs only master's list. A prefix with it plus those packages imports pycvc and builds a
pycvc.volume. The CPU path (CVCPKG_CAPABILITIES="", which resolves libcvc 3.7.13+cvc.3) imports too. The script is shellcheck-clean.Not covered
cvc.dll; no macOS host to test on).cvc_revisionstays at 1. compute-revisions publishes atmax(recipe, highest published + 1), so the next libcvc-cuda lands as 3.7.13+cvc.3 with no bump. A floor of 3 would also carry into 3.7.14, because version bumps don't reset it.Fixing the catalog needs a publish-cvcpkg run with
publish_cuda=true, either a dispatch on master or the nextv*tag.