← Back to Pull requests

Make rmw_send_response take a const response #267

Merged
fujitatomoya merged 6 files (12 lines) on Nov 24, 2026 09:02 UTC
View on GitHub
fujitatomoya fujitatomoya commented on Nov 05, 2026 22:36 UTC
Author

Update rmw_send_response (Connext Pro and Micro entry points) and rmw_api_connextdds_send_response to take const void ros_response. RMW_Connext_Service::send_response already took a const pointer, so no behavior changes. Both the rmw_connextdds and rmw_connextdds_common copies of the sources are updated.

Companion change for ros2/rmw#437, which makes rmw_send_response take a const void ros_response. A response only needs to be read to be serialized and sent, so the pointer should be const, consistent with rmw_send_request.

Description

<!--
Please include a summary of the changes and the related issue.
Highlight any key points or areas of concern.
-->

<!--
Automatically closes linked issue when PR is merged.
Usage: Fixes #<issue number>, or Fixes (paste link of issue).

-->

Fixes # (issue)

Is this user-facing behavior change?

technically yes.

<!--
If no, just leave this section empty.
If yes, please explain how user-experience changes with this pull request.
-->

Did you use Generative AI?

Yes, Claude Fable 5

<!--
If this pull request was generated using Generative AI, please specify the tool and model used (e.g., GitHub Copilot, GPT-4.1).
If only specific parts were generated by Generative AI, please list those parts (e.g., function A, class B, etc.).
-->

Additional Information

<!--
If applicable, provide any additional context or details about the changes.
-->

Diff: 12 lines (+6 / -6) across 6 files Reviewer: skyegalaxy Review duration: 26545m
All Vouch review confidence checks passed
Residual risk 0.07 = Change Risk (0.26) × (1 − Review Confidence (0.72)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.26 · 12 lines diff across 6 files
0.26
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.56 · 2 substantive comment(s)
0.56
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
72%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.153
Real PR Conversation Timeline
7 items
skyegalaxy skyegalaxy approved these changes on Nov 05, 2026 22:55 UTC
Approved Reviewer

Approved these changes.

ahcorde ahcorde commented on Nov 05, 2026 23:01 UTC
Contributor

Pulls: ros2/rmw_implementation#313, ros2/rmw_fastrtps#968, ros2/rmw_cyclonedds#640, ros2/rmw_connextdds#267, ros2/rclcpp#3400, ros2/rcl#1358, ros2/rmw#437, ros2/rmw_zenoh#1100
Gist: https://gist.githubusercontent.com/ahcorde/eb382351f014edb273df7abce4f1b23e/raw/3db110452676e687dcc483a63a997ac8864ae6f9/ros2.repos
BUILD args: --packages-above-and-dependencies rmw_zenoh_cpp rmw rcl rclcpp rmw_connextdds rmw_cyclonedds_cpp rmw_fastrtps_cpp rmw_implementation
TEST args: --packages-above rmw_zenoh_cpp rmw rcl rclcpp rmw_connextdds rmw_cyclonedds_cpp rmw_fastrtps_cpp rmw_implementation
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/21041
Linux ![Build Status](http://ci.ros2.org/job/ci_linux/31240/)
Linux-aarch64 ![Build Status](http://ci.ros2.org/job/ci_linux-aarch64/23845/)
Linux-rhel ![Build Status](http://ci.ros2.org/job/ci_linux-rhel/11005/)
Windows ![Build Status](http://ci.ros2.org/job/ci_windows/30033/)

Rayman Rayman approved these changes on Nov 06, 2026 08:40 UTC
Approved Reviewer

Approved these changes.

fgallegosalido fgallegosalido approved these changes on Nov 06, 2026 09:08 UTC
Approved Reviewer

Approved these changes.

ahcorde ahcorde commented on Nov 23, 2026 15:02 UTC
Contributor

Pulls: ros2/rmw_implementation#313, ros2/rmw_fastrtps#968, ros2/rmw_cyclonedds#640, ros2/rmw_connextdds#267, ros2/rclcpp#3400, ros2/rcl#1358, ros2/rmw#437, ros2/rmw_zenoh#1100
Gist: https://gist.githubusercontent.com/ahcorde/ccc7052c5e2d6d7aad22271db71c5427/raw/3db110452676e687dcc483a63a997ac8864ae6f9/ros2.repos
BUILD args: --packages-above-and-dependencies rmw_zenoh_cpp rmw rcl rclcpp rmw_connextdds rmw_cyclonedds_cpp rmw_fastrtps_cpp rmw_implementation
TEST args: --packages-above rmw_zenoh_cpp rmw rcl rclcpp rmw_connextdds rmw_cyclonedds_cpp rmw_fastrtps_cpp rmw_implementation
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/21243
Linux ![Build Status](http://ci.ros2.org/job/ci_linux/31477/)
Linux-aarch64 ![Build Status](http://ci.ros2.org/job/ci_linux-aarch64/24061/)
Linux-rhel ![Build Status](http://ci.ros2.org/job/ci_linux-rhel/11260/)
Windows ![Build Status](http://ci.ros2.org/job/ci_windows/30181/)

ahcorde ahcorde approved these changes on Nov 24, 2026 09:02 UTC
Approved Reviewer

Approved these changes.

Reviewers
Assignees
fujitatomoya fujitatomoya
Labels
risk: low confidence: 72.4% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 25.7% (LOW) · Higher = larger blast radius
25.7%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 72.4% · Lower = rushed or shallow review
72.4%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 7.1% · Safe to merge
7.1%