fix(test): fail on golden diffs again; only warn in hack/record-gcp #13671
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 377 lines diff across 4 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.355
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #13671"
general
weight: 0.35
sdowell
#13646 stopped
CompareGoldenFilefrom failing on diffs wheneverWRITE_GOLDEN_OUTPUT=1is set, so thathack/record-gcpwould not fail while recording. CI setsWRITE_GOLDEN_OUTPUT=1too (dev/tasks/run-e2efor thetests-e2e-fixtures-jobs, anddev/ci/presubmits/test-mockgcp) and has no post-run diff check, so golden drift stopped failing CI.t.Errorfon golden diffs inCompareGoldenFile.inONLY_WARN_ON_GOLDEN_DIFFS, and honor the variable inCompareGoldenObjectas well asCompareGoldenFile.ONLY_WARN_ON_GOLDEN_DIFFS=""inhack/record-gcpso recording still does not fail when writing new or updated golden files.hack/record-gcpin skills and docs that recorded against real GCP with rawgo test.BRIEF Change description
<!--
Describe what this pull request does.
If your pull request is to address an open issue, indicate it by specifying the
issue number:
issue and put the number here.
For example: "Fixes #858"
-->
Fixes #
WHY do we need this change?
Special notes for your reviewer:
Does this PR add something which needs to be 'release noted'?
<!--
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".
-->
``
release-note`NONE
docs
Reviewer tagged PR with the actual milestone.
Run make ready-pr` to ensure this PR is ready for review.Intended Milestone
Please indicate the intended milestone.
Tests you have done
<!--
Make sure you have run "make ready-pr" to run required tests and ensure this PR is ready to review.
Also if possible, share a bit more on the tests you have done.
For example if you have updated the pubsubtopic sample, you can share the test logs from running the test case locally.
go test -v -tags=integration ./config/tests/samples/create -test.run TestAll -run-tests pubsubtopic
-->