Skip to content

[jetbrains launcher] introduce backward compatible warmup command #15243

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

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

andreafalzetti
Copy link
Contributor

@andreafalzetti andreafalzetti commented Dec 8, 2022

Description

Introducing a warmup cmd in status component (in the futrue it'll be renamed to jetbrains-launcher ) as a first step to land this PR: #15233 with the end goal of moving the warmup logic in the jetbrains component instead of being in server or ide-service.

Related Issue(s)

Relates to #6740

How to test

Already tested but if want to double check:

  1. Start a workspace in prev env for IntelliJ stable or later shoudl not matter
  2. Make sure it works, backend control center is visible

Release Notes

NONE

Documentation

Werft options:

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

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-ide-jb-warmup-logic-status.2 because the annotations in the pull request description changed
(with .werft/ from main)

@roboquat roboquat added the size/M label Dec 8, 2022
@andreafalzetti andreafalzetti marked this pull request as ready for review December 8, 2022 13:44
@andreafalzetti andreafalzetti requested a review from a team December 8, 2022 13:44
@akosyakov
Copy link
Member

@andreafalzetti Should not we squash and add co-authors?

Copy link
Member

@akosyakov akosyakov left a comment

Choose a reason for hiding this comment

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

/hold

I did not try, but code worked during teaming.

Please unhold after cleaning up commits. 🙏

var warmup bool

if len(os.Args) < 2 {
log.Fatalf("Usage: %s (warmup|<port>)\n", os.Args[0])
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think warmup is the first arg here

Co-authored-by: Victor Nogueira <[email protected]>
Co-authored-by: Anton Kosyakov <[email protected]>
@andreafalzetti andreafalzetti force-pushed the ide/jb-warmup-logic-status branch from 98a48ea to b702f97 Compare December 8, 2022 14:00
@andreafalzetti
Copy link
Contributor Author

andreafalzetti commented Dec 8, 2022

thanks for the reviews 🙏

I've tested and address the comments, so I will unhold :)

/unhold

@roboquat roboquat merged commit 41e2895 into main Dec 8, 2022
@roboquat roboquat deleted the ide/jb-warmup-logic-status branch December 8, 2022 15:14
@roboquat roboquat added deployed: IDE IDE change is running in production deployed Change is completely running in production labels Dec 9, 2022
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 editor: jetbrains release-note-none size/M team: IDE
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants