Skip to content

Update Ci::BuildMetadata with association

Max Orefice requested to merge morefice/update-build-metadata into master

What does this MR do and why?

Following up !103998 (merged)

ci_builds_metadata has recently been partitioned and we cannot use find_by yet.

This MR loads build_metadata with the association to make sure partition_id is filtered automatically and it will not have to scan all partitions.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Max Orefice

Merge request reports