mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
Follow-up to #73907 (probe timeout 15s + env override + timeout-only retry), widening the same fix to the two sibling sites it missed: - backendSupportsServe's serve --help probe kept a bare execFileSync with its own 15s literal: same cold-Windows Python-startup class (#72632 measured ~10.5s for --version cold), no retry, and a false negative is cached for the process lifetime - silently routing a modern runtime through the legacy dashboard form. Route it through execProbeSync with the shared PROBE_TIMEOUT_MS (honours HERMES_PROBE_TIMEOUT_MS) and the timeout-only retry. - resolveHermesBackend step 4 called unwrapWindowsVenvHermesCommand twice; the second call re-ran the same un-memoized import probe, costing up to another full probe timeout on a hung interpreter for an answer the first call already gave. Drop the redundant re-probe. Part of the #72707 bug class (transient disconnect must not strand a healthy install). |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||