← Back to Pull requests

Silence MSVC C5033 from the RTI skiplist macro #262

Open
mjcarroll opened this pull request with 16 lines diff across 2 files
View on GitHub
mjcarroll mjcarroll commented on Oct 07, 2026 16:29 UTC
Author

REDASkiplist_findNode is an RTI header macro that expands to code using the register storage class. MSVC reports it as warning C5033 at the call site in both custom_sql_filter.cpp copies (rmw_connextdds and rmw_connextdds_common), and it shows up in the MSBuild warnings of nightly_win_rel.

Suppress it with a scoped #pragma warning around the call.

Diff: 16 lines (+16 / -0) across 2 files Reviewer: fgallegosalido Review duration: 1998m
All Vouch review confidence checks passed
Residual risk 0.06 = Change Risk (0.21) × (1 − Review Confidence (0.72)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.21 · 16 lines diff across 2 files
0.21
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.55 · 3 substantive comment(s)
0.55
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
71%
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.170
Real PR Conversation Timeline
6 items
fgallegosalido fgallegosalido commented on Oct 08, 2026 09:02 UTC
Contributor

Thank you for the work! This should fix https://github.com/ros2/rmw_connextdds/issues/242. Also, I would like to review this on the future, as it is not straightforward to get rid of the use of the macro.

fgallegosalido fgallegosalido approved these changes on Oct 08, 2026 11:54 UTC
Approved Reviewer

Approved these changes.

ahcorde ahcorde approved these changes on Oct 08, 2026 13:02 UTC
Approved Reviewer

Approved these changes.

ahcorde ahcorde commented on Oct 08, 2026 13:02 UTC
Contributor

Pulls: ros2/rmw_connextdds#262
Gist: https://gist.githubusercontent.com/ahcorde/b9d337a3710a1e207382f7510aefc81a/raw/4a5f5829119329f848efc98dd4801aef597d02ca/ros2.repos
BUILD args: --packages-above-and-dependencies rmw_connextdds rmw_connextdds_common
TEST args: --packages-above rmw_connextdds rmw_connextdds_common
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/20712
Linux ![Build Status](http://ci.ros2.org/job/ci_linux/30882/)
Linux-aarch64 ![Build Status](http://ci.ros2.org/job/ci_linux-aarch64/23483/)
Linux-rhel ![Build Status](http://ci.ros2.org/job/ci_linux-rhel/10654/)
Windows ![Build Status](http://ci.ros2.org/job/ci_windows/29750/)

fgallegosalido fgallegosalido commented on Oct 08, 2026 15:37 UTC
Contributor

@ahcorde I don't think a full CI is needed here, but let's go for it this time. Also, is there any way I could launch CI builds myself? That would hopefully speed up the review process.

Assignees
mjcarroll mjcarroll
Labels
risk: low confidence: 71.9% 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: 21.4% (LOW) · Higher = larger blast radius
21.4%
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: 71.9% · Lower = rushed or shallow review
71.9%
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: 6% · Safe to merge
6%