Commit 983256c
committed
Wipe styx cache when styxcache version changes
styxcache 0.2.0 persists stdout/stderr alongside cache entries, but
legacy 0.1.0 entries predate that and silently replay empty stdout on
hit (see styx-api/styx-runtime-py _replay_stream's missing-file path).
This would re-introduce the ants.print_header.output empty-list bug as
soon as a pre-0.2.0 entry is hit.
Prepare step now reads the installed styxcache version, compares to a
marker file, and wipes the cache dir if they differ.1 parent e63bb8d commit 983256c
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
53 | 64 | | |
54 | 65 | | |
55 | 66 | | |
| |||
0 commit comments