hermes-agent/tests/plugins/memory
kshitij 9bbd956b73 fix(memory/hindsight): evict timed-out retain ops + coarser status polls
Review follow-up on the #62871 salvage (simplify pass, HIGH):

1. Ops unresolved at the wait deadline were RETAINED in the pending set.
   A permanently failing status endpoint (auth error, endless 500s, or a
   server that loses ops without 404) would grow the set forever and make
   EVERY later prefetch burn the full 10s budget re-polling it — and
   prefetch()'s bounded 3s join sits on the reply path, so that money-quote
   'adds no response latency' claim breaks. Timed-out ops are now dropped
   (identical degradation to prefetch_waits_for_retain=False: possibly
   stale recall) with a WARNING so persistent server trouble is visible.
   Guard test mutation-checked (fails with eviction disabled).

2. Status polls now spaced 0.5s (was 0.05s shared with the local drain
   poll): a wedged op cost up to ~200 get_operation_status round trips
   per prefetch; now ~20 max over the default 10s budget.
2026-08-02 22:33:43 +05:30
..
__init__.py
…
test_byterover_provider.py
…
test_config_schema.py
…
test_hindsight_config_schema.py
…
test_hindsight_env_perms.py
…
test_hindsight_provider.py fix(memory/hindsight): evict timed-out retain ops + coarser status polls 2026-08-02 22:33:43 +05:30
test_holographic_auto_extract.py
…
test_holographic_retrieval.py
…
test_holographic_shutdown_closes_db.py
…
test_holographic_store.py
…
test_honcho_config_schema.py
…
test_mem0_backend.py
…
test_mem0_providers.py
…
test_mem0_setup.py
…
test_mem0_v3.py
…
test_memory_lazy_install.py
…
test_openviking_provider.py
…
test_openviking_shutdown.py
…
test_retaindb_provider.py
…
test_supermemory_provider.py
…