Commit 684111c
committed
perf(ipc): use safeDeleteSync for immediate synchronous deletion
Changes:
- Replace safeDelete with safeDeleteSync in readIpcStub
- Replace safeDelete with safeDeleteSync in cleanupIpcStubs
- Improves reliability in CI environments with filesystem delays
- Ensures deletion completes before continuing execution
Benefits:
- Eliminates async timing issues with file deletion
- More predictable behavior in tests
- Simpler error handling (no promise rejection handling needed)1 parent 199dec9 commit 684111c
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
333 | 337 | | |
334 | 338 | | |
335 | 339 | | |
| |||
396 | 400 | | |
397 | 401 | | |
398 | 402 | | |
399 | | - | |
| 403 | + | |
400 | 404 | | |
401 | 405 | | |
402 | 406 | | |
| |||
0 commit comments