From 55c06b2fd6dd2f88b362995a362e4643628ffd22 Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Sat, 3 Oct 2026 10:01:59 -0700 Subject: [PATCH] test(plugins): run the plugin host's cross-platform tests on the Windows and macOS lanes Three host tests were unmarked, so the OS lanes never imported them and the Windows-only model-provider extraction failure shipped green. --- tests/hermes_cli/test_plugin_host.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/hermes_cli/test_plugin_host.py b/tests/hermes_cli/test_plugin_host.py index e04ff52808..988f03b5ec 100644 --- a/tests/hermes_cli/test_plugin_host.py +++ b/tests/hermes_cli/test_plugin_host.py @@ -105,6 +105,7 @@ def test_plugin_runs_out_of_process_with_ctx_round_trips_and_survives_host_crash manager._plugin_host().shutdown() +@pytest.mark.platforms("any") # the host is a child process: its env/home resolution is per-OS def test_isolation_host_keeps_every_user_import_path_out_of_process(tmp_path, monkeypatch): from hermes_cli.plugin_isolation_audit import audit_plugin_dir from plugins import plugin_loader @@ -136,6 +137,7 @@ register_provider(HostModel(name="hostmodel", base_url="https://hostmodel.exampl ''' +@pytest.mark.platforms("any") # the host is a child process: its env/home resolution is per-OS def test_model_provider_profile_data_is_local_and_overrides_run_in_the_host(tmp_path, monkeypatch): import providers @@ -172,6 +174,7 @@ def register(ctx): ''' +@pytest.mark.platforms("any") # the host is a child process: its env/home resolution is per-OS def test_async_plugin_code_calls_back_in_the_callers_session(tmp_path, monkeypatch): import contextvars from tools.registry import registry