Skip to content
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

[supervisor] active client notifications #16056

Closed
wants to merge 1 commit into from
Closed

Conversation

akosyakov
Copy link
Member

@akosyakov akosyakov commented Jan 26, 2023

Description

Related Issue(s)

Fixes #8191

How to test

Release Notes

Documentation

Build Options:

  • /werft with-github-actions
    Experimental feature to run the build with GitHub Actions (and not in Werft).
  • leeway-no-cache
    leeway-target=components:all
  • /werft no-test
    Run Leeway with --dont-test

Preview Environment Options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh

Sorry, something went wrong.

@roboquat
Copy link
Contributor

@akosyakov: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-ak-ide-no-env-vars.1 because the annotations in the pull request description changed
(with .werft/ from main)

@akosyakov
Copy link
Member Author

akosyakov commented Jan 26, 2023

/werft run with-clean-slate-deployment=true recreate-vm=true

👍 started the job as gitpod-build-ak-ide-no-env-vars.2
(with .werft/ from main)

@akosyakov
Copy link
Member Author

akosyakov commented Jan 27, 2023

/werft run with-clean-slate-deployment=true recreate-vm=true

👍 started the job as gitpod-build-ak-ide-no-env-vars.3
(with .werft/ from main)

@akosyakov akosyakov force-pushed the ak/ide_no_env_vars branch 2 times, most recently from 075fd05 to 157a08f Compare January 27, 2023 13:25
@akosyakov
Copy link
Member Author

akosyakov commented Jan 27, 2023

/werft run

👍 started the job as gitpod-build-ak-ide-no-env-vars.6
(with .werft/ from main)

@stale
Copy link

stale bot commented Feb 12, 2023

This pull request 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.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Feb 12, 2023
@stale stale bot closed this Feb 19, 2023
@akosyakov akosyakov reopened this Mar 9, 2023
@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label Mar 9, 2023
@akosyakov
Copy link
Member Author

I will try a bit another approach with a stack of active client, since it turned out that some clients (JB) don't actually have a way to detect whether they are focused or not. An idea then that latest subscription will win otherwise fail to previous one. It should allow VS Code to grab the focus and then VS Code window is closed fall back to JB window.

@akosyakov akosyakov force-pushed the ak/ide_no_env_vars branch from c4fdd56 to 3f513bb Compare March 9, 2023 10:39
@@ -998,6 +998,16 @@ func buildChildProcEnv(cfg *Config, envvars []string, runGP bool) []string {
envs["JAVA_TOOL_OPTIONS"] += fmt.Sprintf(" -Xmx%sm", mem)
}

if envs["EDITOR"] == "" {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it could break since so far we were forcefully overriding such env vars

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-ak-ide-no-env-vars.10 because the annotations in the pull request description changed
(with .werft/ from main)

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-ak-ide-no-env-vars.11 because the annotations in the pull request description changed
(with .werft/ from main)

@akosyakov akosyakov force-pushed the ak/ide_no_env_vars branch 3 times, most recently from 92be0f7 to e4c9fbc Compare March 10, 2023 14:48
@akosyakov akosyakov force-pushed the ak/ide_no_env_vars branch from e4c9fbc to 179ab83 Compare March 10, 2023 20:24
@stale
Copy link

stale bot commented Mar 23, 2023

This pull request 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.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Mar 23, 2023
@stale stale bot closed this Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[code] fix gp cli while running next to jb product
2 participants