-
Notifications
You must be signed in to change notification settings - Fork 114
49 lines (45 loc) · 1.36 KB
/
Copy pathdst-soak.yml
File metadata and controls
49 lines (45 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: dst-soak
on:
schedule:
# Hourly: each run soaks fresh random seeds for 50 minutes, so coverage
# accumulates run over run (a failing seed prints its DST_SEEDS repro).
- cron: "0 * * * *"
workflow_dispatch:
inputs:
budget_secs:
description: "Soak budget in seconds"
default: "3000"
required: false
permissions:
contents: read
# Never two soaks at once; a late finisher queues the next rather than
# overlapping it.
concurrency:
group: dst-soak
cancel-in-progress: false
jobs:
soak:
name: Deterministic simulation soak
runs-on: ubuntu-latest
if: github.repository == 'Barre/ZeroFS'
# Cold build plus the soak budget.
timeout-minutes: 75
defaults:
run:
working-directory: zerofs
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Soak
run: >
DST_WALL_CLOCK_SECS=${{ github.event.inputs.budget_secs || 3000 }}
DST_ROUNDS=8
RUSTFLAGS="--cfg dst --cfg tokio_unstable --cfg io_uring_skip_arch_check"
cargo test --profile ci --test dst -- --nocapture seeds
- name: Upload divergence traces
if: failure()
uses: actions/upload-artifact@v4
with:
name: dst-traces-${{ github.run_id }}
path: /tmp/dst_trace_*.log
if-no-files-found: ignore