Commit 460b46b
committed
fix: restore Effect.forkScoped for background upstream refresh
The merge from main incorrectly replaced Effect.forkScoped with
Effect.sync(() => { Effect.runFork(...) }), which creates a bare
runtime with no service layers. refreshCheckedOutBranchUpstream
calls executeGit, which depends on ChildProcessSpawner and other
contextual services that are unavailable under a naked Effect.runFork.
The error was silently swallowed by Effect.ignoreCause, causing stale
upstream tracking data after every branch checkout.1 parent 6ee71f3 commit 460b46b
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1941 | 1941 | | |
1942 | 1942 | | |
1943 | 1943 | | |
1944 | | - | |
1945 | | - | |
1946 | | - | |
1947 | | - | |
1948 | | - | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
1949 | 1947 | | |
1950 | 1948 | | |
1951 | 1949 | | |
| |||
0 commit comments