Skip to content

fix(memory,watch): Windows-safe export pruning, renamed watch dirs, non-blocking busy retry - #16

Merged
tevfik merged 3 commits into
mainfrom
lane/v122-followups
Nov 25, 2026
Merged

tevfik merged 3 commits into
mainfrom
lane/v122-followups

Conversation

@tevfik

@tevfik tevfik commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Follow-ups from the v1.22 reviews (W1-W3, F7, busy-retry worker, pooler sha256 field, /v1/models description, --rerank warning). Stacked on PR #15 (8e990de). Cross-reviewed; local CI 17/17 on this tree. Main is fast-forwarded after PR #15 when CI (incl. Windows and macOS) is green.

…consent, exists means true

- one resolver (flag > OLLAMA_HOST > config > default) for setup, bootstrap, doctor, serve,
  multimodal, summarizers, chat and the TUI; OLLAMA_HOST now wins over a saved ollama_host;
  hosts are normalised like Ollama's client (bare host gets :11434, 0.0.0.0 -> 127.0.0.1,
  an explicit scheme keeps its default port)
- serve never pulls models; setup --auto pulls only after a typed yes or --yes (EOF declines)
- a filter "exists" without a value means true in REST, MCP and the CLI; an empty extension
  counts as absent; memory reflect --limit with a bad value exits 2
- every test package pins OLLAMA_HOST to a dead address so no test can reach a local Ollama
…on-blocking busy retry

- export pruning refuses Windows junctions and other reparse points (one warning per run),
  matches legacy aliases case-insensitively on Windows and only touches generated names
  ([A-Za-z0-9._-] with the -<8hex>.md suffix)
- a directory renamed or removed under a watched root removes its indexed files (one manifest
  pass, linear in the manifest size)
- a batch waiting on a busy index lock is resubmitted by a timer instead of holding a worker
- catalogue poolers accept an optional sha256 and warn when only the size is checked;
  /v1/models describes the gleann/ pass-through entry; --rerank warns once per process
… run on lane/** pushes

DELETE marks the index as deleting once it holds <name>.lock and searches answer
404 from then on; a searcher load that fails because the index directory is gone
also answers 404 (it used to surface as 409/500 when files vanished mid-load).
CI and CI/CD also run on pushes to lane/** so lanes are tested on Windows and
macOS before main moves; publishing stays tag-only.
@codecov-commenter

Copy link
Copy Markdown

@tevfik
tevfik merged commit 29a2426 into main Nov 25, 2026
70 checks passed
@tevfik
tevfik deleted the lane/v122-followups branch November 25, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants