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

Create vendor dll for the client modules #22618

Merged
merged 219 commits into from
Dec 5, 2018

Conversation

mistic
Copy link
Member

@mistic mistic commented Sep 1, 2018

This PR gives kibana the ability of use webpack dlls for the used node_modules by the client. It has a lot of positive sides including for example the ability to just delete every node_module already bundled into the dll from our final distribution node_modules path (but there are a lot of others).

All the work stages, goals/benefits and results are listed in the following issue #20749. Please take a look in order to get more info.

Additionally this PR also extends the current watch optimizer cache, achieved by #2417 . With this extension the watch optimizer cache invalidation would also be responsible for delete the DLL bundle automatically as soon as it becomes stale.

I wanna thanks to everyone that help me through this journey specially to @spalger, @tylersmalley and ofc my sweet @elastic/kibana-operations team.

mistic added 30 commits July 12, 2018 06:11
@tylersmalley

This comment has been minimized.

@elasticmachine

This comment has been minimized.

@tylersmalley

This comment has been minimized.

@tylersmalley
Copy link
Contributor

Verified plugin install containing a dependency not in Kibana.

Install time went from 276s to 161s, a 41.6% reduction. 👏

@mistic
Copy link
Member Author

mistic commented Dec 4, 2018

oh yeah! @tylersmalley do you think we are good to go?

@elastic elastic deleted a comment from elasticmachine Dec 4, 2018
Copy link
Contributor

@spalger spalger left a comment

Choose a reason for hiding this comment

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

Just pulled and tried it out, LGTM!

@elasticmachine

This comment has been minimized.

@elasticmachine

This comment has been minimized.

@elasticmachine

This comment has been minimized.

@elasticmachine

This comment has been minimized.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@mistic mistic merged commit d5b2c8e into elastic:master Dec 5, 2018
mistic added a commit that referenced this pull request Dec 5, 2018
* chore(NA): merge and solve conflicts with 6.x when backporting.

* chore(NA): updated kbn pm file.
@mistic
Copy link
Member Author

mistic commented Dec 5, 2018

6.x: 42102ba

tylersmalley pushed a commit that referenced this pull request Jan 22, 2019
Filters out any x-pack workspaces from OSS builds. Fixes an issue introduced by #22618 that was causing the Infra plugin code to be included in the node_modules for OSS builds.
tylersmalley pushed a commit to tylersmalley/kibana that referenced this pull request Jan 22, 2019
Filters out any x-pack workspaces from OSS builds. Fixes an issue introduced by elastic#22618 that was causing the Infra plugin code to be included in the node_modules for OSS builds.
tylersmalley pushed a commit to tylersmalley/kibana that referenced this pull request Jan 22, 2019
Filters out any x-pack workspaces from OSS builds. Fixes an issue introduced by elastic#22618 that was causing the Infra plugin code to be included in the node_modules for OSS builds.
tylersmalley added a commit that referenced this pull request Jan 22, 2019
Filters out any x-pack workspaces from OSS builds. Fixes an issue introduced by #22618 that was causing the Infra plugin code to be included in the node_modules for OSS builds.
tylersmalley added a commit that referenced this pull request Jan 22, 2019
Filters out any x-pack workspaces from OSS builds. Fixes an issue introduced by #22618 that was causing the Infra plugin code to be included in the node_modules for OSS builds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review Team:Operations Team label for Operations Team v6.6.0 v7.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants