-
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
Add new 'building' phase to workspaces #9453
Conversation
...rains/gateway-plugin/src/main/kotlin/io/gitpod/jetbrains/gateway/GitpodConnectionProvider.kt
Outdated
Show resolved
Hide resolved
4fcbc27
to
c00f147
Compare
All comments addressed @geropl. Still two outstanding issues that stop me having full confidence in this:
|
The |
@andrew-farries This is a recent bug we saw with preview-environments. I recommend trying to 1) rebase on
If you do |
hey, can you please rebase your branch before you continue working with your preview env? The old base contains a ws-daemon that logs expensively. To save costs, I'll manually remove the old preview env of this branch. Apologies for the inconvenience. |
c00f147
to
28617ff
Compare
/werft run with-clean-slate-deployment=true 👍 started the job as gitpod-build-af-add-new-workspace-phase.14 |
@meysholdt the Werft build for the branch fails after the rebase (with a clean slate deployment). Looks like its timing out trying to delete the |
927fcd1
to
9463f6f
Compare
Looking into the preview issues here 👀 |
9463f6f
to
1ddc7cc
Compare
/werft run 👍 started the job as gitpod-build-af-add-new-workspace-phase.18 |
@andrew-farries If you could fix this comment we're good to go! Tests looked good otherwise, code as well! 👍 |
…orwards-compatible)
1ddc7cc
to
3150c52
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works, code LGTM! 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good.
@akosyakov But we will never access to other phases...
- Gateway only opened if workspace phase is
runing
- Gateway will exit once we click
Stop Workspace
in browser
Why we need this? Is it a preparation for the future(like create workspace without browser)?
@mustard-mh you can connect on any phase from GW ui already now. In the future we would like to avoid going to browser at all. |
@akosyakov @mustard-mh Please note: this is just adding the type, and adding forward-compatible handlers (e.g., treating it as equal to "preparing"). We'll wait with the follow up PR to actually enable it once we switched all clients. W |
Description
Add a new
building
phase to the list of phases that a workspace passes through on its way to running. A workspace is inbuilding
iff its workspace docker image is being built.Related Issue(s)
Part of #9410
How to test
Refactoring that should have no effect on behaviour:
Release Notes
Documentation
None