Fix N+1 issue for deployment path

What does this MR do and why?

Fix N+1 issue for deployment path

Preload deployment metadata for builds and bridges.

Changelog: fixed

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #549069

Merge request reports

Loading