# NousResearch/hermes-agent · Delegate timeout cleanup test flakiness and fixes

## Open now

- Nothing open on GitHub.

These items concern a flaky regression test for delegate timeout cleanup that was failing on main due to timing assumptions. The work involves diagnosing the root cause and adjusting the test to rely on ordering invariants rather than a fixed time window.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 0 merged PR(s), 2 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## 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

- #112367: test_delegate_timeout_cleanup is red on main: the test's 2s window expires inside the ~3.6s post-timeout teardown

## Prior & competing PRs

- **#112371: test(delegate): synchronize timeout cleanup regression**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `aa1d22670e38`, `bd607f3835da`
- **#113218: test(delegate): timeout-cleanup regression test is green on main again — ordering invariant, not a 2 s window (#112367, supersedes #112371)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `aa1d22670e38`, `bd607f3835da`

## Fix status

- No merged fix on record.
