Venv PATH lost in terminal login-shell snapshots on Debian
Cluster 56634 · environments · Bug. Data as of
3 open items. Fix merged in #146080 on 29 Oct 2026. Check it covers your case.
The short answer
- Known?
- Yes. 8 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #146080. Check it covers your case. No release data is tracked. Fix link checked: 29 Oct 2026.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event.
Next step: read #146080, then check whether your report is the one still open.
Read #146080Pick up a Lab taskMost members concern the terminal tool's login-shell session snapshot dropping the virtualenv from PATH, especially on Debian-based images where /etc/profile resets PATH, with several proposed fixes and bug reports. One member, about retrying Hermes launcher discovery, may be related but is less clearly the same issue.
Open issues1
- Issue#66642[Bug]: Terminal tool loses the venv from PATH — the login-shell session snapshot resets it
Open PRs2
Fixes on record
-
#146080 fix(terminal): keep Hermes' PATH when a login profile resets it (salvage #56642)
files:
Dockerfile,docker/profile-hermes-path.sh,tests/docker/test_login_shell_path.py,tests/tools/test_login_shell_path_preservation.py,tools/environments/local.py,tools/process_registry.py,tools/terminal_tool_background.py
3 PRs closed without merging
From the close comments: merged via another change 1 · stale or abandoned 1 · other 1
-
#56642 fix(terminal): preserve venv PATH in login-shell snapshot on Debian · merged via another change →
0e8d470,#146080 -
#66902 fix(tools): preserve active venv on PATH across login-shell snapshots (#66642) · other →
#66642 - #87738 fix(terminal): restore venv PATH before the login-shell snapshot dump · stale or abandoned
Closed issues · 1
- Closed#56634[Bug]: terminal tool's bash -l session snapshot loses venv PATH on Debian-based images (/etc/profile resets it before /etc/profile.d/)
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.23: 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.