Skip to content

Add filelock for git operations#28

Open
therazix wants to merge 1 commit into
fvagner-update-tmt-versionfrom
fvagner-filelock
Open

Add filelock for git operations#28
therazix wants to merge 1 commit into
fvagner-update-tmt-versionfrom
fvagner-filelock

Conversation

@therazix
Copy link
Copy Markdown
Contributor

This PR wraps all git operations in get_git_repository with a per-repository FileLock to prevent concurrent tasks from potentially corrupting a shared local clone. Also, if fetching from the remote fails, the repository is automatically wiped and re-cloned to ensure a clean state.

@therazix therazix requested review from janhavlin and psss May 13, 2026 15:20
@happz happz added this to planning May 20, 2026
@github-project-automation github-project-automation Bot moved this to backlog in planning May 20, 2026
@happz happz added the bug Something isn't working label May 20, 2026
@happz happz moved this from backlog to review in planning May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: review

Development

Successfully merging this pull request may close these issues.

2 participants