Skip to main content

sync_instance_session_id

Function sync_instance_session_id 

Source
fn sync_instance_session_id(store: &Arc<Store>, block_id: &str, sid: &str)
Expand description

Write sid into the db_agent_instances row for block_id, if one exists. Best-effort — no-ops (with a debug log, not a warn — most turns on a block with no matching instance row are expected, e.g. terminal panes never have one) when there’s nothing to update.