Skip to content

resolute: explicit <rclcpp/executors.hpp> include in servo_ros_fixture - #3787

Open
nbbrooks wants to merge 1 commit into
moveit:mainfrom
nbbrooks:nbbrooks/servo-fixture-executors-include
Open

resolute: explicit <rclcpp/executors.hpp> include in servo_ros_fixture#3787
nbbrooks wants to merge 1 commit into
moveit:mainfrom
nbbrooks:nbbrooks/servo-fixture-executors-include

Conversation

@nbbrooks

Copy link
Copy Markdown
Collaborator

Why

On rolling-resolute, rclcpp/rclcpp.hpp no longer transitively pulls <rclcpp/executors.hpp>. Test uses rclcpp::executors::SingleThreadedExecutor and fails to compile without the explicit include. On humble/jazzy/kilted the transitive still works, so this is additive-only — safe on all distros.

Checklist

  • Required by CI: Code is auto formatted using clang-format
  • Extend the tutorials / documentation reference
  • Document API changes relevant to the user in the MIGRATION.md notes
  • Create tests, which fail without this PR reference
  • Include a screenshot if changing a GUI
  • While waiting for someone to review your request, please help review another open pull request to support the maintainers

@codecov

codecov Bot commented Jul 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.25%. Comparing base (4a766fd) to head (773ca31).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3787      +/-   ##
==========================================
+ Coverage   46.23%   46.25%   +0.02%     
==========================================
  Files         726      726              
  Lines       59512    59511       -1     
  Branches     7622     7623       +1     
==========================================
+ Hits        27509    27519      +10     
+ Misses      31836    31826      -10     
+ Partials      167      166       -1     

☔ 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.

…s_fixture

On ROS Rolling, rclcpp/rclcpp.hpp no longer transitively includes
executors.hpp. servo_ros_fixture uses SingleThreadedExecutor directly,
so add the explicit include. No-op on older distros where the transitive
include still fires.
@nbbrooks
nbbrooks force-pushed the nbbrooks/servo-fixture-executors-include branch from 773ca31 to 27a8122 Compare July 26, 2026 05:10
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.

1 participant