pub(crate) fn record_session( fs: &FileStore, agent_uid: &str, segment_id: &str, provider_session_id: &str, at_ms: i64, ) -> Result<(), String>