Cache purge confinement, worker stats auth, index hygiene. Release 0.5.0. #3

Closed
oliver.maklott wants to merge 0 commits from oliver.maklott/review-fixes-2026-11 into main AGit

Fixes from the November review.

  • A configured cache directory outside the cache root is ignored; purge re-checks the resolved path and needs the cache marker file (409 cache_dir_refused).
  • Worker stats return the cache path and the current job's entity only with a time-sealed header under the sidecar key; the health port binds loopback in the publish overlay (VECTORSEARCH_HOST_BIND, SEARCH_HEALTH_BIND).
  • Handoff markers typed into document text are neutralized; the worker accepts a directive only alone on its line and resolves artifacts from that handoff only.
  • SQLite: WAL and busy timeout; a locked index answers index_busy (503 + Retry-After) instead of empty results; search is gated only for an empty index or a full rebuild.
  • Debounce has a maximum wait; policy counts no longer load all embeddings.
  • Purge: orphaned artifacts are deleted; secure_delete, incremental auto-vacuum and WAL truncation remove purged text from the index file. An existing index is converted by one full VACUUM after its first purge.

Update the pack before the worker image.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PVUe4ghusFjH71tHhZetH2

Fixes from the November review. - A configured cache directory outside the cache root is ignored; purge re-checks the resolved path and needs the cache marker file (409 `cache_dir_refused`). - Worker stats return the cache path and the current job's entity only with a time-sealed header under the sidecar key; the health port binds loopback in the publish overlay (`VECTORSEARCH_HOST_BIND`, `SEARCH_HEALTH_BIND`). - Handoff markers typed into document text are neutralized; the worker accepts a directive only alone on its line and resolves artifacts from that handoff only. - SQLite: WAL and busy timeout; a locked index answers `index_busy` (503 + Retry-After) instead of empty results; search is gated only for an empty index or a full rebuild. - Debounce has a maximum wait; policy counts no longer load all embeddings. - Purge: orphaned artifacts are deleted; `secure_delete`, incremental auto-vacuum and WAL truncation remove purged text from the index file. An existing index is converted by one full VACUUM after its first purge. Update the pack before the worker image. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PVUe4ghusFjH71tHhZetH2
Cache directory purge is confined to the cache root; worker stats detail needs the sidecar key; handoff markers in document text are neutralized; index busy answers retry instead of empty results; purged content is removed from the index file. Release 0.5.0.
Some checks failed
Publish / dev-image (pull_request) Successful in 0s
Publish / worker-test (pull_request) Failing after 1m12s
Publish / test (pull_request) Successful in 1m9s
Publish / pack-and-publish (pull_request) Has been skipped
Publish / build-sidecar (pull_request) Has been skipped
4ec300cb9e
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4ghusFjH71tHhZetH2
A locked index is reported as busy when it is opened, not as a wrong key (the key check reads the file).
All checks were successful
Publish / dev-image (pull_request) Successful in 0s
Publish / test (pull_request) Successful in 1m35s
Publish / worker-test (pull_request) Successful in 2m10s
Publish / pack-and-publish (pull_request) Has been skipped
Publish / build-sidecar (pull_request) Has been skipped
46db50b1f0
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4ghusFjH71tHhZetH2
oliver.maklott closed this pull request 2026-11-15 21:19:13 +01:00
All checks were successful
Publish / dev-image (pull_request) Successful in 0s
Publish / test (pull_request) Successful in 1m35s
Publish / worker-test (pull_request) Successful in 2m10s
Publish / pack-and-publish (pull_request) Has been skipped
Publish / build-sidecar (pull_request) Has been skipped

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
limedoc-plugins/vectorsearch-lite!3
No description provided.