← Back to Pull requests

Preserve platform-specific Bazel target IDs #3357

Closed
unknown closed this pull request without merging on Oct 07, 2026 19:44 UTC
View on GitHub
unknown unknown commented on Sep 23, 2026 19:03 UTC
Author

Why

A shared generated target must retain the Bazel target ID for the selected platform variant.

Scope

Preserve platform-specific target IDs and cover the generated configuration settings.

Dependency and landing boundary

Based directly on main; no other Preview PR is required for this change.

Validation

Validated head 6fbc7854a1c5b8e1d39c10f73181a3213997e9b5 against base 3830ccc54835edc705df99d91af647c026b08835 on macOS 26.7, Xcode 27.0 (27A266a), Bazel 9.2.0.

  • Root tests plus generated documentation: 99/99 passed (1 executed, 98 cached).

  • Repository Buildifier and whitespace checks passed.
  • DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer USE_BAZEL_VERSION=9.2.0 bazel --bazelrc=bazel_9.bazelrc --nosystem_rc --nohome_rc test --jobs=4 --test_summary=terse //... //docs:diff_test
    DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer USE_BAZEL_VERSION=9.2.0 bazel --bazelrc=bazel_9.bazelrc --nosystem_rc --nohome_rc run //:buildifier.check
    

    Testing and limitations

    Regression tests accompany the changed behavior. Rerun the commands above on the stated base. These results validate this exact split, not arbitrary cherry-picks or a fresh Xcode Canvas render. Hosted CI is pending at publication. This PR alone is not a claim of complete native Preview support; end-to-end Canvas validation belongs to the assembled activation branch.

    Diff: 174 lines (+130 / -44) across 2 files Reviewer: thiagohmcruz Review duration: 20201m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.35) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.35 · 174 lines diff across 2 files
    0.35
    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.309
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #3357"
    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: 35.4% (MEDIUM) · Higher = larger blast radius
    35.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: 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: 14.0% · Safe to merge
    14.0%