[Bazel] Replace the use of @bazel_tools//src/conditions:host_windows #1683
All Vouch review confidence checks passed
Residual risk 0.13 = Change Risk (0.33) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 141 lines diff across 1 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.296
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1683"
general
weight: 0.35
DoDoENT
This is a followup of #1682.
This has been deprecated and will be removed in Bazel 10.
This implementation of the platform information retrieval is similar to what is done in Skylib (see https://github.com/bazelbuild/bazel-skylib/blob/56a2abbaf131332835ab2721a258ea3c763a7178/rules/private/copy_file_private.bzl#L117) however this does not use the experimental platform API.
platform_inforule that selects the correct settings based on constraints from@platform.execconfig.Note that the platform information could have given a simple
is_windowsflag, but I chose this implementation because it matches the previous one more closely.Note also that it was not possible to keep the
script_extensionattribute as string, because thecfgfield is not supported on string attributes.