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

[rebuild] auto manage windows #16561

Merged
merged 1 commit into from
Feb 24, 2023
Merged

[rebuild] auto manage windows #16561

merged 1 commit into from
Feb 24, 2023

Conversation

akosyakov
Copy link
Member

Description

See #16535 for the motivation and loom for demo.

Related Issue(s)

fix #16535

How to test

From sources

  • Open this RP on gitpod.io
  • Run components/supervisor/validate.sh
  • It would start another workspace and should automatically open a new window.
  • Interrupt validate terminal, it should stop the workspace and corresponding windows should be auto closed as well.

Release Notes

NONE

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
Publish Options
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer Options
  • with-ee-license
  • with-slow-database
  • with-dedicated-emulation
  • with-ws-manager-mk2
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated

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

@@ -262,6 +267,11 @@ LoadingFrame.load().then(async (loading) => {
});
}
const supervisorServiceClient = SupervisorServiceClient.get();
if (debugWorkspace) {
supervisorServiceClient.supervisorWillShutdown.then(() => {
Copy link
Member Author

@akosyakov akosyakov Feb 24, 2023

Choose a reason for hiding this comment

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

(off-topic) just thinking, but with this event, we won't need anymore to know the status phase, i.e

  • when supervisorReady then show IDE instead of the loading screen
  • when supervisorWIllShutdown show the loading screen instead of IDE

@mustard-mh @jeanp413 ?

and instance id we can get from info endpoint already?

@roboquat roboquat added size/L and removed size/XL labels Feb 24, 2023
@akosyakov akosyakov changed the title [rebuild] : auto manage windows [rebuild] auto manage windows Feb 24, 2023
Copy link
Contributor

@iQQBot iQQBot left a comment

Choose a reason for hiding this comment

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

Test good

@roboquat roboquat merged commit ad26ca1 into main Feb 24, 2023
@roboquat roboquat deleted the ak/auto_windows branch February 24, 2023 14:52
@roboquat roboquat added deployed: IDE IDE change is running in production deployed Change is completely running in production labels Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: IDE IDE change is running in production deployed Change is completely running in production release-note-none size/L team: IDE
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[rebuild] better navigation flow to the workspace window
4 participants