-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Launching manual prebuild via URL keeps reloading the page #6688
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
Comments
Also reported by another user via support. |
/schedule |
@jldec: 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. |
I tried this with one of my repos: https://gitpod.io/#prebuild/https://github.com/jldec/asyncbuilder.git |
Cross-linking relevant discussion from discord. |
This just triggered an incident because error rates went up. We should fix this before it get's costly again. 🙂 |
We previously agreed to deprecate this manual prefix ( Maybe we can mark this prefix as deprecated in the docs and make it redirect to the most sensible place. I can give this a go: /assign |
I just repro'd another redirect loop with 28 cycles by prefixing a minmal repo which contains just a readme. I would prioritize as follows:
|
The new Projects UI is great, and a redirect or message for anyone who try using |
Ah, you're right. There is a Another reason we did that was that a lot of the Prebuild code assumes that a single commit can only have a single (successful) Prebuild associated to it. Could you please provide more details on your use case for triggering new Prebuilds without pushing new commits? (I believe you use that to make the running Prebuilds interactive, and SSH into them to observe or live-debug them, right?) |
@jankeromnes that too. In upcoming version of DrupalPod, I offload the whole "full" prebuild process (that would take half an hour) to a separate manual process. During prebuild itself, I just download the artifacts that were produced during the manual process from Google Cloud. So when something external changes, and my repo fetch that during prebuild, I'll need to re-run prebuild. |
One more thought before we shut down the manual prebuild URL - I am thinking of moving DrupalPod from GitHub to Drupal's own Gitlab self-hosted instance (i.e. https://git.drupalcode.org/project/drupalpod) Currently, I can manually trigger that repo with I cannot add that project - https://git.drupalcode.org/project/drupalpod to my gitpod.io/projects page, so I cannot manage it through the UI. |
Ah, indeed you're right, that's an excellent point. If we disable the I guess this sort of disqualifies 2. and 3. from #6688 (comment), leaving only:
as a reasonable option. Let's see if I can understand and fix the redirect problem. |
Okay, @AlexTugarev identified that the infinite redirect loop is likely caused by this fix 1de8d78 currently not being deployed on workspace clusters. So, this bug will likely be resolved by the next workspace cluster deployment. /unassign |
Thank you @jankeromnes |
I like this question 😁 we do have some tests (e.g. unit tests for some things like DB entities & persistence), but this bug highlights an area were we still should improve. I know of some integration tests we've built (but they are not reliable enough, so we typically ignore them, which makes the problem worse 🙈) and I've heard about plans to have interactive UI tests in the IDE, but all-in-all, I'd say our testing situation isn't that great yet. |
Has this issue been solved? I am currently unable to reproduce this issue. (on prebuild scenes) @shaal |
I cannot replicate this issue any more. Do you know what was the code that broke / the code that fixed it? |
@shaal I think maybe this. |
Only the problem of prebuild failure is addressed here, and the infinite loop will be addressed in a separate issue |
Bug description
When using

gitpod.io/#prebuild/<repo_url>
Page keeps reloading itself every second, eventually gets to this screen -
While this is happening, open a new tab with
gitpod.io/#<repo_url>
(withoutprebuild
), the screen shows a prebuild is running (terminal view), but nothing is happening.When the process is done, opening the repo URL in Gitpod works fine, and it seems that prebuild ran successfully.
Steps to reproduce
Workspace affected
No response
Expected behavior
No response
Example repository
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: