Commit d76e9a84 authored by Scott Hampton's avatar Scott Hampton

Merge branch '276949-perf-boost' into 'master'

Pipeline Graph Structural Update: Performance Boost 🚀

See merge request gitlab-org/gitlab!53400
parents 16a9be62 bb0fcaa7
...@@ -49,10 +49,10 @@ export const generateJobNeedsDict = (jobs = {}) => { ...@@ -49,10 +49,10 @@ export const generateJobNeedsDict = (jobs = {}) => {
// to the list of `needs` to ensure we can properly reference it. // to the list of `needs` to ensure we can properly reference it.
const group = jobs[job]; const group = jobs[job];
if (group.size > 1) { if (group.size > 1) {
return [job, group.name, ...newNeeds]; return [job, group.name, newNeeds];
} }
return [job, ...newNeeds]; return [job, newNeeds];
}) })
.flat(Infinity); .flat(Infinity);
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment