4 Commits

Author SHA1 Message Date
yoniebans
ebcc56e80a test(persistence/sqlite): backend and contract cases that drive the switched callers
These cases exercise the backend through callers that now use the interface, so they land after them. The legacy tests/hermes_state copies of the same cases go with them.
2026-11-17 17:51:21 +01:00
yoniebans
6160ed9885 test(persistence): read the listed reset row through the first record
The reset-row listing assertion indexes the listing directly instead of building a list of ids, which the repo lint flags.
2026-11-17 17:49:49 +01:00
yoniebans
e1fb9405d2 fix(persistence): keep gateway peer recovery off delegate rows the chat does not own
The SQLite backend's peer-recovery queries now exclude rows carrying _delegate_from unless the row is the chat's /new continuation (_reset_from) or a delegate the user resumed the chat onto (_chat_adopted), as main's store does. The session insert strips a delegate marker from a keyed /new continuation and from a config upserted onto a reset row, and a compression rotation carries _chat_adopted onto the new tip.
2026-11-17 17:49:48 +01:00
yoniebans
bc7a63acf6 test(persistence/sqlite): gateway and hosted-room cases
The SQLite backend's gateway routing and hosted-room cases.
2026-11-17 17:49:47 +01:00