From 56f7ccd7a66c4df4e15f035153fa31ae3cf34090 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Thu, 13 Aug 2026 11:23:27 -0700 Subject: [PATCH] test(kanban): opt wake-scope subscriptions into notify+wake delivery mode The delivery_mode gate on push-adapter wake injection landed on main after PR #78391 branched; the plain 'notify' default never reaches the wake path these tests assert. Salvage adaptation for salv-78391. --- tests/gateway/test_kanban_wake_scope.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/gateway/test_kanban_wake_scope.py b/tests/gateway/test_kanban_wake_scope.py index 0077acd154..93a7c35451 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