mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-07 08:27:12 +00:00
- Drop the post-decode run_id/session_id/event-body checks in find_session_owner: decode_event_row already verifies every stored column against the decoded envelope, and the WHERE clause pins session_id and event_name to the requested values. - Build the lookup query from SELECT_EVENT_COLUMNS like the sibling event queries instead of duplicating the column list. - Carry the stored run_id text in the unparseable-id error instead of an "<invalid>" placeholder. - Fetch applied migration versions once per migrate() and share the set between the session-owner preflight and the pre-migration snapshot; check the applied version first so steady-state startups skip the sqlite_master probe. Mark the preflight as removable with the run-history compatibility window. - Restore session_by_id_key as a #[cfg(test)] helper so tests stop hand-rolling the legacy reverse-index key shape. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| lib.rs | ||