Fix infinite relaunch loop in venv CLI path comparison
Cluster 122513. Data as of
Nothing open on GitHub. Fix merged in #125055 on 27 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #125055. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #125055. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address a bug where Hermes relaunches itself indefinitely due to incorrect path comparison logic in the CLI launcher, specifically when paths contain symlinks or .. components that prevent accurate equality checks between the current and resolved interpreter paths. prepare_launch() compares Path.absolute() instead of Path.resolve(), causing a self-relaunch loop on every venv-based Hermes launch.
Open issues0
Open PRs0
Fixes on record
-
#125055 fix(cli): HERMES_HOME with '..' no longer relaunches Hermes forever (#122513, salvage #122518)
files:
hermes_cli/venv_sync.py,tests/hermes_cli/test_venv_current_launch.py
1 PR closed without merging
From the close comments: merged via another change 1
-
#122518 fix(cli): compare resolved interpreter paths so a current venv launch does not relaunch · merged via another change →
54388a2,#125055
Closed issues · 1
- Closed#122513prepare_launch() compares Path.absolute() instead of Path.resolve(), causing a self-relaunch loop on every venv-based Hermes launch
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.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means 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 LabAt a glance
- Merged PRs
- #125055
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 27 Sep 2026