← Back to Pull requests

ci: skip the heavy GitHub Actions jobs on draft pull requests #3959

Closed
unknown closed this pull request without merging on Nov 02, 2026 10:12 UTC
View on GitHub
unknown unknown commented on Oct 29, 2026 11:01 UTC
Author

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 main are unchanged.

Skipped on drafts

| Workflow | Job | Typical time |
| --- | --- | --- |
| ci.yml | LinuxMakeDPCPP(avx2) and the ABI Conformance job that needs it | 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 a push event that context is empty, so the condition is true and main runs every job.

Marking a PR ready

The three workflows add ready_for_review to the pull_request event types, so marking a draft ready starts the skipped jobs on the current head without a new push. A skipped job shows as skipped in the checks, not as a failure.

Not changed

  • Azure Pipelines: System.PullRequest.IsDraft is not populated for GitHub pull requests. The previous revision of this PR set it as a condition, and the draft run 65286 executed every Windows and Make job anyway, so there is no Azure half to this change.

  • The still-running jobs (LinuxBazelNoCompiler, LinuxBazelNoOneAPI, AArch64, docker validation) are at most about 30 minutes.

  • The pull request gate that the earlier revision added (ci-pr.yml calling the other workflows after FormatterChecks and the gcc Bazel job) is dropped from this PR. It changes every check name and deserves its own review; the branch dev/asolovev_prgate_full keeps it.
  • Validation

  • actionlint reports the same five pre-existing runner-label findings as main, nothing new.

  • The previous revision of this PR ran as a draft: in GitHub Actions the Windows, DPC++, conda and MSVC Bazel jobs were reported skipped while the others ran, which is the behaviour this change keeps.
  • ---

    <details>
    <summary>Checklist:</summary>

    Completeness and readability

  • I have commented my code, particularly in hard-to-understand areas.

  • I have updated the documentation to reflect the changes or created a separate PR with updates and provided its number in the description, if necessary.

  • Git commit message contains an appropriate signed-off-by string _(see CONTRIBUTING.md for details)_.

  • I have resolved any merge conflicts that might occur with the base branch.
  • Testing

  • I have run it locally and tested the changes extensively.

  • All CI jobs are green or I have provided justification why they aren't.
  • Performance

  • I have provided justification why performance and/or quality metrics have changed or why changes are not expected: CI configuration only.
  • </details>

    🤖 Generated with Claude Code

    Diff: 380 lines (+285 / -95) across 4 files Reviewer: icfaust Review duration: 5711m
    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
    0.43
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 42.9% (MEDIUM) · Higher = larger blast radius
    42.9%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 17.0% · Safe to merge
    17.0%