You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add reset-repo ops scripts with dry-run and storage permission fixes
- Add ensure-storage.sh and reset-repo.sh for new/existing repos (prepare, inspect, dry-run)
- prepare updates existing indexes incrementally; soft/full-reset force rebuild
- Run ensure-storage on deploy and hetzner setup to keep /var/codewalk writable (uid 999)
- mkdir cloud index artifact dirs before Chroma/DuckDB open
- Document coverage matrix and workflows in SERVER_OPS.md
Copy file name to clipboardExpand all lines: deploy/SERVER_OPS.md
+58-1Lines changed: 58 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -396,12 +396,63 @@ cd /opt/codewalk && docker compose up -d --force-recreate codewalk-api
396
396
397
397
## 11. Re-index, reset & fix stuck indexing
398
398
399
+
> **Preferred:** use `deploy/reset-repo.sh` — works for **new** and **existing** repos. Detects on-disk index: **update** (incremental) vs **create** (full embed). Every mode supports **`--dry-run`**.
0 commit comments