diff --git a/tests/conftest.py b/tests/conftest.py index ee031fc05a4..81067be6f3e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -213,6 +213,14 @@ _HERMES_BEHAVIORAL_VARS = frozenset({ "HERMES_KANBAN_CLAIM_LOCK", "HERMES_KANBAN_DISPATCH_IN_GATEWAY", "HERMES_TENANT", + # Dashboard OAuth auth gate (PR #30156). When set, the bundled + # dashboard-auth `nous` plugin auto-registers itself on plugin discovery, + # which is triggered by any `/api/status` call. That leaks a provider + # into the dashboard_auth registry across tests in the same worker and + # makes assertions like `auth_providers == []` flaky. CI never sets + # these, so production tests must not see them either. + "HERMES_DASHBOARD_OAUTH_CLIENT_ID", + "HERMES_DASHBOARD_PORTAL_URL", "TERMINAL_CWD", "TERMINAL_ENV", "TERMINAL_CONTAINER_CPU",