Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Add LCG 107a builds #4091

Merged
merged 7 commits into from
Feb 18, 2025
Merged

Conversation

paulgessinger
Copy link
Member

@paulgessinger paulgessinger commented Feb 14, 2025

--- END COMMIT MESSAGE ---

Any further description goes here, @-mentions are ok here!

  • Use a conventional commits prefix: quick summary
    • We mostly use feat, fix, refactor, docs, chore and build types.
  • A milestone will be assigned by one of the maintainers

Summary by CodeRabbit

  • Chores
    • Enhanced the continuous integration pipeline with a new job configuration for broader testing scenarios.
    • Added a new preset for improved build configurations, including updated cache variables for better management.
    • Updated the method of accessing vector elements for improved safety and robustness.
    • Modified include statements in unit tests to align with updated Boost library practices.

@paulgessinger paulgessinger added this to the next milestone Feb 14, 2025
Copy link

coderabbitai bot commented Feb 14, 2025

Walkthrough

A new job lcg_107 added to the GitLab CI pipeline, it has been. Extends the base job .lcg_base_job, it does, with LCG_VERSION set to "107". A parallel matrix for OS "alma9" and compilers gcc13, gcc14, and clang19 defined has been. Existing functionality untouched remains, while enhanced testing capabilities are provided, yes.

Changes

File Change Summary
.gitlab-ci.yml Added job lcg_107 extending .lcg_base_job with LCG_VERSION: "107" and a parallel matrix for OS alma9 and compilers gcc13, gcc14, clang19.
CMakePresets.json Added preset gitlab-ci-lcg with displayName: "GitLab-CI LCG". Modified gitlab-ci-clangtidy preset's displayName from "GitLab-CI" to "GitLab-CI clang-tidy" and adjusted cache variables.
Plugins/Json/src/DetrayJsonHelper.cpp Changed access method for bValues vector from [] to at(), updated initialization of boundaries vector with std::vector{}.
Tests/UnitTests/Core/MagneticField/MultiRangeBFieldTests.cpp Modified include statement for Boost library from floating_point_comparison.hpp to tools/floating_point_comparison.hpp.

Sequence Diagram(s)

sequenceDiagram
    participant P as Pipeline
    participant R as CI Runner
    participant J as Job lcg_107
    P->>R: Trigger pipeline execution
    R->>J: Initialize job from .lcg_base_job
    J->>J: Execute parallel matrix (alma9 with gcc13, gcc14, clang19)
    J->>P: Return job results
Loading

Possibly related PRs

  • ci: Reenable some ExaTrkX tests #3395: The changes in the main PR, which add a new job configuration in the .gitlab-ci.yml file, are related to the modifications in the retrieved PR that also involve changes to the .gitlab-ci.yml file, specifically adding and updating test jobs.
  • ci: Use CERN registry cache in GitLab CI - round 2 #4023: The changes in the main PR introduce a new job in the GitLab CI configuration, while the retrieved PR modifies existing job image references in the same .gitlab-ci.yml file, indicating that both PRs are related through their modifications to the CI pipeline configuration.
  • ci: Add LCG 106a job #3918: The changes in the main PR, which add a new job lcg_107 to the GitLab CI pipeline, are related to the retrieved PR that adds a job lcg_106a in the same pipeline, as both modifications involve extending the .lcg_base_job with new job configurations.

Suggested reviewers

  • paulgessinger
  • AJPfleger

Poem

A new job in the pipeline, it shines so bright,
LCG "107" it is, a beacon in the night.
OS and compilers dance in a matrix of might,
Code and tests align, as the Force takes flight.
In our CI galaxy, success we ignite!


📜 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 480436a and 6136e97.

