Commit 56803b3
committed
fix(core): temp-dir cleanup must not flip cancelled runs to failed
ReportRunner's finally block deleted the per-job temp dir but caught only
IOException. On Windows a briefly-locked file throws UnauthorizedAccessException,
which escaped finally and replaced an in-flight OperationCanceledException — so a
cancelled job was recorded as Failed. Catch broadly: cleanup is best-effort and
must never change the outcome. Fixes the two cancellation jobs tests.1 parent d3543a1 commit 56803b3
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
223 | 226 | | |
224 | 227 | | |
225 | 228 | | |
| |||
0 commit comments