From d3345cc70d03793975bc2b9be29acc3aad608c8d Mon Sep 17 00:00:00 2001 From: steezkelly <37283533+steezkelly@users.noreply.github.com> Date: Mon, 18 May 2026 20:47:45 -0700 Subject: [PATCH] test: isolate Kanban env pins in hermetic fixture MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Salvages the substantive part of #22295 by @steezkelly. Adds the missing HERMES_KANBAN_HOME, HERMES_KANBAN_RUN_ID, HERMES_KANBAN_CLAIM_LOCK, HERMES_KANBAN_DISPATCH_IN_GATEWAY entries to _HERMES_BEHAVIORAL_VARS so ambient developer-shell pins on those vars don't bleed into pytest runs. The frozenset extraction + standalone regression test from the original PR were dropped to keep the change minimal — main already maintains the list inline. --- tests/conftest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 176089d5691..c799999b20f 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -193,10 +193,14 @@ _HERMES_BEHAVIORAL_VARS = frozenset({ # the real ~/.hermes/kanban.db instead of the per-test HERMES_HOME. "HERMES_KANBAN_DB", "HERMES_KANBAN_BOARD", + "HERMES_KANBAN_HOME", "HERMES_KANBAN_WORKSPACES_ROOT", "HERMES_KANBAN_LOGS_ROOT", "HERMES_KANBAN_TASK", "HERMES_KANBAN_WORKSPACE", + "HERMES_KANBAN_RUN_ID", + "HERMES_KANBAN_CLAIM_LOCK", + "HERMES_KANBAN_DISPATCH_IN_GATEWAY", "HERMES_TENANT", "TERMINAL_CWD", "TERMINAL_ENV",