📒 Files selected for processing (2)
  • .gitlab-ci.yml (2 hunks)
  • CMakePresets.json (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • CMakePresets.json
  • .gitlab-ci.yml
⏰ Context from checks skipped due to timeout of 90000ms (5)
  • GitHub Check: merge-sentinel
  • GitHub Check: unused_files
  • GitHub Check: lint
  • GitHub Check: macos
  • GitHub Check: build_debug

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ 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.
    • Generate unit testing code for this file.
    • 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 generate unit testing code for this file.
    • @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 generate unit testing code.
    • @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.

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. (Beta)
  • @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 e4606c6 and 773ed18.

📒 Files selected for processing (1)
  • .gitlab-ci.yml (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (8)
  • GitHub Check: merge-sentinel
  • GitHub Check: unused_files
  • GitHub Check: missing_includes
  • GitHub Check: linux_ubuntu_extra (ubuntu2204, 20, clang++)
  • GitHub Check: linux_ubuntu_extra (ubuntu2204, 20, g++)
  • GitHub Check: linux_ubuntu
  • GitHub Check: macos
  • GitHub Check: build_debug
🔇 Additional comments (1)
.gitlab-ci.yml (1)

509-513: Notice a pattern in compiler progression, I do!

Wise choice of compilers, this is. Upgraded from LCG 106a's gcc13, gcc14, clang16 to gcc13, gcc14, clang19 in LCG 107, maintaining compatibility while embracing newer tools.

Copy link

github-actions bot commented Feb 14, 2025

📊: Physics performance monitoring for 6136e97

Full contents

physmon summary

@paulgessinger paulgessinger changed the title ci: Add LCG 107 builds ci: Add LCG 107a builds Feb 17, 2025
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: 0

🧹 Nitpick comments (1)
CMakePresets.json (1)

105-112: New Preset "gitlab-ci-lcg" Added, It Has Been!
A new preset for LCG builds, you introduce. Useful for configuring LCG version builds, it is indeed. However, check the indentations on line 110 carefully, you must. Consistency in formatting, important it is for readability and maintenance. Consider aligning the indent with its sibling properties for better clarity, you should.

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 773ed18 and 17e8217.

📒 Files selected for processing (2)
  • .gitlab-ci.yml (2 hunks)
  • CMakePresets.json (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • .gitlab-ci.yml
⏰ Context from checks skipped due to timeout of 90000ms (13)
  • GitHub Check: merge-sentinel
  • GitHub Check: CI Bridge / lcg_106a: [alma9, gcc14]
  • GitHub Check: CI Bridge / lcg_106a: [alma9, gcc13]
  • GitHub Check: CI Bridge / lcg_105: [alma9, clang16]
  • GitHub Check: CI Bridge / lcg_105: [alma9, gcc13]
  • GitHub Check: CI Bridge / linux_ubuntu_2204_clang
  • GitHub Check: CI Bridge / linux_ubuntu_2204
  • GitHub Check: CI Bridge / build_linux_ubuntu
  • GitHub Check: CI Bridge / build_exatrkx_cpu
  • GitHub Check: CI Bridge / build_exatrkx
  • GitHub Check: CI Bridge / build_exatrkx_cpu
  • GitHub Check: CI Bridge / clang_tidy
  • GitHub Check: macos
🔇 Additional comments (1)
CMakePresets.json (1)

96-104: Refined Display Name for clang-tidy Preset, It Is!
A clear change you made, updating the display name to "GitLab-CI clang-tidy". Improved clarity for team members this brings. Approved, it is.

@github-actions github-actions bot added Component - Core Affects the Core module Component - Plugins Affects one or more Plugins labels Feb 17, 2025
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)
Plugins/Json/src/DetrayJsonHelper.cpp (1)

9-14: Track this temporary workaround, we must.

Hmmmm, a temporary solution for GCC 13, this is. Create an issue to track and revisit this workaround in the future, we should. When resolved upstream, this bypass must be removed.

Help you create a tracking issue for this GCC 13 workaround, shall I?

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between dfc9655 and 480436a.

📒 Files selected for processing (4)
  • .gitlab-ci.yml (2 hunks)
  • CMakePresets.json (1 hunks)
  • Plugins/Json/src/DetrayJsonHelper.cpp (2 hunks)
  • Tests/UnitTests/Core/MagneticField/MultiRangeBFieldTests.cpp (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • Tests/UnitTests/Core/MagneticField/MultiRangeBFieldTests.cpp
🚧 Files skipped from review as they are similar to previous changes (2)
  • .gitlab-ci.yml
  • CMakePresets.json
⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: merge-sentinel
  • GitHub Check: linux_ubuntu
  • GitHub Check: macos
🔇 Additional comments (1)
Plugins/Json/src/DetrayJsonHelper.cpp (1)

22-24: Approve these changes, I do. Safer bounds checking, they bring.

Wise changes these are, using .at() for vector access and std::vector{} for initialization. Protection against the dark side of buffer overflows, they provide.

Also applies to: 29-29, 40-41, 44-45, 50-51

@kodiakhq kodiakhq bot merged commit 12508b1 into acts-project:main Feb 18, 2025
46 checks passed
@acts-project-service acts-project-service added the Fails Athena tests This PR causes a failure in the Athena tests label Feb 18, 2025
@paulgessinger paulgessinger modified the milestones: next, v39.2.0 Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Core Affects the Core module Component - Plugins Affects one or more Plugins Fails Athena tests This PR causes a failure in the Athena tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants