Skip to content

Build FAILED with VersionLocked exception but it recovers #3746

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
humitos opened this issue Mar 7, 2018 · 7 comments
Closed

Build FAILED with VersionLocked exception but it recovers #3746

humitos opened this issue Mar 7, 2018 · 7 comments
Labels
Accepted Accepted issue on our roadmap Bug A bug

Comments

@humitos
Copy link
Member

humitos commented Mar 7, 2018

If the build raises Version locked, retrying in 5 minutes. it's marked as FAILED.

Then, 5 minutes later, it's re-triggered and it changes it state to Triggered, Clonning, Installing, etc.

I suppose that we do want to re-trigger the build for the same version because it could happen that we receive two webhook one next to the other with different commits on it. So, the first build for that version does not represent the latest data.

So, I think this is a matter of UI more than a technical aspect. I think we shouldn't tell the user that the build has failed and then change the status because this is kind of confusing. Maybe we need another status to inform this, I don't know.

@humitos humitos added Improvement Minor improvement to code Needed: design decision A core team decision is required labels Mar 7, 2018
@humitos humitos added this to the Build error reporting milestone Mar 7, 2018
@offbyone
Copy link

offbyone commented Nov 2, 2018

I'm not sure you would consider this part of the design, but receiving a "build failed" email in this retryable state is somewhat odd too; there's no action I can take on that email. If I'm watching doc builds closely for some reason, I'll be on the site doing so, and if I'm not worried about it -- if I'm happy to let it slide for a while -- then I don't really need the big FAILED in my inbox.

@humitos
Copy link
Member Author

humitos commented Nov 2, 2018

We do not want to send notifications on retry.

If you are receiving any kind of email when the version is locked, it's because I introduce a bug some time ago and I already fixed it but it's not deployed yet: #4839

My idea when I opened this issue is to "not mark the status as FAILED" because when it's FAILED I suppose, as a user, that it has ended and failed. I don't expect this particular build to re-trigger and change the status as SUCCESS.

@agjohnson
Copy link
Contributor

This was never closed on a release with a fix, but I think we now have a regression on this as well. I have reports from readthedocs.com of these notifications going out -- and the same, the build finally continues once unlocked and the project will successfully build.

@agjohnson agjohnson added Bug A bug and removed Improvement Minor improvement to code Needed: design decision A core team decision is required labels Jul 29, 2019
@stale
Copy link

stale bot commented Sep 12, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: stale Issue will be considered inactive soon label Sep 12, 2019
@stsewd stsewd removed the Status: stale Issue will be considered inactive soon label Sep 12, 2019
@agjohnson agjohnson added the Accepted Accepted issue on our roadmap label Sep 24, 2019
@stsewd
Copy link
Member

stsewd commented May 7, 2020

@humitos I think we shouldn't be hitting this anymore now that we are with single process builds, right?

@stsewd stsewd added the Needed: more information A reply from issue author is required label May 7, 2020
@humitos
Copy link
Member Author

humitos commented May 11, 2020

That's right in production. We will still have this issue on local environment.

@no-response no-response bot removed the Needed: more information A reply from issue author is required label May 11, 2020
@humitos
Copy link
Member Author

humitos commented Mar 18, 2021

We will still have this issue on local environment.

Only if we use +1 builders.

However, I think we can close this issue since is kind of irrelevant at this point.

@humitos humitos closed this as completed Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Accepted issue on our roadmap Bug A bug
Projects
None yet
Development

No branches or pull requests

4 participants