Repository navigation
Disable WITH_PARQUET option in CI workflow - #8288
Conversation
WalkthroughBuild matrix: Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the 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. Comment |
There was a problem hiding this comment.
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_PARQUETtoOFFmeets the stated goal. With Parquet now disabled everywhere, the Windows-onlysetup-miniconda/conda install libarrow/libparquetsteps (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.
|
@jpfeuffer if you have a better solution, how we could get parquet support into the release please let us know. |
|
Not without anyone who has a Windows PC. |
|
we could ask @pjones |
|
What's the background here? Does OpenMS fail to build on Windows due to a missing arrow/parquet library? |
|
The packaging step of OpenMS expects some libraries when creating the Windows installer. |
|
Doxygen is still looking for some files: Doxygen version: 1.14.0 I probably missed some part: |
The problem comes from this |
|
I think they are generated by OpenMSToolDocumenter |
There was a problem hiding this comment.
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.clifile during documentation generation. The current approach hides the entire documentation block whenWITH_PARQUETis disabled, which suppresses the warning but doesn't address the underlying issue.Consider alternative approaches:
- Ensure the
.clifile is generated even whenWITH_PARQUETisOFFso the@verbincludeat line 71 has a file to reference- Wrap only the
@verbincludedirective (line 71) in a conditional, keeping the rest of the documentation visible- Generate a placeholder
.clifile when the tool isn't fully functionalBased on PR comments, the
.clifiles are generated byOpenMSToolDocumenter. 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
📒 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_PARQUETwhile the implementation (classTOPPQuantmsIOConverter) remains unconditionally compiled. This means:
- When
WITH_PARQUETis 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:
- The entire tool should be conditionally compiled using
#ifdef WITH_PARQUET/#endifpreprocessor directives- 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_PARQUETguards elsewhere in the codebase that might indicate the expected pattern:
|
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. |
|
Alternatively generate an empty dummy ".cli". I remember @timosachsenberg tried that for the ".ini" somewhere. |
|
This will not work if WITH_PARQUET IS ENABLED now. |
|
@timosachsenberg I'm trying to build OpenMS on Windows with What's the correct way to install Arrow on Windows? vcpkg? |
|
I think Julianus suggested conda. |
|
The problem occurs with Arrow from conda (see our GitHub actions). It seems to work with vcpkg. |
Description
Checklist
How can I get additional information on failed tests during CI
Click to expand
If your PR is failing you can check outIf you click in the column that lists the failed tests you will get detailed error messages.
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.rebuild jenkinswill retrigger Jenkins-based CI buildsSummary by CodeRabbit
Chores
Documentation