Skip to content

Resolve BatchLoader proxy before creating new Deployment

What does this MR do and why?

When retrying a Build sometimes the Deployment fails to create with it's Environment due to a bug in BatchLoader which keeps unresolved BatchLoader queries from creating a new Deployment

The solution is to resolve the BatchLoader manually before passing onto the new Deployment

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

  1. Setup a manual deployment job with an environment in a project
  2. Run the manual deployment job and wait for it to complete
  3. Stop the environment
  4. Retry the manual deployment job and wait for it to complete
  5. Notice how the environment is marked as available

MR acceptance checklist

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

Related to #355618 (closed)

Edited by Allen Cook

Merge request reports