From 23f428456a8c75216f3f173d2b5b21e8ea973092 Mon Sep 17 00:00:00 2001 From: Sinity Date: Sat, 5 Sep 2026 20:05:30 +0200 Subject: [PATCH] test: follow the merged runner rename, corpus width, and read-only cursor probe The descriptor's complete tier no longer pins two workers either: the width is the one constant. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01DNGJ3awfNrsLaMdHgQZvid --- .agentctl/project.toml | 2 +- tests/unit/daemon/test_daemon_cli.py | 2 +- tests/unit/devtools/test_dev_loop_service.py | 2 +- tests/unit/devtools/test_pytest_slot.py | 2 +- tests/unit/devtools/test_verify.py | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.agentctl/project.toml b/.agentctl/project.toml index 544d3fc0eb..bb9f0c3859 100644 --- a/.agentctl/project.toml +++ b/.agentctl/project.toml @@ -60,7 +60,7 @@ timeout_seconds = 900 [operations.verify_all] description = "Run Polylogue's explicit complete-corpus verification plan" -exec = ["env", "POLYLOGUE_PYTEST_WORKERS=2", "devtools", "verify", "--all"] +exec = ["devtools", "verify", "--all"] # The corpus graph is published from the main checkout; a lane worktree # cannot start it. checkout = "default" diff --git a/tests/unit/daemon/test_daemon_cli.py b/tests/unit/daemon/test_daemon_cli.py index ff357401d7..eb40e8707d 100644 --- a/tests/unit/daemon/test_daemon_cli.py +++ b/tests/unit/daemon/test_daemon_cli.py @@ -1866,7 +1866,7 @@ def test_spool_pending_check_ignores_terminal_cursor_states( monkeypatch.setattr(daemon_cli, "_active_index_db_path", lambda: tmp_path / "index.db") monkeypatch.setattr( "polylogue.sources.live.cursor.CursorStore", - lambda _db: SimpleNamespace(get_record=lambda path: records.get(path)), + lambda _db, **_kwargs: SimpleNamespace(get_record=lambda path: records.get(path)), ) # A capture that JUST arrived is in the live route's debounce flow — diff --git a/tests/unit/devtools/test_dev_loop_service.py b/tests/unit/devtools/test_dev_loop_service.py index 44f21bbebf..d53bfa1559 100644 --- a/tests/unit/devtools/test_dev_loop_service.py +++ b/tests/unit/devtools/test_dev_loop_service.py @@ -28,7 +28,7 @@ def test_declared_operation_has_a_json_contract_and_no_retired_keys() -> None: assert all(not retired & set(declared) for declared in descriptor["operations"].values()) verify_all = descriptor["operations"]["verify_all"] assert verify_all["timeout_seconds"] == 14400 - assert verify_all["exec"] == ["env", "POLYLOGUE_PYTEST_WORKERS=2", "devtools", "verify", "--all"] + assert verify_all["exec"] == ["devtools", "verify", "--all"] assert {"WAYLAND_DISPLAY", "DISPLAY"} <= set(descriptor["environment"]["inherit"]) assert all(spec.module != "devtools.dev_loop_service" for spec in COMMAND_SPECS) assert all(spec.module != "devtools.deployment_browser_smoke_service" for spec in COMMAND_SPECS) diff --git a/tests/unit/devtools/test_pytest_slot.py b/tests/unit/devtools/test_pytest_slot.py index 848816de28..6abcbf8ad1 100644 --- a/tests/unit/devtools/test_pytest_slot.py +++ b/tests/unit/devtools/test_pytest_slot.py @@ -286,7 +286,7 @@ def test_missing_scoped_queue_runner_refuses_before_queueing(tmp_path: Path, mon lambda name, path=None: None if name == pytest_slot.QUEUE_RUNNER else original_which(name, path), ) - with pytest.raises(PytestSlotUnavailableError, match="sinnixd-queue-run"): + with pytest.raises(PytestSlotUnavailableError, match="agentctl-run"): run_pytest( _marker_command(tmp_path / "pytest-ran"), cwd=str(tmp_path), diff --git a/tests/unit/devtools/test_verify.py b/tests/unit/devtools/test_verify.py index 192f3f15f9..657786c1d8 100644 --- a/tests/unit/devtools/test_verify.py +++ b/tests/unit/devtools/test_verify.py @@ -302,10 +302,10 @@ def test_verify_quick_descriptor_accepts_the_declared_json_projection() -> None: assert descriptor["workspace"]["verification_operations"] == ["verify_quick"] assert operation["exec"] == ["devtools", "verify", "--quick"] assert operation["result"] == "json" - assert affected["exec"] == ["env", "POLYLOGUE_PYTEST_WORKERS=2", "devtools", "verify"] + assert affected["exec"] == ["devtools", "verify"] assert affected["pool"] == "pytest" assert affected["result"] == "pytest" - assert complete["exec"] == ["env", "POLYLOGUE_PYTEST_WORKERS=2", "devtools", "verify", "--all"] + assert complete["exec"] == ["devtools", "verify", "--all"] assert complete["checkout"] == "default" assert complete["schedule"] == "*-*-* 03:17:00" assert complete["pool"] == "pytest"