hack/manual-validate: mv_expect_audit counts a long-running operation once #16403
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.35) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 160 lines diff across 2 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.304
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #16403"
general
weight: 0.35
barney-s
mv_expect_auditnow counts a long-running operation once, not once per audit entry.A long-running create, update or delete writes several audit entries under one
operation.id: its start, its completion, and sometimes the start twice.mv_expect_auditlisted every entry, so any Kind whose API uses long-running operations failed the audit check with no controller bug. It now keeps the first entry of eachoperation.id(mv_audit_calls), and counts entries with nooperation.idone each, so two separate calls still count as two.Example: #16378 (StorageInsightsDatasetConfig) failed with
Create,Create,Update,Update,Update,Delete,Delete. Those were three operations, with the update's start logged twice under one ID. Applied to that evidence, the helper now givesCreate,Update,Delete.Several scripts already work around this with their own audit helpers: dialogflowconversationprofile, hypercomputeclustercluster, memorystoreaclpolicy, networkmanagementvpcflowlogsconfig, designcentercatalogtemplate, discoveryenginedatastore, geminidataanalyticsdataagent, ftpuser, and #16402. They can move to
mv_expect_auditlater. Some of them drop completion entries or collapse repeated method names, which can also hide a real second call.``
release-note
``NONE