| author | |
| committer | |
| log | 991dd05e72a3afd1dccbcc4522a7e4b98260cae3 |
| tree | 417d7e79c7e79d930144f19a3b011d8134680d5f |
| parent | 96bf54e293b40c62a49162cae8586f9867a868e3 |
- replace `Effect.forkDetach` with `Effect.forkScoped` when refreshing checked-out branch upstream refs
- keep checkout responsive while ensuring the background task stays tied to scope lifecycle1 files changed, 1 insertions(+), 1 deletions(-)
apps/server/src/git/Layers/GitCore.ts+1-1| ... | ... | @@ -1162,7 +1162,7 @@ const makeGitCore = Effect.gen(function* () { |
| 1162 | 1162 | }); |
| 1163 | 1163 | |
| 1164 | 1164 | // Refresh upstream refs in the background so checkout remains responsive. |
| 1165 | yield* Effect.forkDetach( | |
| 1165 | yield* Effect.forkScoped( | |
| 1166 | 1166 | refreshCheckedOutBranchUpstream(input.cwd).pipe(Effect.catch(() => Effect.void)), |
| 1167 | 1167 | ); |
| 1168 | 1168 | }); |