From 1a8aded87f38a10a3c9eb6424ad7d7408e7f64cf Mon Sep 17 00:00:00 2001 From: Jakub Janusz <109247173+frizikk@users.noreply.github.com> Date: Wed, 5 Aug 2026 19:55:41 +0200 Subject: [PATCH] test(kanban): model legacy notifier ownership --- tests/hermes_cli/test_kanban_notify.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/hermes_cli/test_kanban_notify.py b/tests/hermes_cli/test_kanban_notify.py index edab38a35041d..1fff7c0ec8154 100644 --- a/tests/hermes_cli/test_kanban_notify.py +++ b/tests/hermes_cli/test_kanban_notify.py @@ -90,6 +90,10 @@ async def test_notifier_wakes_origin_for_review_and_keeps_subscription(kanban_ho runner = object.__new__(GatewayRunner) runner._running = True runner._kanban_sub_fail_counts = {} + # This legacy subscription has no notifier-profile stamp. Current gateway + # ownership rules intentionally expose such rows only to the singleton + # dispatcher owner, which this focused watcher harness represents. + runner._kanban_dispatcher_lock_handle = object() delivered: list[str] = [] async def _send(chat_id, message, metadata=None):