Skip to content

Conversation

@nkinkade
Copy link
Contributor

@nkinkade nkinkade commented Mar 19, 2024

A production build failed with this error:

Cannot operate on apps/measurement-lab because an operation is already in progress for apps/measurement-lab

Looking at the build step timing compared to the operations in App Engine, there is a very tight timing issue. This commit adds a new build step that waits for the most recent pending operation to complete before moving on to deploying dispatch.yaml. I believe this should safeguard against this particular error condition in the build.


This change is Reviewable

A production build failed with this error:

> Cannot operate on apps/measurement-lab because an operation is already in progress for apps/measurement-lab

Looking at the build step timing compared to the operations in App Engine,
there is a very tight timing issue. This commit adds a new build step that
waits for the most recent pending operation to complete before moving on to
deploying dispatch.yaml. I _believe_ this should safeguard against this
particular error condition in the build.
@nkinkade nkinkade requested a review from cristinaleonr March 19, 2024 18:50
Copy link

@cristinaleonr cristinaleonr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: :shipit: complete! 1 of 1 approvals obtained

@nkinkade nkinkade merged commit d529df9 into main Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants