← Back to Pull requests

Update Fast CDR to 2.4.0 and migrate to recipe v1 #25

Closed
unknown closed this pull request without merging on Nov 25, 2026 13:13 UTC
View on GitHub
unknown unknown commented on Nov 01, 2026 17:41 UTC
Author

Summary

Update Fast CDR 1.1.1 → 2.4.0 and migrate to recipe v1 / rattler-build. Conversion, version update, and rerender are separate commits.

  • Use the current upstream release, including its sequence-length checks and boolean-vector serialization fix.

  • Preserve the existing Linux, Intel macOS and Windows build matrix and the existing minor-version run-export policy.

  • Use package-content tests for the library and installed headers.

  • Build and run upstream CDR/XCDR tests using conda-forge GTest; no downloaded/vendored test dependency and no GTest runtime dependency.

  • Fix the upstream CMake standard-enforcement test to recognize compiler warnings on stdout (Ninja's behavior). Keep all tests enabled; set up the nested generator and Windows DLL search path correctly.

  • Add an installed CMake consumer test covering scalar/string/vector round trips and rejection of a truncated input buffer.

  • Keep upstream's default STRICT_BOOL=OFF rather than silently enabling its new opt-in behavior.

  • This advances beyond the older open 2.0/2.1 update PRs; those are left open for maintainer coordination.
  • Compatibility

    This is an ABI/API major-version update, not a drop-in replacement for Fast CDR 1.x. The existing minor-version run exports are retained, so newly linked consumers require the 2.4 series.

    Fast DDS #18 deliberately remains on Fast DDS 2.6.12 with fast-cdr >=1.0.24,<2. This PR does not change that constraint or force existing consumers onto the new ABI. Publishing Fast CDR 2.x will enable a separate update of Fast DDS to a compatible 3.x release and downstream rebuilds.

    Validation

  • Upstream source SHA256 verified; conda-smithy lint passes.

  • All three CI platforms pass: linux-64, osx-64 and win-64, including upstream and installed consumer tests.

  • Native macOS ARM build and installed consumer test passed locally. All 2,119 upstream tests also pass locally with the final CMake test patch.

  • No production DDS interoperability testing or comprehensive ABI audit performed.
  • Draft for maintainer review; nothing merged or published.

    Diff: 268 lines (+201 / -67) across 3 files Reviewer: MiguelCompany Review duration: 34291m
    All Vouch review confidence checks passed
    Residual risk 0.26 = Change Risk (0.63) × (1 − Review Confidence (0.58)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.63 · 268 lines diff across 3 files
    0.63
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    57%
    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.335
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.063
    Real PR Conversation Timeline
    1 comments
    "Review active on #25"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 58.0% reviewed sensitive_module
    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: 62.6% (MEDIUM) · Higher = larger blast radius
    62.6%
    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: 58.0% · Lower = rushed or shallow review
    58.0%
    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: 26.3% · Safe to merge
    26.3%