From 3d2f146460a6347095ce0f65b622fff31e6a3f68 Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Thu, 21 May 2026 13:01:19 -0700 Subject: [PATCH] fix(tui): also pass --expose-gc on the wheel-bundled launch path The original PR fixed the ext_dir and built-tui paths but missed the sibling pip-wheel path at line 1155. Without this, wheel installs would lose --expose-gc entirely (the env-var append at the call site was already removed). All three production node-launch sites now pass --expose-gc via argv consistently. --- hermes_cli/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hermes_cli/main.py b/hermes_cli/main.py index a178daf581e..3016dc887e8 100644 --- a/hermes_cli/main.py +++ b/hermes_cli/main.py @@ -1152,7 +1152,7 @@ def _make_tui_argv(tui_dir: Path, tui_dev: bool) -> tuple[list[str], Path]: bundled = _find_bundled_tui() if bundled is not None: node = _node_bin("node") - return [node, str(bundled)], bundled.parent + return [node, "--expose-gc", str(bundled)], bundled.parent # 2. Normal flow: npm install if needed, always esbuild, then node dist/entry.js. # --dev flow: npm install if needed, then tsx src/entry.tsx.