Debian Codegraph @

releasenotes/notes/use_mapped_entity_for_root_execution-1af6af12ee437282.yaml

raw
1 ---
2 fixes:
3 - |
4 WorkflowExecution database model had only "root_execution_id" to reference
5 a root workflow execution, i.e. the most parent workflow execution in the
6 execution tree. So if we needed to get an entity itself we'd always make
7 a direct query to the database, in fact, w/o using an entity cache in the
8 SQLAlchemy session. It's now been fixed by adding a normal mapped entity
9 for root workflow execution. In other words, WorkflowExecution class now
10 has the property "root_execution". It slightly improves performance in
11 case this property is accessed more than once per the database session.