fix: address review findings on release PR #411 #414
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.40) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 309 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.343
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #414"
general
weight: 0.35
mattmck
Fixes CodeRabbit's four findings on the release PR #411. The release branch is
dev, so these land here first and #411 picks them up.| Finding | Fix |
|---|---|
|
deploy-dev.yml/deploy-prod.yml: an unresolvable push base read as "no infra changes" | VerifyBEFORE_SHAwithgit cat-file -e; when it's gone (force-push), setinfra_changed=trueand run infra first rather than fail the deploy.git diffis also taken out of the grep pipeline so a git error fails the step. ||
deploy.yml: verification job checkout persists credentials |persist-credentials: false||
TF_VAR_auth_dev_bypassfromvars.AUTH_DEV_BYPASScould differ from thefalsethe code deploy writes and fail the settings check | Pinned to'false'indeploy-infra.yml(where the variable actually lives); README updated. Both environments already have the variable atfalse. ||
buy-price.tsrounds subtotals to cents, wrong for 3- and 0-decimal currencies | Round to the currency's own minor unit fromIntl.NumberFormat's fraction digits (KWD 1000, JPY 1), cached per currency; test for 1.001 + 1.001 KWD = 2.002 and whole-yen JPY. |Verification
packages/sharedbuild in my worktree, gone afternpm run build:shared);buy-price.test.ts7/7; webtsc --noEmitclean; eslint clean on the changed files.actionlinton the four workflows: only two pre-existing SC2129 style notes in blocks I didn't touch.devexercises the dev detection; the force-push branch only runs when a push base is missing.🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Bug Fixes
Currency subtotals now use the correct precision for each currency, including three decimal places for KWD and whole units for JPY.
Infrastructure deployments are less likely to be skipped when a prior commit is unavailable, and errors while checking changed files are now reported instead of being treated as no changes.
Deployment settings now consistently use the configured development authentication bypass value.
Documentation
Clarified that infrastructure deployments always disable the development authentication bypass.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->