← Back to Pull requests

Unvendor re2, abseil, protobuf, safeint, and CoreML, but not onnx #215

Closed
unknown closed this pull request without merging on Oct 15, 2026 19:25 UTC
View on GitHub
unknown unknown commented on Oct 12, 2026 18:01 UTC
Author

This is a KISS attempt to unvendor re2, abseil, and protobuf, but to keep the vendored onnx. The reason is that the latter is not trivial to update for an existing onnxruntime release. Upstream onnxruntime only gains official support for a new onnx version with a new minor release, which often requires significant refactoring and may lag behind an onnx release by more than a month.

The enabling idea for the approach of this PR is that by using protobuf-lite we seem to be able to avoid the global-pool issues that we ran into earlier with protobuf-full. This is centered on the belief that the reflection and description features, which are disabled in lite, are what necessitate the shared registry in the first place. The protobuf docs are not very clear about it, but maybe somebody else can read more out of it here and here (no anchors in either, but Ctrl-F for "lite").

While building for protobuf-lite, this PR still links to the regular protobuf (patch 0013), but I'm not sure if this is really necessary.

In a nutshell, if we go forward with the approach of this PR, it would mean that:

  • We use the regular globally pinned protobuf, abseil, and re2 and will follow their migrations

  • We let onnxruntime continue to vendor its own statically linked onnx along with the behavior-changing patches that upstream sees fit.
  • NOTE: The build matrix is constrained to a single Python version for now.

    <!--
    Thank you for your pull request.
    Below are a few things we ask you kindly to self-check before getting a review. Remove checks that are not relevant.
    -->
    Checklist
    [x] Used a personal fork of the feedstock to propose changes
    [x] Bumped the build number (if the version is unchanged)
    [ ] Reset the build number to 0 (if the version changed)
    [x] [Re-rendered]( https://conda-forge.org/docs/maintainer/updating_pkgs.html#rerendering-feedstocks ) with the latest conda-smithy (Use the phrase <code>@<space/>conda-forge-admin, please rerender</code> in a comment in this PR for automated rerendering)

  • Ensured the license file is being packaged.
  • <!--
    Please note any issues this fixes using [closing keywords]( https://help.github.com/articles/closing-issues-using-keywords/ ):
    -->

    <!--
    Please add any other relevant info below:
    -->

    Diff: 311 lines (+233 / -78) across 3 files Reviewer: traversaro Review duration: 4403m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 311 lines diff across 3 files
    0.40
    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%
    60%
    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.344
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #215"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 40.3% (MEDIUM) · Higher = larger blast radius
    40.3%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 15.9% · Safe to merge
    15.9%