Skip to content

Fix exported include path in moveit_setup_assistant - #3844

Merged
rhaschke merged 1 commit into
moveit:mainfrom
yurekami:fix-3134-msa-exported-include-dir
Sep 1, 2026
Merged

rhaschke merged 1 commit into
moveit:mainfrom
yurekami:fix-3134-msa-exported-include-dir

Conversation

@yurekami

@yurekami yurekami commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

moveit_setup_assistant installs and advertises its headers under the unique path include/moveit_setup_assistant, but it still exported the generic include root through ament.

This aligns ament_export_include_directories with the package's existing INSTALL_INTERFACE and install destination. It also matches the convention already used by the sibling setup-assistant packages.

Partial follow-up to #3134.

Verification

  • git diff --check
  • package-local consistency check across INSTALL_INTERFACE, install(... INCLUDES DESTINATION ...), and ament_export_include_directories

A local colcon build was not available in this Windows environment; the MoveIt CI build remains the compile/install verification gate.

Summary by CodeRabbit

  • Bug Fixes
    • Corrected the exported header include path so downstream builds can locate MoveIt Setup Assistant headers reliably.

moveit_setup_assistant already installs its headers under
include/moveit_setup_assistant, but its exported include directory still
advertised the generic include root. That weakens the header isolation
expected by the Humble+ overlay guidance tracked in moveit#3134.

This narrows the package export to the same unique include path used by the
install rules and install interface.

Constraint: Keep the change scoped to one leftover package under the header install audit
Rejected: Add a source-text regression test | brittle and does not validate generated install behavior
Confidence: medium
Scope-risk: narrow
Directive: Do not revert the exported include path to plain include without re-checking overlay behavior for installed consumers
Tested: git diff --check; package-local static consistency inspection of install and exported include paths
Not-tested: colcon configure/build/test because colcon and ROS dependencies are not installed in this Windows environment
@coderabbitai

coderabbitai Bot commented Sep 1, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: 8f84602e-74ea-4ede-8ede-cac99d65063d

📥 Commits

Reviewing files that changed from the base of the PR and between 3bbcd3a and 184463c.

📒 Files selected for processing (1)
  • moveit_setup_assistant/moveit_setup_assistant/CMakeLists.txt

Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review.


📝 Walkthrough

Walkthrough

The CMake configuration now exports include/moveit_setup_assistant, matching the installed header directory.

Changes

Include directory export

Layer / File(s) Summary
Update exported include directory
moveit_setup_assistant/moveit_setup_assistant/CMakeLists.txt
ament_export_include_directories now exports include/moveit_setup_assistant instead of include.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 18446

This localized build configuration change aligns the advertised header path with the installed headers; no actionable merge-blocking risk remains after normal checks and review.

Suggested reviewers: nbbrooks

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: correcting the exported include path in moveit_setup_assistant.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@codecov

codecov Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.74%. Comparing base (3bbcd3a) to head (184463c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3844      +/-   ##
==========================================
- Coverage   48.82%   48.74%   -0.08%     
==========================================
  Files         730      730              
  Lines       62497    62497              
  Branches     7609     7609              
==========================================
- Hits        30507    30456      -51     
- Misses      31990    32041      +51     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mergify

mergify Bot commented Sep 1, 2026 •

Copy link
Copy Markdown

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

@rhaschke
rhaschke merged commit 92f2383 into moveit:main Sep 1, 2026
10 of 11 checks passed
@github-project-automation github-project-automation Bot moved this to ✅ Done in MoveIt Sep 1, 2026
@130s 130s added the backport-jazzy Mergify label that triggers a PR backport to Jazzy label Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-jazzy Mergify label that triggers a PR backport to Jazzy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants