Commit 451ab76
committed
fp-stability: harden log preservation and report writing (review feedback)
- _preserve_logs runs in _run_case's finally block; an OSError there
(disk full, dest collision) would replace the case's real outcome and,
being uncatchable by the suite's MFCException handler, abort the whole
run. Make it best-effort with a printed warning, matching the adjacent
ignore_errors rmtree.
- _emit_github_summary creates log_dir if missing instead of raising
FileNotFoundError at the very end of a run.1 parent 4c1c1d9 commit 451ab76
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
536 | | - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
537 | 542 | | |
538 | 543 | | |
539 | 544 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
| |||
0 commit comments