Skip to content

The agent that grows with you

test(cron): gate the deleted-cwd witnesses with the repo linux_only marker

teknium18d08293cf49a
diff --git a/tests/cron/test_cron_bot_chat_delivery.py b/tests/cron/test_cron_bot_chat_delivery.py
index e0f2c6a320d..41f55c43bca 100644
--- a/tests/cron/test_cron_bot_chat_delivery.py
+++ b/tests/cron/test_cron_bot_chat_delivery.py
@@ -277,7 +277,7 @@ def test_turn_report_books_the_delivery_while_the_child_still_lingers(tmp_path):
proc.wait(timeout=10)
[email protected](os.name == "nt", reason="Windows refuses to remove the process cwd; no such fixture there")
def test_delivery_child_runs_in_the_target_home_not_the_schedulers_cwd(tmp_path, monkeypatch):
"""The spawn pins ``cwd`` to the target home: a scheduler left in a reaped kanban scratch
workspace must not hand its dead cwd to the child, which then dies before argv (#102941)."""
diff --git a/tests/hermes_cli/test_startup_fast_guards.py b/tests/hermes_cli/test_startup_fast_guards.py
index d583ac51813..25b9b79f91a 100644
--- a/tests/hermes_cli/test_startup_fast_guards.py
+++ b/tests/hermes_cli/test_startup_fast_guards.py
@@ -41,7 +41,7 @@ _FORBIDDEN_MODULES = (
)
[email protected](os.name == "nt", reason="Windows refuses to remove the process cwd; no such fixture there")
def test_cli_starts_from_a_deleted_cwd(tmp_path):
"""A child spawned into a directory that was removed since (a cron delivery from a reaped
kanban workspace) must still reach argv parsing: a relative ``sys.path`` entry made