# NousResearch/hermes-agent · Test isolation fixes for web server CLI tests

## Open now

- Nothing open on GitHub.

These items address test isolation and ordering-dependent failures in the Hermes CLI web server test suite, including an importlib.reload leak fix, Windows hermeticity improvements, and fail-closed guards to prevent cross-test contamination.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #74517. Verify it addresses your case.
- **Recommended:** read PR #74517 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member 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.

## Closed / duplicate issues

- #38034: Test isolation: tests/hermes_cli/test_web_server.py::TestValidateProviderCredential fails under full-suite ordering

## Prior & competing PRs

- **#74517: test: land the test-stability backlog — 12 PRs salvaged, Windows hermeticity, fail-closed guards, event-based waits**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `.github/workflows/tests.yml`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `gateway/restart.py`, `gateway/slash_commands.py`, `hermes_cli/web_server.py`, `hermes_state.py`, `plugins/memory/honcho/session.py`, `scripts/run_tests.sh`, `tests/agent/test_anthropic_keychain.py`, `tests/agent/test_copilot_acp_client.py`, `tests/agent/test_vision_routing_31179.py`, `tests/conftest.py`, `tests/cron/test_sessiondb_init_hang.py`, `tests/gateway/test_approve_deny_commands.py`, `tests/gateway/test_complete_path_at_filter.py`, `tests/gateway/test_restart_drain.py`, `tests/gateway/test_restart_service_detection.py` (+13 more)
- **#39038: test(cli): fix importlib.reload isolation leak in test_web_server.py (#38034)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `ee5e15dffb`, `#74517`, `#38034`

## Fix status

- Merged to main in PR #74517 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-07-30`.
- Subsystem: `hermes_cli`
