From 326aacfbcf4bc5eb37e9bc3dfdb17653e08bf152 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Wed, 7 Oct 2026 13:08:48 -0700 Subject: [PATCH] test(e2e): native-runtime homes answer the shared-metrics offer like write_hermes_home Main's 22fcbee4927 gave the shared e2e home an offer_version answer so interactive suites never stop on the consent prompt; the branch-only make_home (native runtimes) lacked it, so the codex app-server TUI test typed into the consent menu instead of the composer. --- tests/e2e/core/providers/_native_helpers.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/e2e/core/providers/_native_helpers.py b/tests/e2e/core/providers/_native_helpers.py index dac4a7a8c6..efae044f9d 100644 --- a/tests/e2e/core/providers/_native_helpers.py +++ b/tests/e2e/core/providers/_native_helpers.py @@ -22,6 +22,7 @@ from pathlib import Path from typing import Any, Callable import hermes_yaml as yaml +from hermes_cli.observability.shared_metrics_consent import OFFER_VERSION REPO_ROOT = Path(__file__).resolve().parents[4] TURN_TIMEOUT = 180.0 @@ -93,6 +94,9 @@ def make_home(root: Path, model: dict[str, Any], *, env_file: dict[str, str] | N "updates": {"check": False}, "auxiliary": {"title_generation": {"enabled": False}}, "memory": {"memory_enabled": False, "user_profile_enabled": False}, + # Answered at the current offer version (as write_hermes_home does), so an interactive + # chat never stops on the shared-metrics offer before the UI takes the terminal. + "telemetry": {"shared_metrics": {"enabled": False, "send": False, "offer_version": OFFER_VERSION}}, } for key, value in (extra_config or {}).items(): if isinstance(value, dict) and isinstance(cfg.get(key), dict):