|
1 | | -# Soak dispatcher — the weekly scheduled soak AND every on-demand soak run. |
| 1 | +# Soak dispatcher — explicitly requested runs only (no scheduled runs). |
2 | 2 | # |
3 | 3 | # Absorbs the retired soak.yml (the standalone "multi-hour #581" workflow): its |
4 | 4 | # reasons to exist — a job budget that actually covers a 4h run, and the |
5 | 5 | # query-leak mode that never reindexes so the #581 leak can accumulate — are |
6 | 6 | # now _soak.yml facts (timeout 560, legs input). A long #581-only run is |
7 | 7 | # `legs: query-leak` here, not a separate workflow with its own copy of the |
8 | | -# soak procedure. NON-GATING: never a required check, never blocks a merge. |
| 8 | +# soak procedure. NON-GATING: manually dispatched only; Jenkins owns automated soak. |
9 | 9 | name: Nightly Soak |
10 | 10 |
|
11 | 11 | on: |
12 | | - schedule: |
13 | | - - cron: '0 2 * * 0' # Every Sunday at 2am UTC |
14 | 12 | workflow_dispatch: |
15 | 13 | inputs: |
16 | 14 | duration_minutes: |
|
26 | 24 | description: 'Also run the 15-min ASan soak legs' |
27 | 25 | type: boolean |
28 | 26 | default: true |
29 | | - # Iteration convenience carried over from soak.yml: pushing a qa/soak-** |
30 | | - # branch starts a real run from that branch's own copy of the workflows. |
31 | | - push: |
32 | | - branches: ['qa/soak-**'] |
33 | 27 |
|
34 | 28 | permissions: |
35 | 29 | contents: read |
|
39 | 33 | # budget instead of a fixed count. NON-GATING like the soak; a crash uploads |
40 | 34 | # its reproducer, which becomes a fixed-seed regression input once fixed. |
41 | 35 | fuzz: |
42 | | - if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} |
| 36 | + if: ${{ github.event_name == 'workflow_dispatch' }} |
43 | 37 | runs-on: ubuntu-latest |
44 | 38 | timeout-minutes: 120 |
45 | 39 | steps: |
|
59 | 53 | soak: |
60 | 54 | uses: ./.github/workflows/_soak.yml |
61 | 55 | with: |
62 | | - # On schedule/push events the inputs context is empty — fall back to the |
63 | | - # weekly defaults (4h, both legs, ASan on). |
| 56 | + # Values come only from manual workflow_dispatch input. |
64 | 57 | duration_minutes: ${{ inputs.duration_minutes || 240 }} |
65 | 58 | legs: ${{ inputs.legs || 'quick,query-leak' }} |
66 | | - run_asan: ${{ github.event_name != 'workflow_dispatch' || inputs.run_asan }} |
| 59 | + run_asan: ${{ inputs.run_asan }} |
0 commit comments