Skip to content

Prebuilds are stuck in pending state #9392

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
princerachit opened this issue Apr 19, 2022 · 4 comments
Closed

Prebuilds are stuck in pending state #9392

princerachit opened this issue Apr 19, 2022 · 4 comments
Labels
team: webapp Issue belongs to the WebApp team type: bug Something isn't working

Comments

@princerachit
Copy link
Contributor

Bug description

Several prebuilds of my project are stuck in pending state.
On investigating I saw their state in database was queued.

I can see that there are 5K+ prebuilds in queued state.

select count(*) from d_b_prebuilt_workspace where creationTime > '2022-04-18 06:30:28.948681 UTC' and creationTime < '2022-04-19 06:30:28.948681 UTC' and state = 'queued';

5048

Steps to reproduce

Push several branches in your project's repo.
You will see all the prebuilds getting stuck in pending state.

For some branches e.g. main prebuilds might run and succeed.

Workspace affected

No response

Expected behavior

Prebuilds should run after few minutes in pending state.

Example repository

https://github.com/princerachit/pub

Anything else?

No response

@svenefftinge
Copy link
Member

While the reported issue seem to have been caused by an db-sync problem, I see ~6k queued entries without the date filters. Some of them from 2019.

@princerachit
Copy link
Contributor Author

princerachit commented Apr 19, 2022

I am closing this issue as the related incident has been resolved. @svenefftinge maybe we can check with @gitpod-io/engineering-webapp team about those entries and create a separate issue if required.

@svenefftinge
Copy link
Member

ok done #9395

@geropl
Copy link
Member

geropl commented Apr 19, 2022

@svenefftinge Ok you were faster. Copying over to #9395 s description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team: webapp Issue belongs to the WebApp team type: bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants