gitpod-io / gitpod

The developer platform for on-demand cloud development environments to create software faster and more securely.
https://www.gitpod.io
GNU Affero General Public License v3.0
12.71k stars 1.21k forks source link

Show enable prebuilds checkbox on new project creation #15281

Closed jldec closed 1 year ago

jldec commented 1 year ago

Many projects do not need a prebuild, so running one when a new project is created, is confusing / surprising for users.

Also, the usage-collection for this prebuild is not working.

jankeromnes commented 1 year ago

Many projects do not need a prebuild, so running one when a new project is created, is confusing / surprising for users.

Note: Running a first prebuild is currently the "trick" we use to "enable" prebuilds (i.e. a manually triggered prebuild will also install a webhook for future prebuilds to be run).

If we don't trigger a first prebuild, we will no longer enable prebuilds by default for each project (potentially surprising too? E.g. create a project, commit a .gitpod.yml with an init task... then still no prebuilds? 😳) -- the only way to "enable" prebuilds will then be for the user to click on a "Run Prebuild" button manually.

Also, do we want a way to "disable prebuilds" if you no longer need them?

Also, the usage-collection for this prebuild is not working.

This sounds like a separate bug that should also be fixed.

svenefftinge commented 1 year ago

I think it would be good to ask the user to enable prebuilds (checkbox?) while creating the project. Also in the settings it would be great to be able to disable prebuilds which turns the entire prebuilds section disabled or folded. We could use this for the automatic disabling as well, so that users can enable manually again.

geropl commented 1 year ago

Dropped @jankeromnes as he's off, so we need to find some else to progress it.

stale[bot] commented 1 year ago

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.