Commit 3bba9f7
committed
Fix blocking git status refresh and remove redundant error suppression
- Use Effect.forkDetach() in refreshGitStatus to fire-and-forget the
status refresh instead of blocking RPC responses and stream completion.
This prevents multi-second delays from potential git fetch calls in
refreshRemoteStatus from keeping isGitActionRunning true in the UI.
- Remove redundant Effect.ignore({ log: true }) at gitPull and
gitRunStackedAction call sites since refreshGitStatus is already
infallible after Effect.ignoreCause({ log: true }).1 parent f3bc116 commit 3bba9f7
1 file changed
+3
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
| 356 | + | |
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
584 | | - | |
585 | | - | |
586 | | - | |
| 584 | + | |
587 | 585 | | |
588 | 586 | | |
589 | 587 | | |
| |||
600 | 598 | | |
601 | 599 | | |
602 | 600 | | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
| 601 | + | |
607 | 602 | | |
608 | 603 | | |
609 | 604 | | |
| |||
0 commit comments