diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-02-04 08:32:18 +0100 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-02-04 09:20:33 +0100 |
commit | 8e670094f88693830d2d1d871d8d31412ddfc539 (patch) | |
tree | 430d6710f5e78e7d20fc18eb4920ae43049e3391 /diesel.toml | |
parent | 1ab306272ca181cc6955014519fcaca7a7333969 (diff) |
Fix: Ensure job UUIDs are propagated through whole tree
This patch changes the propagation of results, so that the UUIDs of the jobs
producing the artifacts are propagated through the whole tree.
This issue at hand was that when having a dependency tree like this:
C -> B -> A
The results from A were propagated to B and the results from B where propagated
to C. But, because the implementation did not do this, the results from A where
included in the results from B and the UUID from A was dropped.
This was an issue because the implementation waited for _all_ dependencies
(direct and transitive) by their job UUID.
This means that C waited on a UUID that described the Job for A, but never
received it, which caused everything to fail.
This patch changes the algorithm, to not only report the own UUID and all
artifacts of a job, but all artifacts with their UUID attached, which solves the
issue.
The root of the tree (the `Orchestrator`) simply drops the UUIDs before
returning the artifacts to its caller.
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Tested-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'diesel.toml')
0 files changed, 0 insertions, 0 deletions