Commit 96fe140
Treat Windows os.replace PermissionError as non-fatal cache miss
On Windows, os.replace raises PermissionError when another process
holds the target open. Instead of retrying, silently drop the write —
correct semantics for a cache (a missed write isn't corruption).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4aa42e0 commit 96fe140
File tree
2 files changed
+12
-11
lines changed- cuda_core
- cuda/core/utils
- tests
2 files changed
+12
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
588 | 586 | | |
589 | 587 | | |
590 | 588 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| |||
0 commit comments