Huginn/crates/huginn-daemon/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 4a4d8b029e Bound the whole search path by the search's own time; lag is not a rebuild
Soul pass 2 follow-ups F1, F2, F4, F5 on the semantic index.

F1: every call a search makes (identity reads, label read, embed, query) is
bounded by what remains of one Budget, and the queued ticket carries the moment
SEARCH_DEADLINE after it was asked. The ports take the bound per call
(model_identity, describe, search); QUERY_EMBED_TIMEOUT is gone, since the
ticket's deadline is the one number. A hung identity read frees the worker
within the search's time.

F2: one refusal predicate. Behind is lag and no longer refuses; only
Reconciling, Failing and Refused do, for the sink and the projector alike. The
worker absorbs the inbox before taking a search and leaves the search queued
while the writes ahead of it are unfinished, so a client that admits and then
searches reads its own writes. An index being rebuilt is still refused.

F4: the model-changed refusal and the worker's failure answer to queued
searches name the state and the pending count.

F5: a search that fails for its own reasons no longer forgets the
reconciliation; only a changed model or label does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 19:42:03 +02:00
..
live_index_smoke.rs Bound the whole search path by the search's own time; lag is not a rebuild 2026-09-29 19:42:03 +02:00