ci(windows): drop the dangling toolkit links before Cache@2 saves the oneAPI install #4077
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.37) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 235 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.327
Real PR Conversation Timeline
1 comments
"Review active on #4077"
general
weight: 0.35
napetrov
Description
Since #4031, every Azure Windows job (
WindowsBazel,WindowsMakeVC,WindowsSklearnex) endssucceededWithIssues, so every main build ispartiallySucceeded, and theWindowsBazeldisk cache has not been saved since #4031 merged.Cause. The oneAPI installer creates links under
toolkit_linking_tool\.envs\2026.2\oneapi-toolkit\for components we do not install (dnnl,ipp,ippcp,libfabric,mpi,vtune), so they dangle. WhenCache@2restores the cached toolkit, 7-Zip rejects them (Dangerous link path was ignored, 6 sub-item errors) and exits with 2. The step hascontinueOnError: true, so the job is marked succeeded with issues. In that state thePost-job: bazel-cachestep does nothing: its log is empty, while in a run before #4031 (build 66590) it logs the full save. EveryWindowsBazelrun since restores the entry saved at 93dd64eb1 through the restore key, and after the later toolchain bumps itsreleasestep rebuilds in about 146-167 min.Counts from the Azure timelines after #4031: the restore step failed in 43/44
WindowsMakeVC, 43/43WindowsSklearnexand 37/37WindowsBazelruns.Change.
install_basekit.batremoves the dangling links undertoolkit_linking_toolafter a fresh install. Links whose target exists are kept. The builds already ran without these six links on every restore, so the toolkit we use does not need them.basekitcache key gets a"v2"component in all four jobs, so the broken entry is no longer restored and the next run saves a clean one.Testing. Not run locally (Windows-only CI). The check is this PR's Azure Windows jobs: the first run misses the new key and installs the toolkit, and later runs should show
Restore oneAPI Base Toolkitsucceeding andPost-job: bazel-cachesaving again.🤖 Generated with Claude Code