meta: build docs for PRs whose base has no main run #1248
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 204 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.318
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1248"
general
weight: 0.35
avivkeller
<!--
Please read the Code of Conduct and the Contributing Guidelines before opening a pull request.
-->
Description
This PR stops "Generate and Compare Docs" from failing on PRs whose base has no
mainrun, like the stacked ones in #1238 to #1243.preparelooks up the latest run ofgenerate.ymlfor the PR's base commit and downloads the nodejs/node SHA it built. A PR stacked on another PR's branch has a base commit no run ever built, so the download failed with "Artifact not found for name: commit" andgeneratenever ran. Without a base run,preparenow skips the download and builds from the latest nodejs/node SHA, as a push tomaindoes.generatealready skips the comparison when there's no base run, so these PRs still build every target, just without comparing.Validation
zizmorreports nothing new (the same 6 suppressed findings as onmain), and the format check passes. This PR targetsmain, so its own run still goes through the download and the comparison; the stacked PRs will show the other path once they're rebased onto it.Related Issues
Refs: #1238
Check List
node --run testand all tests passed.node --run format:check&node --run lint.