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

Track e2e startup time #1202

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Track e2e startup time #1202

wants to merge 1 commit into from

Conversation

jdneo
Copy link
Member

@jdneo jdneo commented May 29, 2023

No description provided.

Signed-off-by: Sheng Chen <[email protected]>
while(!javaExt.isActive && count < timeout) {
await delay(1000);
count += 1000;
}
Copy link
Contributor

@testforstephen testforstephen May 29, 2023

Choose a reason for hiding this comment

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

The condition branch if (javaExt && !javaExt.isActive) should end at L130. Otherwise, the subsequent code won't be executed if the Java extension is already activated.

Copy link
Member Author

Choose a reason for hiding this comment

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

I was intended to do this, while not sure if this makes enough sense. What do you think about the follow case:

  1. In an empty workspace, user triggers some redhat.java specific command. such as
    image to open a webview.
  2. Then, redhat.java will be activated, while pack is not.

So the purpose here is to make sure that two extensions are almost activated at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants