← Back to Pull requests

fix(ci): repair the red conda dpcpp-2025 and Windows Bazel lanes on main #3964

Closed
unknown closed this pull request without merging on Oct 30, 2026 23:06 UTC
View on GitHub
unknown unknown commented on Oct 30, 2026 15:37 UTC
Author

Summary

Two workflows have been red on main since recent merges. This PR fixes both, and makes the conda lane run on PRs like the one that broke it.

| Workflow | Red since | Error on main | Fix |
|---|---|---|---|
| CI Conda Recipe, Linux(dpcpp-2025) | #3933 | x86_64-conda-linux-gnu-ld: unrecognized option '-compress' | link-based --offload-new-driver probe |
| Windows CI, WindowsBazel_MKL(AVX2)-MSVC + WindowsBazel_OpenBLAS(SVE) | #3948 | kmeans_lloyd_dense_batch_host (Exit -1073741515) = STATUS_DLL_NOT_FOUND | ship TBB DLLs with dev-mode tests |

1. build(dpc): enable --offload-new-driver only if icpx can link with it


The #3933 probe parsed an empty file (-fsyntax-only), which icpx 2025.3 accepts. When it links, though, its clang-linker-wrapper passes -compress (from --offload-compress) on to the host ld. The probe now builds a shared library with the same flags and $(linker.ld.flag), in a private TMPDIR that is deleted afterwards.

2. build(bazel): ship the TBB DLLs with dev-mode tests on Windows


The dev threading layer links TBB through import libraries. The dev branch of _test_runtime_data() was empty, so _copy_windows_runtime_files never put tbb12.dll/tbbmalloc.dll next to the test exe, and the Windows loader doesn't search runfiles. It now lists @tbb//:tbb_runtime, as release_dynamic already does.

3. ci(conda): run the recipe lanes on PRs that change makefile / dev/make/


The recipe builds with make, but its PR trigger only covered conda-recipe/
. That is why #3933 merged without the dpcpp-2025 lane ever running. Adding the paths also lets that lane check fix 1 on this PR.

Evidence

  • Probe, in conda-forge docker with an empty /dev/null source:
  • | icpx | old probe | link with --offload-compress | new probe |
    |---|---|---|---|
    | 2025.3.2 (conda lane) | yes | fails, same error as main | empty → legacy driver |
    | 2026.1.1 (LinuxMakeDPCPP lane) | yes | ok | yes |

    The probe leaves no files in /tmp.

  • Linux, bazel test --test_link_mode=dev //examples/oneapi/cpp:kmeans_lloyd_dense_batch_host: PASSED with fix 2.

  • Windows: not reproduced locally. This PR's Windows CI is the check for fix 2.
  • Merge danger

  • icpx 2025.3 Make builds go back to the legacy offload driver. They lose #3933's skipping of host-only objects at device link; icpx 2026+ is unchanged.

  • The probe now runs a small SYCL link every time make starts on Linux, wherever icpx is on PATH.

  • About 7% of PRs (those touching makefile/dev/make) will now also run the three conda lanes, up to 180 min each.

  • Follow-ups, not addressed here:

  • - release_static tests on Windows likely have the same DLL gap, but no lane runs them.
    - Collecting DLLs from dependency runfiles in _copy_windows_runtime_files would fix this whole class.

    Self-review: local pr-review, 2 passes, no blocking findings.

    🤖 Generated with Claude Code

    Diff: 374 lines (+280 / -94) across 4 files Reviewer: Alexandr-Solovev Review duration: 449m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 374 lines diff across 4 files
    0.43
    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.355
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #3964"
    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: 42.9% (MEDIUM) · Higher = larger blast radius
    42.9%
    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: 16.9% · Safe to merge
    16.9%