From f9dac388ba3bfd29b0da73b2be2579a16b330852 Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Sat, 12 Sep 2026 07:11:13 -0700 Subject: [PATCH] test(slack): expect the triggering ts in per-turn thread metadata The Slack source now carries message_id, so _thread_metadata_for_source stamps it (run.py's Slack branch already did this whenever it had an anchor). --- tests/gateway/test_slack.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/gateway/test_slack.py b/tests/gateway/test_slack.py index e4d65c2db0..331d527723 100644 --- a/tests/gateway/test_slack.py +++ b/tests/gateway/test_slack.py @@ -3334,6 +3334,9 @@ class TestAssistantThreadLifecycle: # connector's chat.startStream recipient fields. "scope_id": "T_OTHER", "user_id": "U_USER", + # Triggering ts: lets the reply_in_thread=false path tell this synthetic + # thread key (thread_id == own ts) from a real thread. + "message_id": "171.111", } @pytest.mark.asyncio