Gateway startup crash from malformed sessions.json entries

NousResearch/hermes-agent · cluster 46994 · gateway

Data as of

Nothing open on GitHub. Fix merged in #52116. Check it covers your case.

The short answer

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

A bug causes the gateway to crash or log errors on startup when sessions.json contains non-dict entries (e.g. booleans). These members address detecting and skipping such malformed entries instead of raising an exception.

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.

  • #52116 fix(gateway): skip non-dict entries in session loading (#46994)

    merged to main

    files: gateway/session.py, tests/gateway/test_session_load_bool.py

4 PRs closed without merging

From the close comments: done elsewhere 2 · duplicate 1 · superseded by another PR 1

  • #47040 fix(gateway): guard against non-dict JSON in sessions.json load · duplicate → #43985
  • #47082 fix(gateway): skip non-dict entries in session loading (#46994) · done elsewhere → 9c99437, #46994, #52116
  • #47239 fix(gateway): skip non-dict sessions.json entries instead of crashing on load · superseded by another PR → #46999
  • #47483 fix(gateway): handle malformed session entries without crashing on startup · done elsewhere → 9c99437, #52116
Closed issues · 1
  • Closed#46994Gateway: "Failed to load sessions: argument of type 'bool' is not iterable" on every startup
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.33: 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
#52116
Closed issues
1
Attempts
4 PRs closed without merging
Fix link checked
24 Jun 2026

For your agent

The same facts, typed.