Skip to content

[FIX,TEST] QPXDatasetExport_test: fix nightly container build (Arrow 23) - #10731

Merged
timosachsenberg merged 1 commit into
developfrom
claude/project-thread-c5h9v1
Oct 26, 2026
Merged

timosachsenberg merged 1 commit into
developfrom
claude/project-thread-c5h9v1

Conversation

@timosachsenberg

@timosachsenberg timosachsenberg commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Timo · project thread

What breaks

The nightly Deploy container images workflow has failed on every run since Oct 24 (run on Oct 26, Oct 25, Oct 24), so no new nightly container images are published.

QPXDatasetExport_test.cpp:238:54: error: no matching function for call to 'parquet::arrow::FileReader::ReadTable()'

The rowsOf() helper added to QPXDatasetExport_test.cpp in #10705 calls the no-argument FileReader::ReadTable(), which returns a Result<> only in newer Arrow (what vcpkg gives the PR CI). dockerfiles/Dockerfile pins the Apache APT Arrow/Parquet to v23, which only has ReadTable(std::shared_ptr<Table>*). PR CI builds with vcpkg, so it did not catch this.

Change

Drop the local rowsOf() helper and use the existing ParquetFile::rowCount(), which reads the row count from the Parquet metadata and already builds against Arrow 23 (libOpenMS compiled fine in the failing container builds; only this test did not).

Testing

Not built locally (no full OpenMS toolchain in this environment). The PR CI covers the vcpkg Arrow build; the Arrow 23 build only runs in the nightly container workflow, so the next nightly after merge confirms the fix.


Generated by Claude Code

Summary by CodeRabbit

  • Tests
    • Automated checks now verify row counts in Parquet exports for single-run and concatenated distinct-ID mz views, improving coverage of expected output sizes in both scenarios. This update is limited to test coverage; it does not change the export experience or available functionality.

…::rowCount

The test's own rowsOf() helper called the no-argument
FileReader::ReadTable(), which returns a Result only in newer Arrow.
The container image builds against the pinned Arrow 23, where that
overload does not exist, so the nightly "Deploy container images"
workflow has failed to compile this test since Oct 24.

Use the existing ParquetFile::rowCount() instead of a local reader.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Y8k7TxP9NJP4VFU5EK6dF2
@timosachsenberg timosachsenberg self-assigned this Oct 26, 2026
@OpenMS OpenMS deleted a comment from coderabbitai Bot Oct 26, 2026
@timosachsenberg
timosachsenberg merged commit 44fec61 into develop Oct 26, 2026
33 checks passed
@timosachsenberg
timosachsenberg deleted the claude/project-thread-c5h9v1 branch October 26, 2026 12:41
timosachsenberg added a commit that referenced this pull request Oct 28, 2026
The Docker image built with Arrow 23 from Apache's APT repository, while
PR CI, the wheels and the installers build with the Arrow 24 of the vcpkg
baseline. Code that needs a newer Arrow API passed PR CI and broke only
the nightly container build (#10731).

Pin the image to Arrow 24 and note that it follows the vcpkg baseline.
With the Bioconda recipe also on 24, no build we ship uses Arrow 23 any
more, so the minimum in CMake goes to 24 as well.


Claude-Session: https://claude.ai/code/session_01Y8k7TxP9NJP4VFU5EK6dF2

Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants