Skip to content

release: 1.0.81#37

Merged
flupkede merged 8 commits into
masterfrom
develop
May 2, 2026
Merged

release: 1.0.81#37
flupkede merged 8 commits into
masterfrom
develop

Conversation

@flupkede
Copy link
Copy Markdown
Owner

@flupkede flupkede commented May 2, 2026

Release 1.0.81. See CHANGELOG.md for details.

Highlights:

  • fix(serve): warmed-but-never-queried repos now get evicted by the idle reaper (no more stuck Warm state on KRKA.Aprimo, DPS, BAYR.Aprimo, etc.)
  • fix(tui): Ctrl-C in the TUI no longer tears down the whole serve process — use q to quit
  • docs: SAFETY comments on all LMDB unsafe env-open blocks

Audit notes: cargo check + clippy -D warnings clean, 740 tests pass.

flupkede and others added 8 commits May 1, 2026 23:33
chore: remove stale docs and benchmarks
`evict_idle_repos` only iterates `self.last_access`. `warmup_repo`
deliberately did not write to `last_access` (its comment said "warmup is
not a real query, idle timer should only reset on real query"), but the
side effect was that warmed-but-never-queried repos never appeared in
`last_access` at all and therefore stayed warm forever \u2014 holding open
LMDB environments and embedder state.

Visible symptom in the TUI: aliases like KRKA.Aprimo, DPS, BAYR.Aprimo
showed status `warm` with `Last Tool Call = -` indefinitely, while
aliases that had been touched (e.g. aprimo_mcp, investing) correctly
transitioned to `closed` after the idle window.

Fix: have `warmup_repo` start the idle timer at warmup. A real query
still resets the timer via `touch_access`. A repo that is never queried
gets evicted after the idle timeout, which is the desired behaviour.
- warmup_repo now calls touch_access so warmed-but-never-queried repos
  appear in last_access and get evicted by the idle reaper. Without this,
  background-warmed aliases stayed Warm forever.
- is_quit_key drops the Ctrl-C arm. crossterm's raw mode delivers Ctrl-C
  as a key event (ENABLE_PROCESSED_INPUT off), so treating it as quit
  tore down the whole serve from a stray terminal Ctrl-C. Use q only.
…locks

fix(serve): idle timer + TUI Ctrl-C; SAFETY comments on LMDB unsafe blocks
@flupkede flupkede merged commit 11d74cf into master May 2, 2026
3 checks passed
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.

1 participant