← Back to Pull requests

ci(bazel): Linux clang job and Windows DPC++ pca run #4038

Closed
unknown closed this pull request without merging on Nov 20, 2026 08:06 UTC
View on GitHub
unknown unknown commented on Nov 17, 2026 22:50 UTC
Author

Summary

ci.yml
  LinuxBazelClang (ubuntu-26.04, new)
    clang-18 from Ubuntu archive, CC=clang CXX=clang++
    bazel build //:release --release_dpc=false --cpu=avx2
    bazel test --config=host --cpu=avx2 //cpp/oneapi/dal/algo/pca:tests

nightly-test.yml  bazel_win
  + download opencl_rt_installer (from Nightly-build)
  + msiexec /i opencl_rt.msi /qn /norestart
  + sycl-ls must list opencl:cpu
  + bazel test --config=dpc --device=cpu //cpp/oneapi/dal/algo/pca:tests

dev/bazel/flags.bzl
  clang: skip -fno-strict-overflow (-fwrapv already covers it); main (#4041) already
  does this, so after the sync this PR has no flags.bzl change

dev/bazel/TODO.md, README.md   compiler matrix and Windows DPC++ status

Why the flag change (already in main via #4041): clang 18 rejects -fno-strict-overflow under -Werror
(-Wunused-command-line-argument). A probe with and without the flag gives
identical cc1 arguments, so clang's behaviour does not change.

Evidence

  • Before: local clang release build fails:

  • clang: error: argument unused during compilation: '-fno-strict-overflow' [-Werror,-Wunused-command-line-argument]
    After: bazel build //:release --release_dpc=false --cpu=avx2 exits 0 with clang 18;
    bazel test --config=host --cpu=avx2 //cpp/oneapi/dal/algo/pca:tests passes 8/8 locally.
  • Probe (clang -### -c -fwrapv ...): cc1 arguments identical with and without -fno-strict-overflow.

  • CI: LinuxBazelClang (ubuntu-26.04) passes (run 44567213035).

  • CI: the Windows DPC++ pca step fails at link time (run 44460598549). The runtime install and the sycl-ls

  • opencl:cpu check in that run succeed. This is a known Windows DPC++ link issue, tracked in
    dev/bazel/TODO.md; the pca tests do not run there yet.
  • Carries the Windows DPC++ link findings from #4038's sibling #4042 (closed).
  • Merge Danger

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

    The Windows step runs only on the nightly nightly-test.yml path. It currently fails at link time
    (run 44460598549); see dev/bazel/TODO.md.
    A DPC++ failure on Windows is reported under the existing "Nightly-test / oneDAL Windows Bazel test" check.

    Blast Radius: CI only. The flags.bzl change (from #4041 on main) applies only when compiler_id == "clang";
    GCC and icx/icpx builds are unchanged. A new PR-triggered job adds roughly 120 minutes of
    runner time at most per PR push.

    🤖 Generated with Claude Code

    Diff: 312 lines (+234 / -78) across 3 files Reviewer: Alexandr-Solovev Review duration: 3436m
    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 · 312 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 #4038"
    general weight: 0.35
    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%