Update dependency windows-images to v141140507 #57178
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 252 lines diff across 3 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.331
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #57178"
general
weight: 0.35
aiuto
What does this PR do?
v141140507-248a7145, whose Windows images refresh MSYS2 packages at build time and therefore ship GCC 16.2 instead of GCC 14.Versionwith anerrorparameter that the real symbol never had, which is now a compile error. The declaration now explicitly takes no arguments and the helper matches it.ffi-yajlgem, which omnibus installs throughlicense_scout, has C extensions that no longer compile as C23 against Ruby 2.6's headers.bundle installnow builds that gem with-std=gnu17.Motivation
The previous Windows images can no longer be rebuilt, because the MSYS2 package versions they pinned have been removed from every mirror (DataDog/datadog-agent-buildimages#1342). Adopting the new images requires building with the newer compiler.
The images could instead pin GCC 14.2, which MSYS2's main repository still hosts. We chose not to because that repository deletes old packages, which is what broke the previous images, so the pin would eventually break the same way unless Datadog hosted the packages itself. Pinning also means downgrading GCC's runtime libraries beneath MSYS2 packages that are now built against GCC 16's. The fixes here are needed only once and work with any compiler version, whereas a pin would only postpone them.
Describe how you validated your changes
CI passes on the Windows build and test jobs that failed with the image bump alone. The new omnibus task test checks the
ffi-yajlbuild flag, and the shared library check code compiles as both C23 and gnu17.Additional Notes
Other platforms are unaffected by the compiler change, and as far as I know
-std=gnu17is accepted by every GCC and Clang the Agent builds with.