ci: set a job level timeout on the KinD based workflows #3566
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
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.360
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3566"
general
weight: 0.35
juliusvonkohout
Summary of Changes
Twenty three of the twenty nine jobs in this repository set no
timeout-minutesand inherit the GitHub default of 360 minutes. Twelve of thoseprovision 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.yamlruns a three leg matrix. A single job level key appliesto each leg independently, which is what is wanted.
What is deliberately not changed
osv-scanner, welcome bot,Helm comparison unit tests) complete in seconds and are left alone.
full_kubeflow_integration_testkeepsits 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.
timeout-minutes: 5on the diagnostics step is unchanged. Itserves a different purpose, bounding a hung collection so the job can still
report a genuine failure rather than being cancelled.
Verification
lightweight job was modified.
pre-commitpasses, includingyamllint.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