fix: remove stale git lock files before catalog sync
Catalog sync could fail permanently if the container was killed mid-fetch, leaving behind .git/shallow.lock (or index.lock, HEAD.lock). Now cleaned up automatically before each git fetch. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -652,6 +652,7 @@ Notification preferences (email, enabled events, cooldown hours) are:
|
||||
- Periodic `git fetch` + `git reset --hard` of the app catalog repo
|
||||
- Content-hash comparison prevents unnecessary file writes
|
||||
- Post-sync stack rescan detects new/changed apps immediately
|
||||
- **Stale lock recovery**: automatically removes `.git/index.lock`, `.git/shallow.lock`, and `.git/HEAD.lock` before each fetch — prevents permanent sync failures after interrupted operations (e.g. container restart mid-sync)
|
||||
|
||||
#### Planned Update Classifications
|
||||
|
||||
|
||||
Reference in New Issue
Block a user