Fix Windows CI with MSVC 19.52 #10569
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.36) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 206 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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
Diff Size
diff_size
0.319
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #10569"
general
weight: 0.35
radarhere
Some GitHub Actions Windows runners now use MSVC 14.52 (compiler 19.52). This breaks Windows CI in two ways.
1. dav1d fails to build
libavif's bundled dav1d fails to compile:
libavif 1.4.2 pins dav1d 1.5.3, and libavif's main branch currently pins 1.5.4. dav1d fixed this in 1.5.5 (a34e068, "compat: Fix building with newer versions of MSVC"). libavif sets
AVIF_DAV1D_TAGwith a plainset(), so it can't be overridden from the command line. This patchesLocalDav1d.cmaketo use 1.5.5. The patch asserts that the original line is present, so the build will fail once libavif changes its pin, and we'll know to update or remove the patch.2. BC7 decoding is wrong on x64
With dav1d fixed, the x64 jobs on 14.52 fail
test_dx10_bc7. The jobs on 14.51 (x64), 14.44 (x86) and 14.52 (arm64) pass. Comparing the CI output image with the expected one:I couldn't find undefined behaviour in that code, so this looks like a compiler regression. This disables vectorization of the loop for MSVC 19.52 and later on x64.
🤖 Generated with Claude Code