Skip to content

Checking for metadata when triggering debug_mode?

Max Fan requested to merge 440462-add-metadata-check-to-builds into master

What does this MR do and why?

There are existing old builds that were present before metadata was introduced

These builds do not have a corresponding metadata and was never backfilled. See related issue for error message.

MR acceptance checklist

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

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. Easiest is to test via console/unit testing
  2. Create a build
  3. Destroy the metadata associated with that build
  4. Asking the build debug_mode? will no longer error

Related to #440462 (closed)

Edited by Max Fan

Merge request reports