Retrieve `HistoryQoS` in discovery when available (jazzy backport #829)
Description
This PR adds the HistoryQoS to the entities discovery callback when available. Related tests PRs
- https://github.com/ros2/rcl/pull/1242
- https://github.com/ros2/ros2cli/pull/1040
Fixes https://github.com/ros2/rmw_fastrtps/issues/684
Is this user-facing behavior change?
No
Did you use Generative AI?
No
Additional Information
Should be backported only to Kilted
This is an automatic backport of pull request #829 done by Mergify.
Cherry-pick of e78f3f43ed8d61fe2f101174b5d0852cc28e8bcc has failed:
On branch mergify/bp/jazzy/pr-829
Your branch is up to date with 'origin/jazzy'.
You are currently cherry-picking commit e78f3f4.
(fix conflicts and run "git cherry-pick --continue")
(use "git cherry-pick --skip" to skip this patch)
(use "git cherry-pick --abort" to cancel the cherry-pick operation)
Unmerged paths:
(use "git add <file>..." to mark resolution)
both modified: rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/qos.hpp
no changes added to commit (use "git add" and/or "git commit -a")
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally
Pulls: ros2/rmw_fastrtps#846 Gist: https://gist.githubusercontent.com/ahcorde/63206f72428688d2872528a4fb6850fa/raw/2660287d3043b64fcca1512f59f5b39bd35d5c9c/ros2.repos BUILD args: --packages-above-and-dependencies rmw_fastrtps_shared_cpp TEST args: --packages-above rmw_fastrtps_shared_cpp ROS Distro: jazzy Job: ci_launcher ci_launcher ran: https://ci.ros2.org/job/ci_launcher/17540