kubernetes/minikube

ci: Ensure workflow timeouts - runs can get stuck for hours

クローズ

#23,041 opened on 2026/05/25

 (23 件のコメント) (0 件のリアクション) (1 人の担当者)Go (5,222 件のフォーク)batch import
area/testinggood first issuehelp wanted

Repository metrics

Stars
 (31,799 個のスター)
PR merge metrics
 (平均マージ 12d 19h) (30d で 43 merged PRs)

説明

This run was stuck for 6 hours! in the apt-get install step https://github.com/kubernetes/minikube/actions/runs/26373054430/job/77628725110?pr=23040

Fix

  • Set job level timeout
  • Set step level timeout

Job level timeout

jobs:
  build:
    runs-on: ubuntu-latest
    timeout-minutes: 30

Step level timeout

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Run complex tests
        run: ./run-tests.sh
        timeout-minutes: 10

For the next step see #23043.

コントリビューターガイド