← Back to Pull requests

ci: queue runs on main instead of starting one per commit #3952

Closed
unknown closed this pull request without merging on Oct 29, 2026 11:01 UTC
View on GitHub
unknown unknown commented on Oct 28, 2026 21:22 UTC
Author

Description

Every push to main currently starts a full, parallel run of each workflow. This PR makes main runs queue instead.

The workflow-level concurrency group was <workflow>-<event>-<ref>-<PR number || SHA>. A push has no PR number, so every commit to main got its own group and its own parallel run. The group is now <workflow>-<PR number || ref>, with cancel-in-progress only for pull requests:

  • On main, one run is active and one waits. A newer push replaces the waiting one, so intermediate commits are skipped and the latest commit is always built.

  • On a PR, a new push still cancels that PR's older run, as before.
  • This is the pattern codeql.yml already uses. It applies to ci.yml, ci-win.yml, ci-aarch64.yml, ci-conda-recipe.yml and docker-validation-ci.yml.

    Azure batches pushes to main. trigger: batch: true in .ci/pipeline/ci.yml builds the pushes that arrive during an active main run together once it finishes.

    Limiting the heaviest jobs to one run at a time across PRs moved to #3957. Path-based filtering of main pushes is not part of this PR.

    Validation

  • Every changed file parses as YAML.

  • actionlint reports no findings on the five changed workflows apart from runner labels it does not know (ubuntu-26.04, windows-11-vs2026-arm).

  • The queueing itself can only be observed on uxlfoundation/oneDAL after merge.
  • ---

    PR completeness and readability

  • I have reviewed my changes thoroughly before submitting this pull request.

  • Git commit message contains an appropriate signed-off-by string.

  • The PR description explains the changes.

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

  • I have run it locally and tested the changes extensively. (CI-only change: YAML parse and actionlint locally; the queueing itself is observable only on this repository.)

  • All CI jobs are green or I have provided justification why they aren't.
  • 🤖 Generated with Claude Code

    Diff: 255 lines (+191 / -64) across 3 files Reviewer: Alexandr-Solovev Review duration: 819m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 255 lines diff across 3 files
    0.39
    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.332
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #3952"
    general weight: 0.35
    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: 39.1% (MEDIUM) · Higher = larger blast radius
    39.1%
    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: 15.4% · Safe to merge
    15.4%