Skip to content

The agent that grows with you

test(kanban): opt wake-scope subscriptions into notify+wake delivery mode

Teknium56f7ccd7a66c
diff --git a/tests/gateway/test_kanban_wake_scope.py b/tests/gateway/test_kanban_wake_scope.py
index 0077acd1543..93a7c354512 100644
--- a/tests/gateway/test_kanban_wake_scope.py
+++ b/tests/gateway/test_kanban_wake_scope.py
@@ -83,6 +83,10 @@ def _completed_subscription(**sub_kwargs):
assignee="worker",
session_id="origin-session",
)
+ # Push-adapter wake injection is gated on the subscription's
+ # delivery_mode ("notify+wake"/"wake") on current main; the plain
+ # "notify" default would never reach the wake path under test.
+ sub_kwargs.setdefault("delivery_mode", "notify+wake")
kb.add_notify_sub(conn, task_id=tid, **sub_kwargs)
kb.complete_task(conn, tid, summary="done")
return tid