|
38 | 38 | # bills the organization even for a public repository, so every other event -- |
39 | 39 | # a fork's pull request above all -- runs on the free standard runner. |
40 | 40 | # Each verification sizes its parallelism to the runner that took it. |
41 | | -# scripts/ci_preflight.py pins every runner, time limit and job count, and |
42 | | -# docs/ci.md gives each limit's measured basis. |
| 41 | +# scripts/ci_preflight.py pins every runner, time limit and job count; every |
| 42 | +# job's limit is the platform's own 360-minute maximum, the only hang catcher |
| 43 | +# (owner rule, 2026-10-12), and docs/ci.md records why no bound of our own |
| 44 | +# remains. |
43 | 45 | jobs: |
44 | 46 | # Whether the change is documentation only; scripts/ci_docs_only.py holds the |
45 | 47 | # rule, and every doubt answers no. On a docs-only pull request or push the |
|
49 | 51 | # runner, for every event. |
50 | 52 | changes: |
51 | 53 | runs-on: ubuntu-24.04 |
52 | | - timeout-minutes: 5 |
| 54 | + timeout-minutes: 360 |
53 | 55 | outputs: |
54 | 56 | docs_only: ${{ steps.classify.outputs.docs_only }} |
55 | 57 | steps: |
@@ -78,11 +80,12 @@ jobs: |
78 | 80 |
|
79 | 81 | preflight: |
80 | 82 | runs-on: ${{ (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) && 'pf-linux-x64-16' || 'ubuntu-24.04' }} |
81 | | - # Its verifier-tests stage is one serial process: 475 s at 0d76a099's tree |
82 | | - # on the maintainers' verification hosts, which ran it 1.93-1.95 times as |
83 | | - # fast as the standard runner on the same trees, so about 15 min here. Ten |
84 | | - # minutes cancelled main's run at 0d76a099 593 s into it. |
85 | | - timeout-minutes: 45 |
| 83 | + # 360 minutes is GitHub's job maximum and deliberately the only limit: |
| 84 | + # its verifier-tests stage is one serial process, and no stage of this |
| 85 | + # preflight carries a timeout of its own any more (owner rule, |
| 86 | + # 2026-10-12). A hang reaches the platform maximum; a slow stage never |
| 87 | + # fails the run. |
| 88 | + timeout-minutes: 360 |
86 | 89 | steps: |
87 | 90 | - uses: actions/checkout@v4 |
88 | 91 | with: |
@@ -140,11 +143,11 @@ jobs: |
140 | 143 | # accepts; a failed or unanswered classification runs it. |
141 | 144 | needs: changes |
142 | 145 | if: ${{ !cancelled() && (needs.changes.result != 'success' || needs.changes.outputs.docs_only != 'true') }} |
143 | | - # A full-set leg waits on the test_ci_verify CTest row, 976-1288 s on the |
144 | | - # standard runners at 0d76a099, which more cores do not shorten. There the |
145 | | - # Release legs, which a fork's pull request runs in full, took 30.3 and |
146 | | - # 32.0 min, and the macOS Debug leg 37.0 min. |
147 | | - timeout-minutes: 75 |
| 146 | + # 360 minutes (the platform maximum): a full-set leg waits on the |
| 147 | + # test_ci_verify CTest row, 976-1288 s on the standard runners at |
| 148 | + # 0d76a099, which more cores do not shorten. No bound of ours may fail a |
| 149 | + # slow leg (owner rule, 2026-10-12). |
| 150 | + timeout-minutes: 360 |
148 | 151 | strategy: |
149 | 152 | fail-fast: false |
150 | 153 | matrix: |
@@ -238,11 +241,11 @@ jobs: |
238 | 241 | needs: changes |
239 | 242 | if: ${{ !cancelled() && (needs.changes.result != 'success' || needs.changes.outputs.docs_only != 'true') }} |
240 | 243 | runs-on: ${{ (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) && 'pf-linux-x64-16' || 'ubuntu-24.04' }} |
241 | | - # A full run (push to main, manual dispatch) gives its CTest stage an hour |
242 | | - # after the build; the PR set keeps its 30-minute stage, after about 30 |
243 | | - # minutes of build and ABI providers on the standard runner a fork's pull |
244 | | - # request gets. |
245 | | - timeout-minutes: 120 |
| 244 | + # 360 minutes (the platform maximum). No CTest stage bound remains: main's |
| 245 | + # full set ran out of the old 30- and 60-minute stage bounds twice, and |
| 246 | + # the owner rule of 2026-10-12 removed the bounds rather than raising |
| 247 | + # them again. |
| 248 | + timeout-minutes: 360 |
246 | 249 | env: |
247 | 250 | ASAN_OPTIONS: detect_leaks=1:halt_on_error=1:abort_on_error=1 |
248 | 251 | UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1 |
@@ -303,8 +306,9 @@ jobs: |
303 | 306 | if: ${{ !cancelled() && (needs.changes.result != 'success' || needs.changes.outputs.docs_only != 'true') }} |
304 | 307 | runs-on: ${{ (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) && 'pf-linux-x64-16' || 'ubuntu-24.04' }} |
305 | 308 | # 22.3 min on the standard runner at 0d76a099, where a fork's pull request |
306 | | - # still runs the whole kernel set. |
307 | | - timeout-minutes: 60 |
| 309 | + # still runs the whole kernel set; 360 minutes is the platform maximum, the |
| 310 | + # only hang catcher (owner rule, 2026-10-12). |
| 311 | + timeout-minutes: 360 |
308 | 312 | steps: |
309 | 313 | - uses: actions/checkout@v4 |
310 | 314 | with: |
@@ -384,7 +388,7 @@ jobs: |
384 | 388 | if: always() |
385 | 389 | # A few seconds of shell: the standard runner, for every event. |
386 | 390 | runs-on: ubuntu-24.04 |
387 | | - timeout-minutes: 5 |
| 391 | + timeout-minutes: 360 |
388 | 392 | steps: |
389 | 393 | - name: Require every verification lane to have passed |
390 | 394 | shell: bash |
|
0 commit comments