Harden CI #1010
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.46) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.46 · 476 lines diff across 5 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.369
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1010"
general
weight: 0.35
Viicos
build-js-binariesandbuild-wasmon tag and release runs, as these jobs build the native binaries and wasm published to npm.cargo-fuzzwith a pinned version and--locked, so that its dependencies are the ones from its published lockfile.twinefromuv.lock(newbuilddependency group) instead ofuvx, and check wheels integrity withunzip -tininspect-python-assets.gh attestation verifyon the host before running it in the manylinux container of the PGO runtime wheel build, instead of pipingcurltosh.contents: writepermission from the npm release job.id-token: writepermission to the CodSpeed job instead of the whole workflow.dtolnay/rust-toolchain, which has no release versioning). This includes major bumps ofactions/checkout,actions/setup-node,actions/setup-python,astral-sh/setup-uv,CodSpeedHQ/action,codecov/codecov-actionandj178/prek-action.<!-- This is an auto-generated description by cubic. -->
---
Summary by cubic
Hardens the CI pipeline against supply chain attacks: release jobs no longer trust cached or unpinned tooling, the uv installer is provenance-checked, and workflow permissions are narrowed.
Supply chain hardening
build-js-binariesandbuild-wasmon tag and release runs, since these jobs publish the native binaries and wasm.cargo-fuzzto 0.13.2 and install with--locked, so its dependencies come from its published lockfile.twinefrom the newbuilddependency group inuv.lockinstead ofuvx, and check every wheel's zip integrity withunzip -tbefore release.gh attestation verifyon the host before running it in the manylinux container of the PGO runtime wheel build.contents: writepermission from the npm release job, scopeid-token: writeto the CodSpeed job only, and disable the uv cache in the PyPI release andinspect-python-assetsjobs.Dependencies
actions/checkout,actions/setup-node,actions/setup-python,astral-sh/setup-uv,CodSpeedHQ/action,codecov/codecov-action, andj178/prek-action.<sup>Written for commit df1dc582997794fb68ac829ef8c4a2677f75f7f9. Summary will update on new commits.</sup>
<a href="https://cubic.dev/pr/pydantic/monty/pull/1010?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="View guided diff" src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a> <a href="https://www.cubic.dev/action/auto-fix/pr/pydantic/monty/1010?returnTo=https%3A%2F%2Fgithub.com%2Fpydantic%2Fmonty%2Fpull%2F1010&source=description" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img alt="Turn on auto-fix" src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->