Skip to content

Commit 40b804c

Browse files
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

File tree

1 file changed

+257
-255
lines changed

1 file changed

+257
-255
lines changed

0 commit comments

Comments
 (0)