-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Improve build performance of modules #12486
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
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heads up: I am reverting this change here 592ddd4
Removing the druid-console dependency makes the web console no longer be part of Druid...
The e2e tests do not run unless there are JS changes which is how this PR passed CI. I was struggling to figure out why my console PR (#12489) was failing to even start the e2e tests when it turned out that the console was just gone...
So I am adding this dependency back. Fun fact, my PR (linked above) will actually improve the console build speed a little bit by removing the
stylusdependency but obviously not as much as not building the console all together.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on ^, I think maybe we should consider running web e2e tests on java changes, instead of just web-console changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running web e2e tests on java changes may be too burden. IMO, we can add one test case to check if
localhost:888/unified-console.htmlreturns HTTP 200.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vogievetsky Do you mean the
druid-console.jaris missing in the distribution package after deleting the depedency declaration from server/pom.xml ?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The final distribution package is packaged by maven-assembly-plugin. I think we can make some modifications to the assembly file under
distribution/src/assembly/assembly.xmlto include thedruid-consolemodule in the final package. If it's viable, we don't need to includedruid-consolemodule in thedruid-servermodule which really looks a little bit strange.