Skip to content

Disable WITH_PARQUET option in CI workflow - #8288

Merged
poshul merged 4 commits into
developfrom
poshul-patch-3
Oct 14, 2025
Merged

poshul merged 4 commits into
developfrom
poshul-patch-3

Conversation

@poshul

@poshul poshul commented Oct 13, 2025 •

Copy link
Copy Markdown
Collaborator

Description

Checklist

  • Make sure that you are listed in the AUTHORS file
  • Add relevant changes and new features to the CHANGELOG file
  • I have commented my code, particularly in hard-to-understand areas
  • New and existing unit tests pass locally with my changes
  • Updated or added python bindings for changed or new classes (Tick if no updates were necessary.)

How can I get additional information on failed tests during CI

Click to expand If your PR is failing you can check out

Advanced commands (admins / reviewer only)

Click to expand
  • /reformat (experimental) applies the clang-format style changes as additional commit. Note: your branch must have a different name (e.g., yourrepo:feature/XYZ) than the receiving branch (e.g., OpenMS:develop). Otherwise, reformat fails to push.
  • setting the label "NoJenkins" will skip tests for this PR on jenkins (saves resources e.g., on edits that do not affect tests)
  • commenting with rebuild jenkins will retrigger Jenkins-based CI builds

⚠️ Note: Once you opened a PR try to minimize the number of pushes to it as every push will trigger CI (automated builds and test) and is rather heavy on our infrastructure (e.g., if several pushes per day are performed).

Summary by CodeRabbit

  • Chores

    • CI build matrix updated to disable Parquet/Arrow-related builds, streamlining the pipeline with no change to shipped features or binaries.
  • Documentation

    • Parquet-related internal documentation sections are now excluded from generated public docs, reducing clutter and improving discoverability.

@coderabbitai

coderabbitai Bot commented Oct 13, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

Build matrix: WITH_PARQUET changed from "ON" to "OFF" in CI. Doxygen docs for QuantmsIOConverter and its TOPP subpage were wrapped in /// @cond WITH_PARQUET / /// @endcond, hiding them unless WITH_PARQUET is defined. No public API changes.

Changes

Cohort / File(s) Summary
CI workflow configuration
.github/workflows/openms_ci_matrix_full.yml
Set WITH_PARQUET from "ON" to "OFF" in the build matrix, disabling Parquet/Arrow-related dependencies in CI.
QuantmsIOConverter source docs
src/topp/QuantmsIOConverter.cpp
Wrapped the Doxygen documentation block with /// @cond WITH_PARQUET ... /// @endcond, excluding it from generated docs when WITH_PARQUET is not defined.
TOPP Doxygen index
doc/doxygen/public/TOPP.doxygen
Added /// @cond WITH_PARQUET / /// @endcond around the TOPP_QuantmsIOConverter subpage entry so the subpage is omitted from docs unless WITH_PARQUET is defined.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • timosachsenberg
  • jpfeuffer

Poem

I nudged a flag with careful paws,
Parquet sleeps while CI withdraws.
Docs tuck away where arrows once shone,
Builds hop along, steady and home.
A rabbit’s small cheer — quiet and spry 🐇🥕

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title succinctly and accurately captures the primary change of this pull request, which is disabling the WITH_PARQUET option in the CI workflow, making it clear to reviewers what the update entails without including extraneous details.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch poshul-patch-3

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 148ab40 and 62ecd73.

