Skip to content

fix: SnykCode root nodes update after scan finished [ROAD-439] #196

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
Oct 19, 2021

Conversation

ArtsiomCh
Copy link
Contributor

!!! Could (and should) be reviewed/merged only after snyk/code-sdk-java#26

@ArtsiomCh ArtsiomCh requested a review from pavel-snyk October 17, 2021 13:38
addHMLPostfix = securityIssuesHMLPostfix
)
}
updateTreeRootNodesPresentation(
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you share why ApplicationManager.getApplication().invokeLater removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are already inside EDT (fun caller is under invokeLater) so no real need to wrap it here again.
It was putted there by wrong assumption and later left as workaround to create artificial delay to let "right" thread win in race condition. :)

Copy link
Contributor

@aldanchenko aldanchenko left a comment

Choose a reason for hiding this comment

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

LGTM 👍 , but also we need to check why build fails

@pavel-snyk
Copy link
Collaborator

@aldanchenko , it will fail unless code-sdk-java will be deployed to Maven Central.

@aldanchenko
Copy link
Contributor

@pavel-snyk thanks for clarification! 👍

@ArtsiomCh ArtsiomCh marked this pull request as ready for review October 19, 2021 13:49
@ArtsiomCh ArtsiomCh requested a review from a team as a code owner October 19, 2021 13:49
@ArtsiomCh ArtsiomCh closed this Oct 19, 2021
@ArtsiomCh ArtsiomCh reopened this Oct 19, 2021
@ArtsiomCh ArtsiomCh merged commit 2f2e7d2 into master Oct 19, 2021
@ArtsiomCh ArtsiomCh deleted the fix/snykcode_root_nodes_update branch October 19, 2021 13:57
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.

3 participants