← Back to Pull requests

ci(bazel): clang release check in the clang leg, not a new job #4049

Open
unknown opened this pull request with 466 lines diff across 5 files
View on GitHub
unknown unknown commented on Nov 20, 2026 08:29 UTC
Author

Follow-up to #4038.

Note: nightly-test.yml is workflow_run-triggered, so the PR checks do not exercise its changes (the clang release and the removed Windows step). Those run on the next nightly.

Summary

ci.yml
  LinuxBazelClang                       removed
  LinuxBazelNoOneAPI (clang leg)
    + Check whether the PR touches Bazel files   (PR only: dev/bazel/**, BUILD, *.bzl, .bazelrc, MODULE.bazel)
    + CC=clang CXX=clang++ bazel build --nobuild //:release
      (runs on pushes to main always)

nightly-test.yml  bazel_lnx
  + full host-only clang release: CC=clang bazel build //:release --release_dpc=false --cpu=avx2
  timeout 120 -> 180 min
  - Windows DPC++ pca step and OpenCL CPU runtime install (link fails, run 44460598549;
    returns with continue-on-error after the .res/IMPLIB fix, see dev/bazel/TODO.md)

dev/bazel/README.md, dev/bazel/TODO.md   Linux clang and Windows DPC++ status

nightly-build.yml keeps the opencl_rt_installer upload: .github/AGENTS.md lists it, and scikit-learn-intelex
downloads it (.github/workflows/ci.yml, "Download Intel OpenCL CPU Runtime artifact").

Evidence

  • Before: origin/main (0bb725954, #4038): the LinuxBazelClang job and the Windows pca step with the OpenCL install.

  • After: git diff origin/main touches 4 files, +55 / -87.
  • Both workflows parse as YAML; git diff --check is clean.

  • Gate probe: git diff --name-only quotes non-ASCII paths, so dev/bazel/ü.bzl gave no clang analysis;

  • with core.quotePath=false it matches (fixed in this PR).
  • Not run: Bazel is not installed in the working environment, and the nightly changes cannot run on a PR.
  • Merge Danger

    Door: two-way (CI workflow edits and docs; revert restores the #4038 state)

    Known gaps, deliberate: the per-PR clang check is analysis-only (--nobuild), so compile errors in release-only
    sources surface in the nightly build, not on the PR. The path filter does not list .bazelversion or
    .ci/env/bazelisk.sh.

    Blast Radius: CI only. On PRs that touch Bazel files, one bazel build --nobuild runs in the clang leg;
    the nightly clang release adds up to 60 minutes to the job timeout.

    Self-review

    Local self-review (pr-review, local mode, 2 passes, fresh-context claude -p children): 0 blocking.
    Fixed: the non-ASCII path quoting and a comment that overstated the clang-leg coverage.
    Declined as nit or question: the rename edge case (git diff --no-renames would close it), the path filter
    gaps above, and the comment on what --nobuild catches.

    Checklist

    Completeness and readability

  • I have commented my code, particularly in hard-to-understand areas.

  • I have updated the documentation to reflect the changes or created a separate PR with updates and provided its number in the description, if necessary.

  • Git commit message contains an appropriate signed-off-by string.

  • I have resolved any merge conflicts that might occur with the base branch.
  • Testing

  • n/a: I have run it locally and tested the changes extensively. CI-workflow YAML cannot run locally here; checked by static parse and the probes above, and by this PR's CI.

  • All CI jobs are green or I have provided justification why they aren't.

  • n/a: I have extended testing suite if new functionality was introduced in this PR. No new functionality, only CI configuration and docs.
  • Performance

  • n/a: no algorithm or runtime code changes; CI configuration and docs only.

  • n/a: no performance change is expected; the only cost is CI runner time, stated under Merge Danger.

  • n/a: no benchmark change; this PR touches no measurable functionality.
  • 🤖 Generated with Claude Code

    Diff: 466 lines (+349 / -117) across 5 files Reviewer: Alexandr-Solovev Review duration: 16873m
    All Vouch review confidence checks passed
    Residual risk 0.24 = Change Risk (0.46) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.46 · 466 lines diff across 5 files
    0.46
    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
    Diff Size diff_size
    0.368
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #4049"
    general weight: 0.35
    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: 45.6% (MEDIUM) · Higher = larger blast radius
    45.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: 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: 24.3% · Safe to merge
    24.3%