← Back to Pull requests

ci: set a job level timeout on the KinD based workflows #3566

Closed
unknown closed this pull request without merging on Jul 29, 2026 12:00 UTC
View on GitHub
unknown unknown commented on Jul 29, 2026 09:02 UTC
Author

Summary of Changes

Twenty three of the twenty nine jobs in this repository set no
timeout-minutes and inherit the GitHub default of 360 minutes. Twelve of those
provision a KinD cluster, so a single hung process occupies a runner for hours
before anything stops it.

This sets a job level timeout on those twelve. One line each, no other change.

How the values were chosen

There is no written timeout convention in this repository, and the six existing
values were introduced without a recorded rationale, so this proposes one.

Durations were measured from the twenty most recent successful runs of each
workflow. The value is two and a half times the observed maximum, rounded up to
the nearest five minutes, with a floor of fifteen.

| Workflow | Job | median | max | value |
| --- | --- | --- | --- | --- |
| dashboard_test.yaml | dashboard_test | 3m | 4m | 15 |
| manifests_example_test.yaml | manifests_example_test | 2m | 6m | 15 |
| dex_oauth2-proxy_test.yaml | dex_oauth2-proxy_test | 5m | 7m | 20 |
| workspaces_deployment_test.yaml | workspaces_controller_test | 4m | 7m | 20 |
| notebooks_api_authorization_test.yaml | notebooks_api_authorization_test | 4m | 8m | 20 |
| istio_validation.yaml | istio_validation | 5m | 9m | 25 |
| model_catalog_test.yaml | model_catalog_test | 4m | 9m | 25 |
| model_registry_test.yaml | model_registry_test | 5m | 9m | 25 |
| workspaces_pipeline_run_test.yaml | workspaces_pipeline_run_test | 7m | 10m | 25 |
| katib_test.yaml | katib_test | 7m | 12m | 30 |
| pipeline_run_from_notebook.yaml | pipeline_run_from_notebook | 7m | 11m | 30 |
| trainer_test.yaml | trainer_test | 9m | 16m | 40 |

istio_validation.yaml runs a three leg matrix. A single job level key applies
to each leg independently, which is what is wanted.

What is deliberately not changed

  • Lightweight jobs (linting, formatting, stale bot, osv-scanner, welcome bot,

  • Helm comparison unit tests) complete in seconds and are left alone.
  • The six existing values are untouched. full_kubeflow_integration_test keeps

  • its forty five minutes: across the last forty runs there were thirty six
    successes, three failures at 6, 38 and 39 minutes, and no cancelled runs, so
    the limit is not being reached.
  • The step level timeout-minutes: 5 on the diagnostics step is unchanged. It

  • serves a different purpose, bounding a hung collection so the job can still
    report a genuine failure rather than being cancelled.

    Verification

  • Every workflow file still parses.

  • All eighteen KinD based jobs now report a job level timeout, and no

  • lightweight job was modified.
  • pre-commit passes, including yamllint.

  • The diff is twelve files, twelve insertions, zero deletions.
  • Related Issues

    Closes https://github.com/kubeflow/community-distribution/issues/3565

    Requested during review of
    https://github.com/kubeflow/community-distribution/pull/3560 in
    https://github.com/kubeflow/community-distribution/pull/3560#discussion_r3658033142
    and
    https://github.com/kubeflow/community-distribution/pull/3560#discussion_r3658030866

    Contributor Checklist

  • All commits are signed off to satisfy the DCO check.
  • Diff: 411 lines (+308 / -103) across 5 files Reviewer: juliusvonkohout Review duration: 177m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 411 lines diff across 5 files
    0.45
    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.360
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #3566"
    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: 44.9% (MEDIUM) · Higher = larger blast radius
    44.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.7% · Safe to merge
    17.7%