pub fn task_exists(conn: &Connection, task_id: &str) -> Result<bool>Expand description
Returns whether a task with this id has been recorded in the derived
state. Cheap O(1) lookup against the tasks primary key. Callers
should run ingest_new_events first if they want to see the latest
JSONL state.