Repository navigation
[CI] Build one PR CI leg against Arrow 23 - #10757
timosachsenberg wants to merge 1 commit into
Conversation
The PR CI legs all build with the Arrow version of the vcpkg baseline (24.0.0), while the Docker image and the Bioconda recipe build with Arrow 23, the oldest version OpenMS supports. A use of a newer Arrow API therefore only broke the nightly container build (#10731). The build action gets an optional arrow_version input that adds a vcpkg.json override for that job. The ubuntu-24.04-arm g++ leg sets it to 23.0.1. The patch runs before the vcpkg binary cache is restored, so that restore and save use the same cache key. The job name is spelled out so the check names do not change. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Y8k7TxP9NJP4VFU5EK6dF2
|
@claude could both use a newer arrow version? check |
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Build action Arrow override .github/actions/build/action.yml |
The action accepts an optional arrow_version. When set, it replaces the Arrow override in vcpkg.json before dependency installation. |
Test matrix Arrow version .github/workflows/test.yml |
The workflow names checks using OS and compiler, sets Arrow to 23.0.1 for the Ubuntu 24.04 ARM leg, and passes the matrix value to the build action. |
Sequence Diagram(s)
sequenceDiagram
participant TestWorkflow
participant BuildOpenMSAction
participant VcpkgManifest
participant DependencyInstallation
TestWorkflow->>BuildOpenMSAction: Pass arrow_version when set
BuildOpenMSAction->>VcpkgManifest: Replace arrow override
BuildOpenMSAction->>DependencyInstallation: Install dependencies after manifest update
Possibly related PRs
- OpenMS/OpenMS#10705: Adds Arrow and Parquet APIs and tests; its newer Arrow API usage caused the nightly Arrow 23 container failure this PR’s CI leg is intended to detect.
- OpenMS/OpenMS#10731: Replaces an Arrow API unavailable in Arrow 23 with
ParquetFile::rowCount(), fixing the nightly failure this PR’s CI leg is intended to detect.
Suggested reviewers: castornova2
Priority:
Change: Other
Merge Risk: 
Minimal · up to a480c
-
No concrete merge-blocking risk remains from the reviewed changes.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
A rabbit checks the build at dawn
Arrow hops into the manifest
The matrix sets its version right
Dependencies follow close behind
The rabbit thumps: checks are on!
Comment @coderabbitai help to get the list of available commands.
|
Yes, both can move to a newer Arrow.
I would move both to 24, the version vcpkg gives PR CI, the wheels and the installers, so that every build uses the same Arrow. 26 would put them ahead of PR CI, which can break the other way (APIs removed after their deprecation). After that, nothing we ship builds with Arrow 23. The minimum in Generated by Claude Code |
|
@claude was there any reason to stick with 23? e.g. pyopenms wheels or similar? |
|
I found no reason. 23 was simply the newest Arrow when it became a requirement, and the pins stayed:
So nothing depends on 23 staying. Generated by Claude Code |
|
@jpfeuffer should this be unpinned |
|
Yes I think so. As it mentions, I think it was only a workaround because of docker where this wasn't available or where we had a mismatch between build and run somehow. |
Requested by Timo · project thread
Why
All PR CI legs build with the Arrow that the vcpkg baseline picks (24.0.0). The Docker image (Apache APT, pinned to 23) and the Bioconda recipe (
libarrow =23) build with Arrow 23, which is also the minimum incmake/cmake_findExternalLibs.cmake. So code that needs a newer Arrow API passes PR CI and only breaks the nightly container build, as happened withReadTable()in #10705 (fixed in #10731).Change
.github/actions/build: new optional inputarrow_version. When it is set, a step adds{"name": "arrow", "version": "<value>"}to theoverridesofvcpkg.jsonfor that job. vcpkg installs during the CMake configure, so the override is in place in time. Empty (the default) changes nothing, sorelease.ymland the other legs are unaffected.test.yml: theubuntu-24.04-arm/g++leg setsarrow: "23.0.1"(the only Arrow 23 release in the vcpkg versions database).name: build-and-test (${{ matrix.os }}, ${{ matrix.compiler }}), so the check names stay exactly as they are and required checks keep matching.Cache key
The vcpkg binary cache key is a hash of
vcpkg.json, and the rsync cache action computes it again in its post step when it saves. The pin step therefore runs before "Install Dependencies": restore and save then use the same key, and the Arrow 23 leg gets its own cache instead of overwriting the arm leg's Arrow 24 cache. The first run of that leg builds its vcpkg dependencies without a cache, so it will be slower once.Testing
vcpkg install --dry-runwith this override against the current vcpkg registry resolvesarrow[acero,compute,core,dataset,filesystem,json,parquet,s3]@23.0.1. All other ports stay on their baseline versions.arrowport at 23.0.1 differs from the current 24.0.0#1 only in the version, the source hash, and-DARROW_WITH_UTF8PROC=ON, which was added later to fix utf8proc not being found. If the 23.0.1 port hits that problem with the current utf8proc, this leg will show it and an overlay port will be needed.Generated by Claude Code
Summary by CodeRabbit