ci: add workflow to auto-bump viam-cpp-sdk#75
Open
Ethan (stuqdog) wants to merge 2 commits into
Open
Conversation
Adds .github/workflows/bump-viam-cpp-sdk.yml, a daily scheduled workflow that opens a PR bumping the viam-cpp-sdk conan pin whenever a newer SDK release is published. Dependabot has no conan ecosystem, so the bump is done explicitly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
martha-johnston
approved these changes
Jul 2, 2026
The windows-latest image was rolled onto windows-2025-vs2026 (~2026-06-28), which ships Visual Studio 18 "2026". Conan then auto-selects the "Visual Studio 18 2026" CMake generator, but abseil pins cmake<4 (3.31.9), which doesn't recognize that generator and fails to configure. Force abseil onto cmake 4.x (which does), leaving all other dependencies untouched. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Adds
.github/workflows/bump-viam-cpp-sdk.yml— a daily scheduled workflow (plusworkflow_dispatch) that opens/updates a PR bumping theviam-cpp-sdkconan pin inconanfile.pywhenever a newer SDK release is published on viamrobotics/viam-cpp-sdk.Why a custom workflow rather than Dependabot: the SDK is pinned via conan, which Dependabot has no ecosystem for.
conanfile.py.conan.lockvia conan if the repo has one (realsense does; the#recipe-revisionhash means a plain text replace is not enough).GIT_ACCESS_TOKENbot secret (same oneviam-python-sdk'supdate_protosuses) so the bump PR actually triggers CI.Opened as a draft for review.
🤖 Generated with Claude Code
Also included: fix for the Windows CI break (unrelated to the SDK bump)
While opening this PR its
build-module-windowscheck was failing — but not because of anything here. GitHub rolled thewindows-latestimage ontowindows-2025-vs2026(~2026-06-28), which ships Visual Studio 18 "2026". Conan then auto-selects theVisual Studio 18 2026CMake generator, but abseil pinscmake<4(→ cmake 3.31.9), which doesn't know that generator and fails to configure (Could not create named generator). Every dependency that resolved to cmake 4.1.2 (bzip2/c-ares/zlib/zstd) built fine on the same runner.The second commit adds a one-line, abseil-scoped conan override in
build.ymlso abseil builds with cmake 4.x (which understands the new generator); all other deps are untouched. This is bundled here so the PR's own CI can go green.Verified by comparing the passing 2026-06-08 run (image
windows-2025, VS 2022, generatorVisual Studio 17 2022) against the failing 2026-07-02 run (imagewindows-2025-vs2026, VS 18, generatorVisual Studio 18 2026) — identical cmake recipes in both; only the runner's Visual Studio changed.