NousResearch/hermes-agent

Tests leaking HERMES_CONFIG_BACKEND setting between config test files

Cluster 160722 · hermes cli · Bug. Data as of

2 open items. Fix attempted, not merged.

The short answer

1open issue
1open PR
3items grouped
Known?
Yes. 3 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. 1 PR closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.

All three members concern test isolation: the HERMES_CONFIG_BACKEND setting appears to persist between tests, with one mentioning order-dependent failures and a stale cli._hermes_home value from import time. They propose or describe changes to reset or blank the backend selector between tests; the data here does not confirm any outcome.

Open issues1

  • Issue#160722tests: `HERMES_CONFIG_BACKEND` leaks out of two config-backend test files (≈300 order-dependent failures), plus a stale `cli._hermes_home` from import at collection time

Open PRs1

  • PR#160873Config tests no longer fail when run together: backend setting stops leaking between tests (#160722, salvage #160750)

1 PR closed without merging

From the close comments: merged via another change 1

  • #160750 fix(tests): blank config backend selector between tests · merged via another change → #160873, #160722
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

For your agent

The same facts, typed.