ci: skip the heavy GitHub Actions jobs on draft pull requests #3959
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 · 380 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.356
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3959"
general
weight: 0.35
icfaust
Description
A draft pull request skips the GitHub Actions jobs that take hours, so a work-in-progress push does not hold the Windows, DPC++ and conda runners. Everything else runs on drafts as before, and pushes to
mainare unchanged.Skipped on drafts
| Workflow | Job | Typical time |
| --- | --- | --- |
|
ci.yml|LinuxMakeDPCPP(avx2)and theABI Conformancejob thatneedsit | 2-3 h ||
ci.yml|LinuxMakeGNU_MKL_Conda| ~1 h ||
ci-win.yml|Windows-arm64-clang-sve(OpenBLAS + TBB from source) | ~2 h ||
ci-win.yml|WindowsBazel_MKL(AVX2)-MSVC| ~1 h ||
ci-conda-recipe.yml|LinuxCondaRecipe| ~1 h |The job condition is
!github.event.pull_request.draft. On apushevent that context is empty, so the condition is true andmainruns every job.Marking a PR ready
The three workflows add
ready_for_reviewto thepull_requestevent types, so marking a draft ready starts the skipped jobs on the current head without a new push. A skipped job shows asskippedin the checks, not as a failure.Not changed
System.PullRequest.IsDraftis not populated for GitHub pull requests. The previous revision of this PR set it as a condition, and the draft run65286executed every Windows and Make job anyway, so there is no Azure half to this change.LinuxBazelNoCompiler,LinuxBazelNoOneAPI, AArch64, docker validation) are at most about 30 minutes.ci-pr.ymlcalling the other workflows afterFormatterChecksand the gcc Bazel job) is dropped from this PR. It changes every check name and deserves its own review; the branchdev/asolovev_prgate_fullkeeps it.Validation
actionlintreports the same five pre-existing runner-label findings asmain, nothing new.skippedwhile the others ran, which is the behaviour this change keeps.---
<details>
<summary>Checklist:</summary>
Completeness and readability
Testing
Performance
</details>
🤖 Generated with Claude Code