test: require Bot Chat preview under a live writer

The hang bound alone would pass if read-only open degraded to None.
This commit is contained in:
Kudakwashe Paradzayi
2026-08-23 10:17:40 +02:00
committed by Teknium
parent 458f26c0dc
commit 76faeb969b
@@ -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"]