hermes-agent/tests/honcho_plugin
赵桂雄 d610b238c6 fix(honcho): extend saveMessages=false guard to shutdown() flush
Salvages #67559 — original gated sync_turn/on_memory_write/on_session_end but missed shutdown(), whose flush_all() still persisted on exit. hermes-sweeper review (salvageability=high) flagged this as the one gap.

Guard sits after the worker-thread joins, not at the top: cleanup is independent of persistence, and a top-of-method return would leak _prefetch_thread/_sync_thread. Adds TestShutdown and clarifies the saveMessages=false README row.

Credit @Matroskin86 (original PR author).
2026-08-13 23:43:15 +05:30
..
__init__.py
…
conftest.py fix(honcho): network-hermetic unit tests + lazy async writer start 2026-07-29 18:55:10 -07:00
test_async_memory.py fix(honcho): network-hermetic unit tests + lazy async writer start 2026-07-29 18:55:10 -07:00
test_auth_recovery.py fix(honcho): keep _pop_auth_notice tolerant of minimal fake managers; make fast-path test binding 2026-08-08 14:40:46 +05:30
test_cli.py test: prune low-value tests suite-wide (wave 1) — 46,820 → 28,106 test functions 2026-07-29 13:10:23 -07:00
test_client.py fix(honcho): honor explicit top-level apiKey on local base_urls; warn on keyless profile host blocks 2026-08-13 23:43:15 +05:30
test_client_identity_isolation.py test(honcho): pin multi-profile client isolation end to end 2026-08-13 23:43:15 +05:30
test_empty_profile_hint.py test: prune low-value tests suite-wide (wave 1) — 46,820 → 28,106 test functions 2026-07-29 13:10:23 -07:00
test_network_isolation.py fix(honcho): network-hermetic unit tests + lazy async writer start 2026-07-29 18:55:10 -07:00
test_oauth.py fix(honcho): recover memory from mid-session oauth 401s and tell the user once 2026-08-08 14:40:46 +05:30
test_oauth_flow.py fix(honcho): network-hermetic unit tests + lazy async writer start 2026-07-29 18:55:10 -07:00
test_pin_peer_name.py test: prune low-value tests suite-wide (wave 1) — 46,820 → 28,106 test functions 2026-07-29 13:10:23 -07:00
test_query_rewrite.py test: prune low-value tests suite-wide (wave 1) — 46,820 → 28,106 test functions 2026-07-29 13:10:23 -07:00
test_save_messages.py fix(honcho): extend saveMessages=false guard to shutdown() flush 2026-08-13 23:43:15 +05:30
test_session.py refactor(memory): single shared trivial-prompt classifier + gate tests 2026-08-03 17:53:55 +05:30