Debian Codegraph @

releasenotes/notes/workflow_environment_optimizations-deb8868df3f0dc36.yaml

raw
1 ---
2 fixes:
3 - Mistral was storing, in fact, two copies of a workflow environment,
4 one in workflow parameters (the 'params' field) and another one in
5 a context (the 'context' field). Now it's stored only in workflow
6 parameters. It saves space in DB and increases performance in case
7 of big workflow environments.
8 - Mistral was copying a workflow environment into all of their sub
9 workflows. In case of a big workflow environment and a big number
10 of sub workflows it caused serious problems, used additional space
11 in DB and used a lot of RAM (e.g. when the 'on-success' clause has
12 a lot of tasks where each one of them is a subworkflow). Now it is
13 fixed by evaluating a workflow environment through the root execution
14 reference.
15
16