Repository navigation
ci(publish): restore the windows-debug exclusion -- the bundle links Release CRT deps - #586
Merged
Merged
Conversation
…Release CRT deps f37762a (2026-09-03) removed the windows-debug exclusion from the `build` matrix on the premise that the ten missing windows-debug dep bundles were being published. They never landed, and the Fetch step asked for build_type: Release on every row anyway, so the lane has published a Debug libcvc linked against Release MSVC deps ever since: libcvc 3.3.0+cvc.4 .. 3.5.0+cvc.2 (22 windows/x86_64/debug bundles). Evidence: - publish run 37711516439, job "build (debug, 311, windows-2022, ...)": install-deps ... --config release --link shared, then CMAKE_BUILD_TYPE=Debug (default /MDd), then packed + published libcvc-3.5.0+cvc.2-windows-x86_64-debug-shared. - that bundle's bin/cvc.dll imports MSVCP140D.dll, VCRUNTIME140D.dll, ucrtbased.dll, and boost_filesystem.dll, hdf5.dll, yaml-cpp.dll; the catalog's windows release boost_filesystem.dll / yaml-cpp.dll import MSVCP140.dll. cvc.dll imports 7 yaml-cpp entry points taking or returning std::string (YAML::Load, Node::Scalar, ...), whose layout differs between _ITERATOR_DEBUG_LEVEL 2 and 0. - catalog rev 5186: windows/x86_64/debug/shared covers 15 of libcvc's 34 windows deps; gmp and libiimod have no windows debug bundle at all. Restore the exclusion (making the comments at the CUDA jobs and in ci.yml true again), and have the Fetch step ask for Debug deps on a windows debug row, so re-enabling the row before those deps exist fails at Configure instead of silently shipping the mismatch again. Linux and macOS debug rows still fetch Release deps, which is sound there.
transfix
added a commit
that referenced
this pull request
Oct 9, 2026
Patch release carrying the fixes since 3.5.0: the cvcGL M_PI build fix (#582), CameraController Map mode holding its pose (#584), the tag-release / publish workflow fixes (#585, #586), macro-safe public headers after <signal.h> / <sys/param.h> (#588), and the X11 `None` renames (#589: ariadne::BorderShow::None -> Off, gl::Switch::None -> Off). Bumps project(VERSION) 3.5.0 -> 3.5.1 and every cvcpkg recipe's upstream_version to match (cvc_revision stays 1, per the recipe-version gate).
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.
Problem
f37762a (2026-09-03) removed the windows-debug exclusion from publish-cvcpkg.yml's
buildmatrix. Its premise was that the ten missing windows-debug dep bundles were being published. Two things went wrong:build_type: Releaseon every row anyway, so even complete debug deps would not have been used.Since then the lane has published 22 windows/x86_64/debug libcvc bundles (3.3.0+cvc.4 … 3.5.0+cvc.2), each a Debug (/MDd) libcvc linked against Release (/MD) DLLs.
Evidence
build (debug, 311, windows-2022, windows, x86_64): it rancvcpkg install-deps ... --config release --link shared(resolving for windows/x86_64/release/shared), configured withCMAKE_BUILD_TYPE=Debugand noCMAKE_MSVC_RUNTIME_LIBRARY(so /MDd), then packed and publishedlibcvc-3.5.0+cvc.2-windows-x86_64-debug-shared.bin/cvc.dllimports the debug CRT (MSVCP140D.dll,VCRUNTIME140D.dll,VCRUNTIME140_1D.dll,ucrtbased.dll). It also importsboost_filesystem.dll,hdf5.dll,yaml-cpp.dllandassimp-vc143-mt.dll, which are the release names; the debug ones would be-gd,_D,dand-mtd.boost_filesystem.dll,yaml-cpp.dllandhdf5.dllimportMSVCP140.dll/VCRUNTIME140.dll.cvc.dllimports 7 yaml-cpp entry points that take or returnstd::string, includingYAML::Load(const std::string&),YAML::LoadFile,Node::Scalar()andnode_data::set_scalar.std::string's layout differs between_ITERATOR_DEBUG_LEVEL2 and 0, so.ariloading in a Windows Debug consumer is undefined behavior.Fix
exclude:entry forconfig: debugon windows-2022. The comment records what went wrong and the exact condition for removing the exclusion. This also makes the existing comments at the CUDA jobs (build-cuda-windows, its fetch step) and in ci.yml'spackage-windowstrue again.Debugdeps on a windows debug row (Release elsewhere, unchanged). The row is excluded, so this changes nothing today. If the row is re-enabled before the deps exist,install-depsfails and Configure stops atfind_package(libiimod), instead of silently shipping the mismatch again, which is what happened after f37762a.Matrix expansion, simulated locally from the YAML: 10 → 9
buildrows plus the 2 pycvc includes. Onlydebug × windows-2022is dropped.Validation
Dry run passed. publish-cvcpkg dry run (
dry_run=true) on this branch, run 37832725777, took 52 min and concluded success.Matrix. The
buildjobs are 11: 9 base rows plus 2 pycvc includes. Windows appears only asbuild (release, 311, windows-2022, …). Thebuild (debug, 311, windows-2022, …)job from 37711516439 is gone.Fetch expression. The Windows Release row logged
cvcpkg install-deps … --platform windows --arch x86_64 --config release --link shared, so it still resolves Release deps.Job results:
continue-on-errorlanes failed, the same as baseline. These are ubuntu-22.04-arm ×2 and macos-15-intel ×2, which fail the same way in 37711516439 and 37099666638, both of which concluded success.Nothing was published:
push-recipeswas skipped and every pack step loggeddry-run: skipping … publish.Follow-ups
--platform windows --arch x86_64 --config debug --link sharedand run with the cvc-org publisher token. A canary went first, and the catalog was checked before and after: every other libcvc variant is unchanged. Any of them can be restored withcvcpkg unyankand the same scope flags.