Open gtsiolis opened 2 years ago
Cross-posting from a relevant discussion (internal):
@jankeromnes: However, we should probably avoid this right now, especially for European pro[j]ects, because incremental will double the amount of network transfer when creating new prebuilds, and since prebuilds all run in the US, doubling our expensive EU-US network traffic could be expensive.
See also https://github.com/gitpod-io/gitpod/issues/6650 and https://github.com/gitpod-io/ops/issues/2595 (internal).
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.
I believe this issue should now be rewritten to:
Then we could also try to suggest a reasonable "Skip Prebuilds" value, e.g.
Problem to solve
Currently, incremental prebuilds exist inside project settings as a toggle option users can enable for a project.
However, this feature is only referenced in one changelog entry[1] and slightly documented (see section in prebuilds docs).
See also relevant discussion (internal). Cc @atduarte @geropl @jankeromnes
Proposal
MVC Step 1
Similarly to https://github.com/gitpod-io/gitpod/issues/9232, we could detect when project prebuilds on average take longer than 10 minutes and nudge users to enable incremental prebuilds using an alert within the project prebuilds page.
We could use:
MVC Step 2
Additionally, although prebuilds eventually will be available to enable only via Projects, we could surface a similar alert on the workspace start page for repositories that have not been added as projects yet, nudging users to create a project and enable incremental prebuilds.
TBD (To be discussed)