[bazel] Make the link_wrapper.py tarball reproducible #1820
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.38) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.38 · 143 lines diff across 1 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.297
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #1820"
general
weight: 0.35
DoDoENT
Makes the tarball that
link_wrapper.pywrites depend only on the names and contents of its files, so identical links hit the Bazel remote and disk caches.tarfileinstead of the hosttar cf, which recorded mtimes, the build user and umask-dependent modes. Thetarflags that fix this metadata are GNU-only, and macOS and Windows ship bsdtar.wasm_binary.pymatches members to outputs by extension suffix.tarbinary on the host.Testing: Claude built
//hello-world:hello-world-wasmtwice with the caches off. The two link tarballs had different sha256s before the change and the same one after, and the extracted files were byte-identical to those from before. The build steps intest/test_bazel.shpass on Linux x86_64; macOS and Windows were not tested locally.🤖 Generated with Claude Code
https://claude.ai/code/session_01FPgbqmGErNcUeZcbNiQHZh