-
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
Epic: Incremental Workspaces #12582
Comments
Thanks @svenefftinge for proposing this and #12583! I agree that implementing these two ideas could be a game changer, allowing very large + high-frequency projects to benefit from prebuilds as well. (And I also really like the
On the "Prebuild in progress" UX, I wonder whether it's better to:
I.e. maybe sometimes, you do actually want to start from scratch? (E.g. if you've recently committed a change to your build system, and you know that any old prebuild will be heavy, slow, and 100% useless?) |
I think this change together with #12583 would make it so that you don't see that UI anymore. We should still think about improving it maybe, but let's explore that separately and later. |
Starting prebuilds should be as fast as possible.
Incremental Workspaces would allow starting a workspace using a prebuild that ran for an older commit (based on commit history) and then run the init tasks on top of that when the workspace starts. This allows benefitting from the caching on the file system just like you would in a local dev environment.
Activating this behavior would mean that users never get to see the 'prebuild in flight' view anymore as we would ignore non-finished rebuilds and only consider finished ones when starting a workspace.
internal RFC https://www.notion.so/gitpod/Incremental-Workspaces-08507a1d569c4c15ba6493d7380a5637
Related to #12583
EDIT by @jankeromnes -- steps:
The text was updated successfully, but these errors were encountered: