From 334c02b77e2ff90603b1860f84167f05a57111ac Mon Sep 17 00:00:00 2001 From: Alex Fournier Date: Tue, 4 Aug 2026 15:03:47 -0700 Subject: [PATCH] test(observability): exercise the active worktree in metrics smoke Signed-off-by: Alex Fournier --- scripts/smoke_nemo_relay_shared_metrics.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/smoke_nemo_relay_shared_metrics.py b/scripts/smoke_nemo_relay_shared_metrics.py index 120665b3dd620..a4dbf0f566d25 100644 --- a/scripts/smoke_nemo_relay_shared_metrics.py +++ b/scripts/smoke_nemo_relay_shared_metrics.py @@ -578,11 +578,11 @@ def main() -> int: _write_config(home, server.server_port) env = os.environ.copy() env["HERMES_HOME"] = str(home) + python_paths = [str(hermes_repo)] if relay_python is not None: - env["PYTHONPATH"] = os.pathsep.join([ - str(relay_python), - env.get("PYTHONPATH", ""), - ]).rstrip(os.pathsep) + python_paths.append(str(relay_python)) + python_paths.append(env.get("PYTHONPATH", "")) + env["PYTHONPATH"] = os.pathsep.join(python_paths).rstrip(os.pathsep) result = subprocess.run( [ str(hermes), @@ -635,7 +635,7 @@ def main() -> int: skill_result = subprocess.run( [ - str(hermes.parent / "python"), + sys.executable, "-c", "\n".join([ "from hermes_cli.observability import relay_shared_metrics",