Commit 5c45d32
committed
Bypass styxcache for template subprocess, dump full stderr on failure
Two diagnostic improvements after another silent lta_convert exit-1:
- styxcache's tee handlers route container stdout/stderr into an
internal gzip buffer that's discarded on exception, so the failing
niwrap call under cache leaves no diagnostic trail reaching our
captured subprocess stderr. Thread a bypass_cache kwarg through
_run_rbc and set it on longitudinal_template_output so we get raw
podman stderr passthrough. The anat fixture still caches (keeps the
~90 min speedup) so the tradeoff is tiny.
- Drop the stderr tail truncation. 4000 chars was losing the middle of
the captured stream between "Executed first iteration" and the
traceback — exactly where container stderr would be if it existed.
Full dump on failure is a few KB at most, cheap.1 parent 0bc2517 commit 5c45d32
1 file changed
Lines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | | - | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
45 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
46 | 56 | | |
47 | 57 | | |
48 | 58 | | |
49 | 59 | | |
50 | 60 | | |
| 61 | + | |
51 | 62 | | |
52 | 63 | | |
53 | 64 | | |
54 | | - | |
55 | | - | |
| 65 | + | |
| 66 | + | |
56 | 67 | | |
57 | 68 | | |
58 | 69 | | |
| |||
147 | 158 | | |
148 | 159 | | |
149 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
150 | 165 | | |
151 | 166 | | |
0 commit comments