← Back to Pull requests

ci: reduce Intel macOS wheel builds on ordinary PRs #22366

Open
unknown opened this pull request with 273 lines diff across 3 files
View on GitHub
unknown unknown commented on Dec 03, 2026 18:39 UTC
Author

Description

macOS queues can hold up packaging because it waits for both wheel jobs. In the pilot, the single CPython 3.12 job used 4m 39s of runner time. The median for 13 recent successful full-matrix PR runs was 31m 19s of combined Intel runner time. Packaging completed 5m 13s earlier than that group's median. The comparisons use historical pipelines, with different queue conditions.

Run the pilot's single CPython 3.12 build on ordinary PR branch pipelines. The package check still requires that wheel, the source distribution, and the complete matrix for other platforms. Keep both jobs on main, protected and release refs, merge queues, nightlies, and PRs that change native code or build configuration. The path check compares with the merge base on main so it covers earlier changes on the branch.

Customer impact

None. Release wheel coverage stays complete.

Testing

  • The pilot passed in GitLab with the single Intel job and package upload.

  • Exercised the rollout's GitLab include and job overrides locally with ordinary PRs, native and build changes, merge queues, releases, nightlies, and explicit full runs.

  • Exercised the package check with full, reduced, and serverless wheel sets. Missing required Intel and other-platform wheels and a missing source distribution fail validation.

  • Repository lint and test provisioning were blocked by dependency downloads in the local environment. This PR's CI exercises the full matrix because it changes CI configuration.
  • Risks

    The reduced run publishes the combined wheel index by pipeline ID. Add ci:macos-intel-full to the latest commit message to get the full matrix and the commit SHA index. Private pre-release publishing, profiling benchmarks and checks, and reliability deployment require a full run.

    Additional Notes

    After rollout, measure Intel queue time, time through packaging, and PR CI P90. APMLP-1998.

    [APMLP-1998]: https://datadoghq.atlassian.net/browse/APMLP-1998?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

    Diff: 273 lines (+204 / -69) across 3 files Reviewer: juanjux Review duration: 2654m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.40) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 273 lines diff across 3 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.336
    Real PR Conversation Timeline
    1 comments
    "Review active on #22366"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% 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: 39.5% (MEDIUM) · Higher = larger blast radius
    39.5%
    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: 46.7% · Lower = rushed or shallow review
    46.7%
    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: 21.1% · Safe to merge
    21.1%