History is kept by flow id: runs, cascades, rollups and events file the id in their flow column and nodes as <flow id>.<node>, the API answers flow plus flow_name and shows and takes nodes as <key>.<node>; events carry flow_id from the moment they are published; run queue items, the stage cache and cached curves keep ids and keys apart; endpoints, the brain graph, device bindings and search name the id to open
This commit is contained in:
@@ -28,7 +28,7 @@ def _run_row(status: str, digest: str = "") -> str:
|
||||
run_id = new_run_id()
|
||||
with Session(db_engine) as session:
|
||||
session.add(
|
||||
Run(id=run_id, flow="f", status=status, created_at=datetime.now(UTC))
|
||||
Run(id=run_id, flow_id="f", status=status, created_at=datetime.now(UTC))
|
||||
)
|
||||
if digest:
|
||||
session.add(
|
||||
|
||||
Reference in New Issue
Block a user