Skip to content

refactor: improve git lock handling#790

Merged
jonathanlab merged 4 commits intomainfrom
02-04-refactor_improve_git_lock_handling
Feb 6, 2026
Merged

refactor: improve git lock handling#790
jonathanlab merged 4 commits intomainfrom
02-04-refactor_improve_git_lock_handling

Conversation

@jonathanlab
Copy link
Contributor

@jonathanlab jonathanlab commented Feb 4, 2026

Added a Git operation manager with reader-writer locks to prevent race conditions and handle Git index locks. This should help a lot considering all our reads were blocking. By having these git reads execute with GIT_OPTIONAL_LOCKS=0 we do not lock anything.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@jonathanlab jonathanlab marked this pull request as ready for review February 4, 2026 10:01
@jonathanlab jonathanlab requested a review from a team as a code owner February 4, 2026 10:01
@jonathanlab jonathanlab force-pushed the 02-04-refactor_improve_git_lock_handling branch from 1fc02b3 to 166c4d7 Compare February 5, 2026 20:16
@jonathanlab jonathanlab enabled auto-merge (squash) February 6, 2026 14:13
@jonathanlab jonathanlab merged commit d8408db into main Feb 6, 2026
13 checks passed
@jonathanlab jonathanlab deleted the 02-04-refactor_improve_git_lock_handling branch February 6, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants