Desktop startup slowness and timeout fixes

NousResearch/hermes-agent · cluster 60144 · apps/desktop

Data as of

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

The short answer

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

Multiple issues and fixes targeting slow or stuck desktop startup, caused by eager imports (especially lark_oapi), expensive status checks, and short readiness timeouts. Work involves lazy-loading, lighter health probes, and increased timeouts.

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.

  • #71104 fix(desktop): boot readiness probes a lightweight /api/health

    merged to main

    files: apps/desktop/electron/backend-health.test.ts, apps/desktop/electron/backend-health.ts, apps/desktop/electron/main.ts, hermes_cli/dashboard_auth/public_paths.py, hermes_cli/web_server.py, tests/hermes_cli/test_dashboard_auth_middleware.py, tests/hermes_cli/test_dashboard_auth_status_endpoint.py

4 PRs closed without merging

From the close comments: merged via another change 2 · done elsewhere 1 · superseded by another PR 1

  • #57657 fix(feishu): lazy-import lark_oapi to avoid GIL pressure at startup · merged via another change → #77514, #68849
  • #60160 fix(desktop): use lightweight backend health for readiness · merged via another change → #71104
  • #68185 fix(desktop): avoid rich status during local startup · done elsewhere → 476f009, 760112a, #71104, #71205
  • #68849 fix(feishu): lazy-import lark_oapi to unblock desktop startup (#68756) · superseded by another PR → #68756, #57657
Closed issues · 3
  • Closed#60144[comp/desktop] Desktop boot fails when platform adapter import or MCP registration exceeds the 15s readiness timeout
  • Closed#68170Desktop startup waits on expensive rich status snapshot
  • Closed#68756Desktop startup blocked ~11s on /api/status: eager plugin resolution imports lark_oapi (10,055 modules) on the event loop
How this cluster was grouped
  • Link evidence (partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
  • Members outside that structural core may belong to a different underlying problem.
  • Pairwise link density 0.25: 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
apps/desktop
Merged PRs
#71104
Closed issues
3
Attempts
4 PRs closed without merging
Fix link checked
25 Jul 2026

For your agent

The same facts, typed.