mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 14:07:42 +01:00
* fix(rag): bound the embed server's memory so a reindex cannot starve the box The 03:30 loki-reindex drove loki-embed (ThreadingHTTPServer, one onnxruntime run per concurrent request, arena never returned) to 2GB, filled swap, and pushed load to 53. Postgres connects timed out, so six other apps' crons failed — sbb-fundbuero purge among them — until the OOM killer took the embed process at 03:33:05. Serialize inference behind a lock with a small batch size, and give the unit MemoryHigh/MemoryMax so the kernel reclaims or kills this process alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(test): box-register-follow fixture no longer commits into the real repo Under the husky pre-push hook the inherited GIT_DIR turned the suite's `git init` into the pushing checkout: commits "one"/"two" landed on the branch (emptying its tree) and core.bare=true reached the shared .git/config, breaking the main checkout. Source git-fixture-env.sh like its siblings, and add test-git-fixtures-isolated.sh to test:ops so a new fixture suite that skips it fails instead of becoming the fourth incident. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>