📒 Files selected for processing (1)
  • doc/doxygen/public/TOPP.doxygen (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • doc/doxygen/public/TOPP.doxygen

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
.github/workflows/openms_ci_matrix_full.yml (1)

434-434: Parquet flag update acknowledged—consider pruning the unused setup.

Switching WITH_PARQUET to OFF meets the stated goal. With Parquet now disabled everywhere, the Windows-only setup-miniconda / conda install libarrow/libparquet steps (Lines 228‑248) and the PATH wiring that follow only add CI overhead without influencing the build. Trimming or guarding those steps while the feature is off would shave a few minutes from each run and avoid maintaining a dormant toolchain. Happy to help sketch the conditional if you want.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ccdb5a6 and 3957647.

📒 Files selected for processing (1)
  • .github/workflows/openms_ci_matrix_full.yml (1 hunks)

@timosachsenberg

Copy link
Copy Markdown
Contributor

@jpfeuffer if you have a better solution, how we could get parquet support into the release please let us know.
For now we need to disable it to get nightlies

@jpfeuffer

Copy link
Copy Markdown
Contributor

Not without anyone who has a Windows PC.

@timosachsenberg

Copy link
Copy Markdown
Contributor

we could ask @pjones
do you have some hints how it finds the shared libraries?
is it an error in our cmake or is this something the arrow / paquet guys missed?

@pjones

pjones commented Oct 13, 2025

Copy link
Copy Markdown
Contributor

What's the background here? Does OpenMS fail to build on Windows due to a missing arrow/parquet library?

@timosachsenberg

Copy link
Copy Markdown
Contributor

The packaging step of OpenMS expects some libraries when creating the Windows installer.

https://cdash.seqan.de/viewBuildError.php?buildid=453773

@timosachsenberg

Copy link
Copy Markdown
Contributor

Doxygen is still looking for some files:

Doxygen version: 1.14.0
Opening '/Users/runner/work/OpenMS/OpenMS/OpenMS/bld/doc/doxygen/doxygen-error.log' to check for doxygen errors...
----------- ERRORS/WARNINGS -----------------
/Users/runner/work/OpenMS/OpenMS/OpenMS/src/topp/QuantmsIOConverter.cpp:70: warning: included file 'TOPP_QuantmsIOConverter.cli' is not found. Check your EXAMPLE_PATH

I probably missed some part:
https://github.com/search?q=repo%3AOpenMS%2FOpenMS%20QuantMSIOConverter&type=code

@pjones

pjones commented Oct 14, 2025

Copy link
Copy Markdown
Contributor

Doxygen is still looking for some files:

Doxygen version: 1.14.0 Opening '/Users/runner/work/OpenMS/OpenMS/OpenMS/bld/doc/doxygen/doxygen-error.log' to check for doxygen errors... ----------- ERRORS/WARNINGS ----------------- /Users/runner/work/OpenMS/OpenMS/OpenMS/src/topp/QuantmsIOConverter.cpp:70: warning: included file 'TOPP_QuantmsIOConverter.cli' is not found. Check your EXAMPLE_PATH

I probably missed some part: https://github.com/search?q=repo%3AOpenMS%2FOpenMS%20QuantMSIOConverter&type=code

@timosachsenberg

The problem comes from this verbinclude. Where do these .cli files come from? Does it need to be generated from some other CMake task?

@timosachsenberg

Copy link
Copy Markdown
Contributor

I think they are generated by OpenMSToolDocumenter

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
src/topp/QuantmsIOConverter.cpp (1)

23-74: Consider whether this approach fixes the root cause of the Doxygen warning.

According to the PR comments, there's a Doxygen warning about the missing TOPP_QuantmsIOConverter.cli file during documentation generation. The current approach hides the entire documentation block when WITH_PARQUET is disabled, which suppresses the warning but doesn't address the underlying issue.

Consider alternative approaches:

  1. Ensure the .cli file is generated even when WITH_PARQUET is OFF so the @verbinclude at line 71 has a file to reference
  2. Wrap only the @verbinclude directive (line 71) in a conditional, keeping the rest of the documentation visible
  3. Generate a placeholder .cli file when the tool isn't fully functional

Based on PR comments, the .cli files are generated by OpenMSToolDocumenter. You may need to ensure this generator runs for all tools, not just those with enabled feature flags.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4d06a13 and 148ab40.

📒 Files selected for processing (1)
  • src/topp/QuantmsIOConverter.cpp (3 hunks)
🔇 Additional comments (1)
src/topp/QuantmsIOConverter.cpp (1)

23-74: Verify the intended behavior: conditional documentation vs. conditional compilation.

The documentation is wrapped in @cond WITH_PARQUET while the implementation (class TOPPQuantmsIOConverter) remains unconditionally compiled. This means:

  • When WITH_PARQUET is disabled, the tool will still be built and available
  • But it will have no user-facing documentation in the generated docs

Is this intentional? Consider whether:

  1. The entire tool should be conditionally compiled using #ifdef WITH_PARQUET / #endif preprocessor directives
  2. Or if the tool should remain available but undocumented when Parquet support is disabled

Run this script to check if there are any #ifdef WITH_PARQUET guards elsewhere in the codebase that might indicate the expected pattern:

@jpfeuffer

Copy link
Copy Markdown
Contributor

I assume you'd need to tell doxygen about this condition first.

Why does doxygen parse this file at all is the question. It is not used during any compilation. Probably goes through all sources, which it should not IMO.

@jpfeuffer

jpfeuffer commented Oct 14, 2025 •

Copy link
Copy Markdown
Contributor

Alternatively generate an empty dummy ".cli". I remember @timosachsenberg tried that for the ".ini" somewhere.

@poshul
poshul merged commit 0f70be3 into develop Oct 14, 2025
@poshul
poshul deleted the poshul-patch-3 branch October 14, 2025 13:52
@jpfeuffer

Copy link
Copy Markdown
Contributor

This will not work if WITH_PARQUET IS ENABLED now.

@jpfeuffer

Copy link
Copy Markdown
Contributor

@pjones

pjones commented Oct 15, 2025

Copy link
Copy Markdown
Contributor

@timosachsenberg I'm trying to build OpenMS on Windows with -DWITH_PARQUET=ON but I'm not sure how to install Arrow on Windows. The OpenMS install docs don't mention Arrow and it's not in contrib. (We probably shouldn't add dependencies without updating these.)

What's the correct way to install Arrow on Windows? vcpkg?

@timosachsenberg

Copy link
Copy Markdown
Contributor

I think Julianus suggested conda.

@jpfeuffer

Copy link
Copy Markdown
Contributor

The problem occurs with Arrow from conda (see our GitHub actions). It seems to work with vcpkg.
I am pretty sure it is a general CMake issue. It is the first time that the CMake hacks in vcpkg actually seem to help.

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.

4 participants