From 20a500a7f3fa272326418312e3b57107ee96f0c4 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Sun, 23 Aug 2026 02:01:24 +0300 Subject: fix(api): start lifecycle subscriptions from live events (#3134) refs #1270 --- tests/api_ping.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/api_ping.rs b/tests/api_ping.rs index bfecc27a..917eb2d9 100644 --- a/tests/api_ping.rs +++ b/tests/api_ping.rs @@ -1494,6 +1494,12 @@ fn events_subscribe_streams_pane_split_and_close_events() { let ack = reader.read_json_line(Duration::from_secs(2)); assert_eq!(ack["id"], "sub_life_b"); assert_eq!(ack["result"]["type"], "subscription_started"); + assert!( + reader + .try_read_json_line(Duration::from_millis(250)) + .is_none(), + "new subscription must not replay the root pane creation" + ); let split = send_request( &socket_path, -- cgit v1.2.3