-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[inner loop poc] debug workspace window #15490
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
Conversation
started the job as gitpod-build-ak-new-window.2 because the annotations in the pull request description changed |
started the job as gitpod-build-ak-new-window.3 because the annotations in the pull request description changed |
77a5ead
to
2cebccc
Compare
202496c
to
1851499
Compare
/werft run 👍 started the job as gitpod-build-ak-new-window.21 |
/werft run with-integration-tests=workspace with-large-vm=true 👍 started the job as gitpod-build-ak-new-window.22 |
50f0ee9
to
c127011
Compare
/werft run recreate-vm=true 👍 started the job as gitpod-build-ak-new-window.34 |
56477f3
to
330a901
Compare
/werft run recreate-vm=true 👍 started the job as gitpod-build-ak-new-window.40 |
d51162d
to
909de18
Compare
7f1618a
to
ff46269
Compare
/werft run recreate-preview 👍 started the job as gitpod-build-ak-new-window.52 |
731d16d
to
aefc560
Compare
This comment was marked as outdated.
This comment was marked as outdated.
@akosyakov you need to squash all commits to one (because GitGuardian) with latest |
@Siddhant-K-code There is only one commit 🤔 |
GitGuardian is failing due to this PR |
I think it is fine, it means a user should install it. |
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.
Reviewed and tested! ✅
When running without the feature flag or running VS Code Stable, it doesn't show the new actions for .gitpod.yml. After activating the feature for my user, all buttons were there and worked as described. And I didn't see any regression during the tests.
@jenting could you review this PR? There are |
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.
LGTM in general
641d824
to
7de88b2
Compare
/werft run 👍 started the job as gitpod-build-ak-new-window.59 |
@@ -16,10 +16,10 @@ const baseWorkspaceIDRegex = | |||
"(([a-f][0-9a-f]{7}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})|([0-9a-z]{2,16}-[0-9a-z]{2,16}-[0-9a-z]{8,11}))"; | |||
|
|||
// this pattern matches v4 UUIDs as well as the new generated workspace ids (e.g. pink-panda-ns35kd21) | |||
const workspaceIDRegex = RegExp(`^${baseWorkspaceIDRegex}$`); | |||
const workspaceIDRegex = RegExp(`^(?:debug-)?${baseWorkspaceIDRegex}$`); |
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.
@geropl Could someone have a look please? 🙏
it is rather only this change for webapp. It does not really affect anythin besides supervisor frontend as far as I aware.
Debug workspaces are started within a regular workspace, not via Gitpod itself.
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.
Debug workspaces are started within a regular workspace, not via Gitpod itself.
That would be an excellent doc comment on the debugWorkspace
property below.
Co-authored-by: Anton Kosyakov <anton@gitpod.io> Co-authored-by: Victor Nogueira <victor@gitpod.io> Co-authored-by: Andrea Falzetti <andrea@gitpod.io>
Description
This PR introduces an experimental approach to debug gitpod workspace configuration. To be tested internally first, this will allow testing
.gitpod.yml
and.gitpod.Dockerfile
within a workspace without the need togit push
such files.For demo, see an internal thread.
The debug location:
This PR as well fixes service VS Code production built from sources (not blobserve) and align serving of webviews for production (workspace locations) and in dev mode (port location).
Related Issue(s)
Fixes #
How to test
Test for regressions
Test for feature flag
Release Notes
Documentation
Werft options:
If enabled this will build
install/preview
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh