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:
2026-02-24 20:09:38 +01:00
parent 44f7fd2f19
commit 0c687ae280
3 changed files with 26 additions and 0 deletions
+5
View File
@@ -1,5 +1,10 @@
## Changelog
### v0.29.1 — Fix Git Lock File Stale After Interrupted Sync (2026-02-24)
#### Fixed
- **Stale git lock file recovery** — Catalog sync now removes stale `.git/index.lock`, `.git/shallow.lock`, and `.git/HEAD.lock` files before running `git fetch`/`git reset`. Previously, if the container was killed mid-sync, the leftover lock file would block all subsequent syncs until manual intervention.
### v0.29.0 — Encrypt Sensitive Values in app.yaml (2026-02-23)
#### Added