Concurrent lazy SDK import crashes and byte-compile fixes

NousResearch/hermes-agent · cluster 100461

Data as of

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

The short answer

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

These items address crashes and stalls caused by concurrent cold-start imports of lazily installed backends, particularly the Anthropic SDK on CPython 3.12. Fixes involve serializing imports with thread locks and byte-compiling backends at install time.

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.

  • #100911 Lazily installed backends are byte-compiled at install time so first import is not a foreground cold-compile stall (refs #100461, salvage #100829)

    merged to main

    files: tests/tools/test_lazy_deps.py, tools/lazy_deps.py

3 PRs closed without merging

From the close comments: duplicate 1 · merged via another change 1 · other 1

  • #100505 fix(anthropic): serialize concurrent lazy SDK imports with thread lock (#100461) · other → #100461
  • #100595 fix(anthropic): serialize concurrent lazy SDK imports (#100461) · duplicate → #100505
  • #100829 fix(lazy-deps): byte-compile lazily installed backends at install time (#100461) · merged via another change → f298911, #100911
Closed issues · 1
  • Closed#100461v0.21.0: anthropic SDK import crashes on cpython-3.12.13 typing recursion (concurrent cold-start)
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.40: 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

Merged PRs
#100911
Closed issues
1
Attempts
3 PRs closed without merging
Fix link checked
2 Sep 2026

For your agent

The same facts, typed.