From 76faeb969b90fdee97c51260af56f9dc00456e9a Mon Sep 17 00:00:00 2001 From: Kudakwashe Paradzayi Date: Sun, 23 Aug 2026 10:17:40 +0200 Subject: [PATCH] test: require Bot Chat preview under a live writer The hang bound alone would pass if read-only open degraded to None. --- tests/tui_gateway/test_profiles_list_canonical_session.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/tui_gateway/test_profiles_list_canonical_session.py b/tests/tui_gateway/test_profiles_list_canonical_session.py index f237cd310f..059225fa9f 100644 --- a/tests/tui_gateway/test_profiles_list_canonical_session.py +++ b/tests/tui_gateway/test_profiles_list_canonical_session.py @@ -409,4 +409,6 @@ def test_profiles_list_does_not_wait_out_write_lock(home): assert elapsed < 3.0, elapsed row = _row(rows, "default") assert row["name"] == "default" - assert "canonical_session" in row + canonical = row["canonical_session"] + assert canonical is not None, "WAL readers must still resolve Bot Chat under a live writer" + assert "hello from bot" in canonical["preview"]