pub fn enrich_detached_status(record: &ExecutionRecord) -> ExecutionRecordExpand description
Enrich execution record with live session status for detached executions. If a record shows “executing” but the detached session has actually ended, returns an updated copy with status “executed”. If it shows “executed” but the session is still running, returns a copy with status “executing”.