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.
This commit is contained in:
Teknium
2026-08-13 11:23:27 -07:00
parent 5d3f75110a
commit 56f7ccd7a6
+4
View File
@@ -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