-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[prebuilds] Automatically disable prebuilds for projects without active Workspace usage #8911
Comments
Many thanks @easyCZ for filing this issue! 💯 I'm very much in favour of this.
As for a technical approach, I guess we could implement a
Then, I think we could possibly add another method to our GarbageCollector, that checks for projects (cloneURLs) which have prebuilds in the past 3 months, but none of these recent prebuilds were actually used to start a workspace, then just disable prebuilds for that project. gitpod/components/server/src/workspace/garbage-collector.ts Lines 40 to 49 in 2f0b946
|
See also research issue (internal) |
@jankeromnes @easyCZ Another dimension to consider is tuning how aggressively we stop doing prebuilds based on the plan for the user. For example, we might want to be clean-up more aggressively for free plans, but, less aggressively with pay plans. |
@atduarte for awareness |
@easyCZ I seem to recall this (or something like it) being socialized recently, and just wanted to bump this issue for awareness. 👋 Hope you're well! |
Spontaneously jumping on this issue, as it seems important and compelling. 😁 EDIT: See also internal thread discussing implementation of a fix. |
Fixes #8911 Fixes prebuild rate limit
Fixes #8911 Fixes prebuild rate limit
Fixes #8911 Fixes prebuild rate limit
Thank you, @jankeromnes ! 🤗 |
Is your feature request related to a problem? Please describe
In some instances, users configure Gitpod for a repository but do not actively start workspaces to develop in Gitpod.
Because of our prebuilds - optimization to get you to run workspaces faster, we continue to react to pushes to the repository and create prebuilds. However, these prebuilds are not useful as the users do not actively use gitpod to develop these.
In this scenario, we should consider reduce the number of prebuilds triggered from these repositories. Some options for doing this:
With this change, we need to strike the balance of convenience for the user and fairness in a multi-tenant system.
Originally raised by @kylos101.
The text was updated successfully, but these errors were encountered: