Skip to content

Commit 67e3061

Browse files
committed
ci: sample recurrent abort across runners
1 parent 3d79cf4 commit 67e3061

1 file changed

Lines changed: 9 additions & 20 deletions

File tree

.github/workflows/diagnose-recurrent-linux.yaml

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ env:
1212
jobs:
1313
diagnose:
1414
runs-on: ubuntu-latest
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
attempt: [1, 2, 3, 4]
19+
name: attempt-${{ matrix.attempt }}
1520
steps:
1621
- uses: actions/checkout@v6
1722
with:
@@ -42,31 +47,15 @@ jobs:
4247
python -m pip install uv
4348
python -m uv pip install -e '.[all]' --verbose
4449
45-
- name: Construct recurrent context with verbose disabled
50+
- name: Reproduce full test suite
4651
continue-on-error: true
47-
env:
48-
VERBOSE: "0"
49-
run: python tests/diagnose_recurrent_context.py
52+
run: python -m pytest
5053

51-
- name: Construct recurrent context with verbose enabled
54+
- name: Capture full-suite backtrace
5255
continue-on-error: true
53-
env:
54-
VERBOSE: "1"
55-
run: python tests/diagnose_recurrent_context.py
56-
57-
- name: Run original recurrent test
58-
continue-on-error: true
59-
run: |
60-
python -m pytest -vv -s \
61-
tests/test_llama.py::test_recurrent_model_prompt_cache_reset
62-
63-
- name: Capture verbose-disabled backtrace
64-
continue-on-error: true
65-
env:
66-
VERBOSE: "0"
6756
run: |
6857
gdb --batch \
6958
-ex "set pagination off" \
7059
-ex run \
7160
-ex "thread apply all bt" \
72-
--args python tests/diagnose_recurrent_context.py
61+
--args python -m pytest

0 commit comments

Comments
 (0)