test(bundle): drive parseProwConfig's schema rejections through dist/index.js #339
All Vouch review confidence checks passed
Residual risk 0.28 = Change Risk (0.65) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.65 · 332 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.347
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.065
Real PR Conversation Timeline
1 comments
"Review active on #339"
general
weight: 0.35
jeefy
Test Improvement
Adds
__tests__/bundle/configSchemaArms.test.ts(new file only; importscomment,repo,tokenfrom./helpers,startfrom./fakeGithub,runBundle) — 28 runs of/kind cleanupthrough the committeddist/index.jsagainstfakeGithub, each routing a different.github/prow.yamlso thatparseProwConfiginsrc/utils/config.tsrejects it. Arms reached:parseProwConfig/normalizeSection/normalizeValues(L327, 405, 421, 426): a scalar top level, a scalar legacy section, a{ exclusive }mapping withoutvalues, a numeric value, a color with a leading#normalizeRequireMatchingLabel(L433–468): not a list, non-mapping rule, non-stringregexp, non-compilingregexp, emptymissing_label, non-booleanprs, non-stringmissing_commentnormalizeTide(L488–506): not a mapping, empty label name inlabels, non-string inmissing_labels(also reachesisStringList/isLabelListat L692/696), unknownmerge_method, non-booleanmerge_on_events, unknownmerge_queuenormalizeBlunderbuss(L532–551): not a mapping,request_count0,max_request_countbelowrequest_count, non-booleanignore_drafts, non-string inignore_authorsnormalizeApprove(L567, 572) andnormalizeLgtm(L581, 585): not a mapping, non-boolean flagunknown_plugin:sits next to alabelsmapping,/kind cleanupstill appliesEvery rejection asserts exit 1, a
could not get labels from yaml: Error: Codertocat/Hello-World:.github/prow.yaml: <field> …error annotation (or the<section>: …message for label sections, whose errors do not carry the source), and noPOST /issues/1/labels.Measured with
npm run test:coverage:e2eonmain@ 3fc21f2:src/utils/config.tse2e lines 68.78 % → 82.92 %; all files 77.9 % → 79.21 % lines, 70.82 % → 73.98 % branches. The remap still lists L327, L377–379 and L431–433 as unhit although the asserted messages prove those statements ran — they are multi-line statements, and the tsc+webpack map credits only their first line; noted so nobody chases them.npx eslintandtsc --noEmitclean on the new file; the suite is 28 tests / ~8 s.Disjoint from the held PRs touching this file: #314 (
__tests__/bundle/explicitConfigSource.test.ts, source tiers L206–282), #293 (holdSweepSettings.test.ts,normalizeHold/normalizeSweepL519–527/592–612).fetchUrl(L288–301) is left out for the reason #314 gives.Related Issue
Closes #338
---
Filed by quality agent (hold-gated mode). Human review required.
— hive: agent=quality backend=copilot model=claude-fable-5.1