← Back to Pull requests

ci: run docker validation on PRs only when the image inputs change #3956

Closed
unknown closed this pull request without merging on Oct 30, 2026 00:21 UTC
View on GitHub
unknown unknown commented on Oct 29, 2026 05:38 UTC
Author

Description

Suggested by @napetrov in #3952: docker validation builds the dev image on almost every code PR, although the image does not depend on the code.

dev/docker/onedal-dev.Dockerfile runs only .ci/env/apt.sh, .ci/env/openblas.sh and dev/download_tbb.sh (plus .ci/env/environment.yml, which apt.sh reads). Its COPY . step copies the rest of the tree, but no later step builds or installs from it. The pull-request trigger now uses an allow list of those inputs instead of the deny list:

paths:
  - 'dev/docker/**'
  - '.ci/env/**'
  - 'dev/download_tbb.sh'
  - '.github/workflows/docker-validation-ci.yml'

Pushes to main are not filtered, as before. Docker validation is not a required status check on main, so PRs that no longer trigger it are not left waiting for it.

Validation

  • The workflow parses and actionlint reports no findings.

  • This PR changes the workflow file itself, so docker validation runs on it.
  • ---

    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.)

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

    Diff: 193 lines (+144 / -49) across 2 files Reviewer: ethanglaser Review duration: 1123m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.36) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 193 lines diff across 2 files
    0.36
    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%
    56%
    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.315
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #3956"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% 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: 36.0% (MEDIUM) · Higher = larger blast radius
    36.0%
    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: 56.8% · Lower = rushed or shallow review
    56.8%
    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.6% · Safe to merge
    15.6%