Skip to content

Conversation

@t0mdavid-m
Copy link
Member

@t0mdavid-m t0mdavid-m commented Jul 31, 2025

Summary by CodeRabbit

  • Chores
    • Updated the OpenMS version used in the build to 3.4.1.
    • Upgraded Qt development packages from Qt5 to Qt6 for improved compatibility.

@coderabbitai
Copy link

coderabbitai bot commented Jul 31, 2025

Walkthrough

The Dockerfile was updated to use OpenMS branch release/3.4.1 instead of release/3.2.0. Qt development packages were upgraded from Qt5 to Qt6, replacing qtbase5-dev, libqt5svg5-dev, and libqt5opengl5-dev with their Qt6 counterparts and adding libqt6openglwidgets6. The third-party Linux binaries path was changed from THIRDPARTY/Linux/64bit/* to THIRDPARTY/Linux/x86_64/*. No changes were made to exported or public entities.

Changes

Cohort / File(s) Change Summary
Dockerfile Updates
Dockerfile
Updated OpenMS branch from release/3.2.0 to release/3.4.1. Replaced Qt5 development packages with Qt6 equivalents and added libqt6openglwidgets6. Changed third-party Linux binaries path from 64bit to x86_64. Modified Python package install to restrict autowrap version below 0.23. Added libgl-dev package.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

Oh, Dockerfile, you’ve grown anew,
From OpenMS 3.2 to 3.4.1, it’s true!
Qt5 waves goodbye, Qt6 takes flight,
With new paths set just right.
This bunny hops with joy and cheer,
For builds that run smooth and clear! 🐇✨

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch update_qt

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 57fccde and 4e9c40a.

📒 Files selected for processing (1)
  • Dockerfile (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: build-openms
  • GitHub Check: build-simple-app
🔇 Additional comments (1)
Dockerfile (1)

12-12: Confirm build compatibility with OpenMS 3.4 branch
Bumping OPENMS_BRANCH to release/3.4.0 is straightforward, but the build flags (Line 84) and the THIRDPARTY layout occasionally change between minor releases. Please make sure:

  1. -DPY_MEMLEAK_DISABLE=On is still accepted.
  2. Required third-party binaries for 3.4 are still present in THIRDPARTY/Linux/64bit.

If any flag or folder moved, the compile stage will fail late in the pipeline.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
Dockerfile (1)

61-61: Un-pinned NumPy / Pandas may break wheels in the future
While autowrap and cython are constrained, numpy and pandas are not. A future major release (NumPy 2.0 is imminent) is likely to break the pyOpenMS wheel build.

Consider pinning to the version used by the OpenMS conda recipe (currently 1.26.* and pandas < 3) or at least adding an upper bound.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 685d690 and 35691b7.

📒 Files selected for processing (1)
  • Dockerfile (4 hunks)
🧰 Additional context used
🪛 Hadolint (2.12.0)
Dockerfile

[error] 61-61: Ensure the shebang uses an absolute path to the interpreter.

(SC2239)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: build-openms
  • GitHub Check: build-full-app
  • GitHub Check: build-simple-app
  • GitHub Check: test (ubuntu-latest, 3.11)
🔇 Additional comments (2)
Dockerfile (2)

12-12: Confirm 3.4.1 branch really compiles with our CMake flags
Jumping two minor releases can introduce new/renamed options (e.g. OPENMS_BUILD_GUI, contributor hashes). Please make sure the cmake invocation later (Line 84) still matches what 3.4.1 expects; otherwise the build will silently drop features or fail late.


71-71: Verify new third-party path exists in every tagged release
The layout change from Linux/64bit to Linux/x86_64 works for current nightlies, but older tags occasionally miss the x86_64 directory (see 3.3.0-RC). A guarded copy or a fallback would make the build more robust.

libboost-math1.74-dev \
libboost-random1.74-dev
RUN apt-get install -y --no-install-recommends --no-install-suggests qtbase5-dev libqt5svg5-dev libqt5opengl5-dev
RUN apt-get install -y --no-install-recommends --no-install-suggests qt6-base-dev libqt6svg6-dev libqt6opengl6-dev libqt6openglwidgets6 libgl-dev
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue

Header package for Qt6OpenGLWidgets is missing – build will likely fail
libqt6openglwidgets6 is the runtime library; the headers live in libqt6openglwidgets6-dev.
OpenMS’ GUI parts (and several topp tools) include <QtOpenGLWidgets/...> headers, so the -dev variant is required at compile time.

-RUN apt-get install -y --no-install-recommends --no-install-suggests qt6-base-dev libqt6svg6-dev libqt6opengl6-dev libqt6openglwidgets6 libgl-dev
+RUN apt-get install -y --no-install-recommends --no-install-suggests \
+    qt6-base-dev \
+    libqt6svg6-dev \
+    libqt6opengl6-dev \
+    libqt6openglwidgets6-dev \
+    libgl-dev
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
RUN apt-get install -y --no-install-recommends --no-install-suggests qt6-base-dev libqt6svg6-dev libqt6opengl6-dev libqt6openglwidgets6 libgl-dev
RUN apt-get install -y --no-install-recommends --no-install-suggests \
qt6-base-dev \
libqt6svg6-dev \
libqt6opengl6-dev \
libqt6openglwidgets6-dev \
libgl-dev
🤖 Prompt for AI Agents
In Dockerfile at line 34, the package list includes the runtime library
libqt6openglwidgets6 but is missing the corresponding development headers
package libqt6openglwidgets6-dev. Replace libqt6openglwidgets6 with
libqt6openglwidgets6-dev to ensure the Qt6OpenGLWidgets header files are
available for compilation, preventing build failures related to missing headers.

@t0mdavid-m t0mdavid-m requested a review from Arslan-Siraj July 31, 2025 15:13
@t0mdavid-m t0mdavid-m merged commit 3c76e97 into main Aug 1, 2025
7 checks passed
@coderabbitai coderabbitai bot mentioned this pull request Dec 17, 2025
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