-
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
validate jb warmup #18050
validate jb warmup #18050
Conversation
85ed3eb
to
781a0d7
Compare
781a0d7
to
3f27877
Compare
c72c93f
to
3725fb2
Compare
@@ -490,9 +490,9 @@ func (s *IDEServiceServer) ResolveWorkspaceConfig(ctx context.Context, req *api. | |||
resp.IdeSettings = ideSettingsEncoded.String() | |||
} | |||
|
|||
// TODO figure out how to make it configurable on IDE level, not hardcoded here | |||
jbGW, ok := ideConfig.IdeOptions.Clients["jetbrains-gateway"] | |||
if req.Type == api.WorkspaceType_PREBUILD && ok { |
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.
prebuilds are not working right now anyway, so we don't make it backward compatible
0a37ba8
to
1a86c8c
Compare
1a86c8c
to
8cd3514
Compare
@@ -490,9 +490,9 @@ func (s *IDEServiceServer) ResolveWorkspaceConfig(ctx context.Context, req *api. | |||
resp.IdeSettings = ideSettingsEncoded.String() | |||
} | |||
|
|||
// TODO figure out how to make it configurable on IDE level, not hardcoded here |
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.
we deal with it later, it will need some kind of metadata configuration in the image itself that we can compare it against .gitpod.yml and configs here and decide
@iQQBot Could you have a look at it please? I would like to land it and proceed with actual troubleshooting of JB warmups in production 🙏 |
/unhold |
Description
This PR extract JB warmup task configuration from server to JB integration itself to enable usage of
gp validate
to investigate warmup issues in the regular workspace. Composition of IDE prebuild tasks are done by supervisor, i.e. it can detect multiple desktop IDEs now.Related Issue(s)
A prerequisite to IDE-182
How to test
Documentation
Preview status
Gitpod was successfully deployed to your preview environment.
Build Options
Build
Run the build with werft instead of GHA
Run Leeway with
--dont-test
Publish
Installer
Add desired feature flags to the end of the line above, space separated
Preview Environment
If enabled this will build
install/preview
If enabled this will create the environment on GCE infra
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh
/hold