Repository navigation
fix(release): unblock tag releases -- release/shared deps for every lane, Debug best-effort - #585
Merged
Merged
Conversation
…ane, Debug best-effort release.yml has failed on every v* tag since v3.3.0 (v3.3.0, v3.4.0, v3.5.0 run 37700967617), and nightly every night since 2026-05-25, so no release has been created automatically in that time. Causes, from the v3.5.0 logs and the cvcpkg catalog (revision 5186): - Debug lanes asked fetch-libcvc-deps for the debug tuple. The catalog's debug tuples are incomplete for libcvc's dep closure (linux 33/37, macos 26/33, windows 15/34), install-deps refuses, `path` comes back empty, Configure dies at find_package(libiimod). Only release/shared is complete on all three platforms (37/37, 33/33, 34/34), and it is what ci.yml's Debug lanes and publish-cvcpkg.yml's Debug bundles already build against. Linux/macOS Debug now fetch release/shared too. - linux release-static passed -DBoost_USE_STATIC_LIBS=ON (left over from the apt era) over a shared-only prefix. libcvc's own Boost lookup ignores it (CMake/SetupBoost.cmake forces shared Boost and exports BOOST_ALL_DYN_LINK), but src/cvc-cli's find_package(Boost COMPONENTS program_options) saw it and rejected the -shared config. macOS release-static passed because it never set the flag. Drop it (and the HDF5 twin): static libcvc over shared deps, as on macOS/Windows. Fetching link=static instead is not viable: the static tuples are 31/37 (linux), 3/33 (macos), 21/34 (windows). - Windows Debug: no windows-debug dep bundles, and Release deps are a /MDd vs /MD CRT mismatch. Drop the rows, as ci.yml already has. The release job now runs unless cancelled and gates on a "Check artifact set" step: every Release-config archive is required, Debug archives are best-effort (warning, attached when present). The rolling-tag and publish steps run only for a v* tag push or a rolling_tag call; workflow_dispatch is added as a dry run that builds the matrix and checks the artifact set without touching any tag or release.
This was referenced Oct 8, 2026
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
release.ymlhas failed on everyv*tag since v3.3.0. The failed runs are v3.3.0 33675572731, v3.4.0 34820102876 and v3.5.0 37700967617. Nightly, which calls the same workflow, has failed every night, and thenightlyrelease has not been updated since 2026-05-25.releasehasneeds: [linux, macos, windows], so it was skipped every time. v3.3.0 and v3.4.0 have no release at all, and v3.5.0's was made by hand with 5 of the 12 archives.Root causes (v3.5.0 logs + cvcpkg catalog rev 5186)
1. Debug lanes asked for debug deps, and the catalog doesn't have a full set.
fetch-libcvc-depswas called withbuild_type: ${{ matrix.build_type }}.cvcpkg install-depsrefused because components were missing,pathcame back empty, and Configure failed atfind_package(libiimod). Coverage of libcvc's dependency closure by catalog tuple:Release/shared is the only tuple that is complete on all three platforms. It is also what ci.yml's
package-linux / libcvc-debugandpackage-macos / libcvc-debug(both pass) and publish-cvcpkg.yml's Debug bundles already build against. The gaps are mostly deps the recipe gained after v3.2.4, the last green release: yaml-cpp, ftxui, nlohmann-json, json-schema-validator, assimp and pocketfft.2. linux release-static passed
-DBoost_USE_STATIC_LIBS=ONover a shared-only prefix. This flag is left over from when deps came from apt, whose-devpackages ship.afiles. libcvc's own Boost lookup ignores it, becauseCMake/SetupBoost.cmakeforces shared Boost and exportsBOOST_ALL_DYN_LINK. Butsrc/cvc-cli's directory-scopefind_package(Boost COMPONENTS program_options)sees it and rejectsboost_program_options-1.86.0-shared. That is the v3.5.0 linux static failure. macOS release-static passes because it never sets the flag: it builds libcvc static over the same shared prefix.Fix
-DBoost_USE_STATIC_LIBS=ONand-DHDF5_USE_STATIC_LIBRARIES=ON. Static now means libcvc static over shared deps, which is what macOS and Windows static already ship. Passinglink: ${{ matrix.link }}instead would not work: the static tuples are 31/37, 3/33 and 21/34, so it would break the static lanes that currently pass.package-windowsalready has. There are no windows-debug dep bundles, and a Debug (/MDd) libcvc over Release (/MD) DLLs is a CRT mismatch. The comment says how to restore them.releasejob: runsif: !cancelled()and is gated by a new "Check artifact set" step. All 6 Release-config archives are required, so a missing one fails the job before any tag or release is touched. The 4 Debug archives are best-effort: a missing one produces a warning and the release goes out without it.workflow_dispatch= dry run. The rolling-tag and publish steps run only for av*tag push or arolling_tagcall. A dispatch on any ref builds the full matrix, checks the artifact set and writes a "would attach" summary.Considered and rejected:
--fallback-to-sourcefor Debug: on Windows that means source-building 19 deps, including boost, cgal, grpc and imagemagick, and it is unnecessary on Linux/macOS.Validation
Dry run passed. workflow_dispatch on this branch, run 37827448873, took 44 min and all 11 jobs passed.
releaseIn the
releasejob:okfor all 6 required Release archives and all 4 Debug archives.Recreate rolling tag (nightly mode)andCreate GitHub Release: both skipped (PUBLISH=false).Afterwards,
gh release listshows no new release, and thenightlytag is still atb8367667.The "Check artifact set" script was also exercised locally against v3.5.0's hand-attached set, where it fails on the missing linux release-static archive and warns on the 4 Debug archives, and against a partial nightly-style set, where it passes with warnings.
No release, tag or existing run was created, edited or deleted.
Out of scope / follow-ups noticed
/usr/lib, but deps now come from cvcpkg. The macOS static zip ships only a partial set of.afiles, and no platform ships the deps' CMake configs. This is unchanged by this PR.