Commit 40b804c
committed
fix: move repository identity resolution outside DB transaction in getSnapshot
The repositoryIdentityResolver.resolve calls spawn git child processes,
which should not run inside a database transaction scope. This change
restructures getSnapshot so the transaction only covers the SQL queries,
and the repository identity resolution + snapshot assembly happens after
the transaction completes via Effect.flatMap.1 parent 77dc225 commit 40b804c
1 file changed
Lines changed: 257 additions & 255 deletions
0 commit comments