-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Various prebuild issues #6391
Comments
/schedule |
@JanKoehnlein: Issue scheduled in the meta team (WIP: 0) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Quick update: I'm still trying to reproduce with a fork of the The error reads
Given that, if that's the situation here, then it would be logical to see the init tasks being executed on start up, just because there is no successful prebuild tarred & uploaded. On the |
@AlexTugarev if you have a few minutes, we can coordinate a quick call on Gitpod Discord, I'll be happy to walk you through replicating each one of the issues I wrote about. |
Sorry, as we're a bit swamped ATM, I have to unfortunately move this to our backlog. Chances to get this fixed are much better if you file separate GH issues for the individual problems. |
Many thanks for the in-depth debugging of how prebuilds work! 🙏 Based on #6391 (comment), removing temporarily from Groundwork, although I agree we should fix these problems if they still occur. Additionally, I agree that it would be better to have separate issues for separate problems, in order to know which problems are already solved and which ones still need work. |
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. |
Hey @shaal! The log related issues were already tackled in separate PRs, and while the situation is still not ideal, the reported issue 1.) was resolved. I retested push events on a fork of the repo posted, and added a similar notification to the Which turns out to work as expected, the prebuild ran and the endpoint got called a single time: With that, I'm going to close this issue here. Let's create smaller ones and solve separately if something else pops up. |
Thank you! I'll report new issues if I see anything. |
Bug description
I've been working a lot with prebuilds, and some issues are still not resolved:
When creating a PR and running a prebuild for the FIRST time, you can go to the Gitpod's URL of the project (ie: https://gitpod.io/#https://github.com/drud/ddev) and you can see all the commands that the prebuild is running.

But when making new commits after that, and you'll only see "Connecting to workspace logs...".
A prebuild IS RUNNING in the background, but there's no visual representation of what's happening, and when prebuild is done the workspace is reloaded on that browser tab.
Related: Project Configuration - Run Prebuild always shows "Connecting to workspace Logs..." #6305
I set a special webhook to send me an email when a prebuild is running (https://github.com/shaal/DrupalPod/blob/ready-made-envs/.gitpod.yml#L8), every time a prebuild is running, I am getting 2 emails, so for some reason the prebuild is called and running twice, but I don't know why.
(Noticeable on projects with
init
start-tasks that take a long time, and perhaps related to the previous issue of prebuild running twice) -After manually initiating a prebuild (or pushing a commit), if you go to the Gitpod URL of the project, you will see the Prebuild page (which is expected After Prebuild finish running), and the Gitpod workspace opens, instead the new workspace using the
prebuild
that just finished, it runs all theinit
tasks of the prebuild all over again.If you close this workspace, and open a new workspace, now prebuild is trully reloaded, and only
command
tasks are running in the workspace.Steps to reproduce
init
tasks (ie. https://github.com/shaal/DrupalPod)Workspace affected
No response
Expected behavior
Example repository
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: