NousResearch/hermes-agent

TUI gateway test order-dependence and isolation fixes

Cluster 57068 · gateway. Data as of

Nothing open on GitHub. Fix merged in #74576 on 30 Jul 2026. Check it covers your case.

The short answer

0open issues
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #74576. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #74576. That is separate from the fix event.
Still open
Nothing open on GitHub.

These items address order-dependent test failures in tui_gateway caused by leaked stubs, sys.modules mocks, and import-time side effects. The work involves diagnosing the root causes and making the affected tests reliably isolated across files.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #74576 test: round-3 stability closeout — 12 salvaged PRs, order-dependence root fixes, guard precision

    merged to main

    files: .gitignore, .lazy-refresh-incomplete, contributors/emails/[redacted:email], contributors/emails/[redacted:email], contributors/emails/[redacted:email], hermes_cli/_early_recovery.py, hermes_cli/main.py, hermes_cli/update_cmd.py, pyproject.toml, scripts/run_tests.sh, scripts/run_tests_parallel.py, tests/agent/test_context_refs_concurrent.py, tests/agent/test_memory_boundary_commit.py, tests/cli/test_cli_yolo_toggle.py, tests/conftest.py, tests/gateway/conftest.py, tests/gateway/test_dm_topics.py, tests/hermes_cli/test_backup.py, tests/hermes_cli/test_checkout_mutation_guards.py, tests/hermes_cli/test_signal_handler_kanban_worker.py (+15 more)

1 PR closed without merging

From the close comments: merged via another change 1

  • #57066 fix(tests): make tui_gateway server tests order-independent across files · merged via another change → c4adef7, #74576, #57068
Closed issues · 1
  • Closed#57068tui_gateway tests are order-dependent across files (leaked _methods stubs, sys.modules mocks, import-time DEFAULT_DB_PATH hits the real state.db)
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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
gateway
Merged PRs
#74576
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
30 Jul 2026

For your agent

The same facts, typed.