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

[DRAFT EXPLORATION] chore(NA): upgrade to webpack 5 #191106

Draft
wants to merge 202 commits into
base: main
Choose a base branch
from

Conversation

mistic
Copy link
Member

@mistic mistic commented Aug 22, 2024

WIP

Summary

TODO

  • Upgrade dependencies to match the ones on webpack v5
  • Fix null-loader usages
  • Fix raw-loader usages
  • Fix file-loader usages
  • Fix url-loader usages
  • Fix @kbn/optimizer-webpack-helpers to support webpack v5
  • Adopt previous webpack v4 polyfill-all strategy with node-polyfill-webpack-plugin
  • Fix theme-loader on @kbn/optimizer
  • Migrate configurations and ad-hoc loader options on all webpack configs from v4 to v5
  • Fix @kbn/test jest resolver for file-loader cases
  • Migrate public-path loader on UiSharedDeps
  • Fix all usages of webpack-merge
  • Migrate BundleRemoteModule
  • Migrate BundleRemotesPlugin
  • Correctly migrate PopulateBundleCachePlugin
  • Correctly migrate BundleMetricsPlugin
  • Check if the profiling plugins still work (--profile flag)
  • Recover if possible the previous webpack v4 cacheGroup chunks rename to something like data.plugin.chunk.0.js
  • Run /ci and make sure we get our first green CI, otherwise work on the errors until we do
  • Profile and solve bottlenecks until we get a cold build performance similar to the one we had on webpack v4 (node scripts/build_kibana_platform_plugins --no-cache).
  • OpenSSL Legacy Warnings: try to remove --openssl-legacy-provider flags
  • Add Webpack to Renovate config
  • Explore removing NodePolyfillPlugin (here) and add each polyfill needed individually per each webpack config to check if we get smaller bundles. If we do it's better to go with the case by case need approach instead of deploying a bunch of polyfills with NodePolyfillPlugin. As another alternative, create a custom smaller plugin with only the union of all needed polyfills.
  • Evaluate if we want to touch the resolutions on mainFields and conditionNames
  • Understand why @import 'src/core/public/mixins' does not work anymore (not a problem, we should use relative paths anyway but we want to track why it changed from v4 to v5)
  • BUG: Child compilers are having errors hidden and/or changed from error to warning
  • Fix license check for Artistic-2.0 is the license for domain-browser. This package is a dependency of NodePolyfillPlugin. Artistic 2.0 license is classified as yellow and should only be used for dev dependencies.
  • Make sure resourceQuery: { not: /raw/ } is not necessary on other webpack configs like storybook one
  • Find what is being wrongly removed by usedExports optimization; hint: I believe it is identifying a lot of exports inside the sync entry of plugins as unused exports and removing them. Then __kbnBootstrap__ can't be found
  • Rebalance @kbn/optimizer pickMaxWorkerCount
  • Re-open the issue to fix sass-warnings #190345 or downgrade sass-loader to v10
  • Remove previous esm no parse rules
  • Confirm esm support is working
  • Confirm console override is needed
  • Confirm react prod builds on ui shared deps for distributable
  • Remove customization for xyflow from webpack configs
  • Clean all the code
  • Make sure collected metrics from stats are still aligned with what we were collecting before; also verify if the modules used for optimizer caches etc are well generated (@kbn/node-libs-browser)
  • Fix watch performance

@elastic elastic deleted a comment from kibana-ci Aug 22, 2024
@Ikuni17 Ikuni17 mentioned this pull request Aug 23, 2024
2 tasks
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 9, 2024
## Summary

Combine some Renovate groups.

Disable TS group. Closes elastic#189415.
Disable Webpack group until elastic#191106 is finished.
Samiul-TheSoccerFan pushed a commit to Samiul-TheSoccerFan/kibana that referenced this pull request Dec 10, 2024
## Summary

Upgrades references to webpack5 from v5.91.0 to v5.96.1

A v4 to v5 upgrade is being explored here:
elastic#191106

---------

Co-authored-by: kibanamachine <[email protected]>
Samiul-TheSoccerFan pushed a commit to Samiul-TheSoccerFan/kibana that referenced this pull request Dec 10, 2024
## Summary

Combine some Renovate groups.

Disable TS group. Closes elastic#189415.
Disable Webpack group until elastic#191106 is finished.
mykolaharmash pushed a commit to mykolaharmash/kibana that referenced this pull request Dec 11, 2024
## Summary

Combine some Renovate groups.

Disable TS group. Closes elastic#189415.
Disable Webpack group until elastic#191106 is finished.
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 12, 2024
## Summary

Upgrades references to webpack5 from v5.91.0 to v5.96.1

A v4 to v5 upgrade is being explored here:
elastic#191106

---------

Co-authored-by: kibanamachine <[email protected]>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 12, 2024
## Summary

Combine some Renovate groups.

Disable TS group. Closes elastic#189415.
Disable Webpack group until elastic#191106 is finished.
@elastic elastic deleted a comment from elasticmachine Dec 17, 2024
@mistic mistic force-pushed the upgrade-to-webpack-5 branch from d529c35 to 09ac9af Compare December 29, 2024 04:40
@elastic elastic deleted a comment from elasticmachine Dec 29, 2024
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
advancedSettings 122 121 -1
aiAssistantManagementSelection 76 75 -1
aiops 631 638 +7
alerting 246 251 +5
apm 1930 1880 -50
banners 45 50 +5
canvas 1293 1285 -8
cases 859 857 -2
cloudDataMigration 34 33 -1
cloudDefend 105 81 -24
cloudLinks 90 89 -1
cloudSecurityPosture 662 654 -8
console 237 240 +3
controls 380 370 -10
core 422 415 -7
crossClusterReplication 135 133 -2
dashboard 698 713 +15
dashboardEnhanced 109 108 -1
data 535 540 +5
dataQuality 92 91 -1
datasetQuality 273 279 +6
dataViewEditor 98 103 +5
dataViewFieldEditor 174 177 +3
dataViewManagement 250 242 -8
dataVisualizer 733 738 +5
devTools 45 50 +5
discover 947 939 -8
embeddable 122 127 +5
enterpriseSearch 2310 2301 -9
entityManagerApp 46 45 -1
esql 113 106 -7
esqlDataGrid 370 376 +6
esUiShared 222 215 -7
eventAnnotationListing 639 631 -8
exploratoryView 184 183 -1
expressionError 26 32 +6
expressionGauge 119 111 -8
expressionHeatmap 231 223 -8
expressionLegacyMetricVis 59 64 +5
expressionMetricVis 164 163 -1
expressionPartitionVis 248 234 -14
expressions 181 186 +5
expressionTagcloud 219 211 -8
expressionXY 309 301 -8
fieldFormats 64 70 +6
files 12 11 -1
filesManagement 201 193 -8
fileUpload 218 317 +99
fleet 1253 1209 -44
globalSearchBar 58 63 +5
graph 313 304 -9
grokdebugger 53 52 -1
guidedOnboarding 54 53 -1
home 269 261 -8
imageEmbeddable 154 159 +5
indexLifecycleManagement 264 269 +5
indexManagement 700 689 -11
infra 1300 1279 -21
ingestPipelines 358 356 -2
inputControlVis 107 112 +5
inspector 90 95 +5
integrationAssistant 475 460 -15
interactiveSetup 70 75 +5
inventory 259 248 -11
investigateApp 591 568 -23
kibanaOverview 139 131 -8
kibanaReact 219 287 +68
kibanaUtils 164 165 +1
kubernetesSecurity 212 200 -12
lens 1556 1545 -11
licenseManagement 127 131 +4
licensing 41 40 -1
links 144 149 +5
logsExplorer 571 563 -8
logsShared 379 355 -24
logstash 77 76 -1
management 132 124 -8
maps 1268 1274 +6
mapsEms 39 52 +13
metricsDataAccess 305 292 -13
ml 2142 2123 -19
mockIdpPlugin 47 160 +113
monitoring 501 506 +5
navigation 89 81 -8
newsfeed 39 38 -1
observability 1111 1103 -8
observabilityAIAssistant 118 105 -13
observabilityAIAssistantApp 426 412 -14
observabilityAiAssistantManagement 395 381 -14
observabilityLogsExplorer 213 197 -16
observabilityShared 239 227 -12
osquery 347 334 -13
painlessLab 57 62 +5
presentationPanel 124 129 +5
presentationUtil 176 182 +6
profiling 314 313 -1
remoteClusters 127 131 +4
reporting 165 170 +5
rollup 148 152 +4
runtimeFields 46 45 -1
savedObjects 48 53 +5
savedObjectsManagement 124 127 +3
savedObjectsTagging 118 123 +5
screenshotting 17 23 +6
searchAssistant 262 249 -13
searchHomepage 154 146 -8
searchIndices 245 351 +106
searchInferenceEndpoints 163 155 -8
searchPlayground 271 263 -8
searchprofiler 91 96 +5
security 529 635 +106
securitySolution 6479 6757 +278
securitySolutionEss 117 105 -12
securitySolutionServerless 152 140 -12
serverless 90 76 -14
serverlessSearch 312 431 +119
sessionView 102 107 +5
share 103 107 +4
slo 864 868 +4
snapshotRestore 213 218 +5
spaces 340 332 -8
stackAlerts 183 176 -7
streamsApp 169 154 -15
synthetics 1061 1041 -20
telemetry 66 65 -1
timelines 187 175 -12
transform 488 493 +5
triggersActionsUi 870 858 -12
uiActions 52 51 -1
uiActionsEnhanced 157 163 +6
unifiedDocViewer 217 223 +6
unifiedHistogram 193 186 -7
unifiedSearch 387 378 -9
upgradeAssistant 171 176 +5
uptime 592 590 -2
ux 207 205 -2
visDefaultEditor 255 260 +5
visTypeMarkdown 44 49 +5
visTypeTable 62 67 +5
visTypeTimelion 78 83 +5
visTypeTimeseries 509 515 +6
visTypeVega 343 583 +240
visTypeVislib 138 206 +68
visualizations 494 486 -8
watcher 191 196 +5
total +729

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/optimizer-webpack-helpers 34 50 +16
@kbn/storybook 21 23 +2
@kbn/ui-shared-deps-src 52 51 -1
total +17

Any counts in public APIs

Total count of every any typed public API. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats any for more detailed information.

id before after diff
@kbn/optimizer-webpack-helpers 5 6 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
advancedSettings 37.0KB 36.1KB -874.0B
aiAssistantManagementSelection 93.2KB 92.0KB -1.2KB
aiops 623.3KB 468.2KB -155.1KB
alerting 101.6KB 99.9KB -1.7KB
apm 5.6MB 2.3MB -3.4MB
assetInventory 1.2KB 1.1KB -65.0B
canvas 1.1MB 1.0MB -44.7KB
cases 535.4KB 506.7KB -28.7KB
charts 17.3KB 16.6KB -683.0B
cloudDataMigration 6.6KB 5.9KB -691.0B
cloudDefend 101.5KB 97.9KB -3.6KB
cloudFullStory 17.6KB 17.5KB -142.0B
cloudSecurityPosture 503.4KB 470.2KB -33.2KB
console 207.1KB 175.7KB -31.4KB
controls 495.2KB 474.4KB -20.8KB
core 60.9KB 60.9KB -72.0B
crossClusterReplication 147.5KB 142.7KB -4.8KB
customIntegrations 81.0KB 78.8KB -2.2KB
dashboard 668.6KB 653.2KB -15.4KB
data 52.4KB 52.3KB -169.0B
dataQuality 29.2KB 24.9KB -4.3KB
datasetQuality 252.5KB 221.7KB -30.8KB
dataUsage 243.8KB 265.6KB +21.8KB
dataViewEditor 49.4KB 41.8KB -7.6KB
dataViewFieldEditor 178.3KB 159.5KB -18.8KB
dataViewManagement 140.8KB 131.2KB -9.7KB
dataViews 1.9KB 1.7KB -165.0B
dataVisualizer 614.9KB 521.3KB -93.6KB
devTools 8.7KB 7.9KB -846.0B
discover 786.9KB 741.9KB -45.0KB
embeddable 1.6KB 1.6KB -40.0B
enterpriseSearch 2.6MB 2.5MB -118.9KB
entityManagerApp 12.2KB 11.2KB -938.0B
esql 202.6KB 193.6KB -8.9KB
esqlDataGrid 153.8KB 138.5KB -15.3KB
eventAnnotation 7.2KB 6.9KB -378.0B
eventAnnotationListing 232.3KB 223.1KB -9.1KB
exploratoryView 184.0KB 156.5KB -27.5KB
expressionError 14.4KB 15.1KB +706.0B
expressionGauge 21.9KB 16.4KB -5.6KB
expressionHeatmap 26.8KB 20.7KB -6.0KB
expressionLegacyMetricVis 12.0KB 12.3KB +319.0B
expressionMetric 502.0B 462.0B -40.0B
expressionMetricVis 5.3KB 5.1KB -182.0B
expressionPartitionVis 43.6KB 36.6KB -7.0KB
expressionRepeatImage 1.2KB 1.1KB -49.0B
expressionRevealImage 1.6KB 1.6KB -70.0B
expressions 28.9KB 30.2KB +1.3KB
expressionTagcloud 26.8KB 20.5KB -6.4KB
expressionXY 135.7KB 117.1KB -18.7KB
fieldsMetadata 63.9KB 60.0KB -3.9KB
filesManagement 126.1KB 118.2KB -7.9KB
fileUpload 951.4KB 644.7KB -306.8KB
fleet 1.7MB 1.7MB -56.8KB
graph 418.8KB 402.9KB -15.9KB
grokdebugger 11.7KB 10.7KB -951.0B
home 153.0KB 145.7KB -7.4KB
imageEmbeddable 70.5KB 60.0KB -10.5KB
indexLifecycleManagement 166.8KB 166.8KB +13.0B
indexManagement 702.3KB 647.5KB -54.9KB
infra 1.3MB 1.1MB -207.6KB
ingestPipelines 407.1KB 397.7KB -9.4KB
inputControlVis 52.8KB 52.5KB -293.0B
inspector 28.3KB 27.4KB -947.0B
integrationAssistant 880.8KB 863.7KB -17.2KB
inventory 234.6KB 217.3KB -17.3KB
investigateApp 481.5KB 203.8KB -277.8KB
kibanaOverview 66.0KB 59.6KB -6.4KB
kibanaReact 197.2KB 191.9KB -5.2KB
kibanaUtils 60.8KB 60.9KB +94.0B
kubernetesSecurity 260.0KB 253.3KB -6.7KB
lens 1.5MB 1.5MB -28.2KB
licenseManagement 47.5KB 37.6KB -9.8KB
links 48.8KB 47.2KB -1.6KB
lists 145.6KB 138.5KB -7.1KB
logsExplorer 223.1KB 184.5KB -38.6KB
logsShared 291.1KB 207.7KB -83.4KB
logstash 34.3KB 33.2KB -1.2KB
management 49.2KB 43.7KB -5.5KB
maps 3.0MB 2.9MB -110.0KB
mapsEms 89.5KB 85.8KB -3.6KB
metricsDataAccess 100.2KB 62.1KB -38.1KB
ml 4.7MB 4.4MB -317.9KB
mockIdpPlugin 28.1KB 35.8KB +7.7KB
monitoring 538.9KB 509.3KB -29.7KB
navigation 26.4KB 19.9KB -6.4KB
observability 480.8KB 443.0KB -37.8KB
observabilityAIAssistant 20.6KB 20.0KB -555.0B
observabilityAIAssistantApp 294.1KB 240.7KB -53.4KB
observabilityAiAssistantManagement 97.7KB 95.4KB -2.3KB
observabilityLogsExplorer 148.6KB 117.4KB -31.2KB
observabilityOnboarding 274.8KB 266.7KB -8.2KB
observabilityShared 63.5KB 55.6KB -7.9KB
osquery 1.0MB 1.0MB -21.2KB
painlessLab 19.3KB 18.2KB -1.1KB
presentationPanel 15.6KB 15.2KB -395.0B
presentationUtil 74.2KB 79.6KB +5.5KB
profiling 406.9KB 400.3KB -6.6KB
remoteClusters 80.2KB 77.5KB -2.7KB
reporting 61.2KB 61.6KB +374.0B
rollup 116.5KB 113.5KB -3.0KB
savedObjectsFinder 7.6KB 7.4KB -148.0B
savedObjectsManagement 87.7KB 86.8KB -939.0B
savedObjectsTagging 47.0KB 46.2KB -765.0B
searchAssistant 163.4KB 145.0KB -18.4KB
searchHomepage 55.9KB 49.5KB -6.4KB
searchIndices 170.3KB 168.4KB -1.9KB
searchInferenceEndpoints 99.7KB 92.5KB -7.1KB
searchNavigation 1.5KB 1.4KB -23.0B
searchNotebooks 12.0KB 11.5KB -438.0B
searchPlayground 165.1KB 149.8KB -15.3KB
searchprofiler 49.5KB 46.0KB -3.5KB
security 541.4KB 528.0KB -13.4KB
securitySolution 21.4MB 9.1MB -12.3MB
securitySolutionEss 62.1KB 38.6KB -23.5KB
securitySolutionServerless 133.2KB 63.0KB -70.2KB
serverless 27.0KB 20.3KB -6.8KB
serverlessSearch 372.2KB 365.2KB -7.0KB
sessionView 392.1KB 389.1KB -3.0KB
share 3.6KB 3.5KB -128.0B
slo 852.6KB 754.3KB -98.3KB
snapshotRestore 264.1KB 254.4KB -9.7KB
spaces 256.9KB 254.2KB -2.7KB
stackAlerts 73.5KB 72.6KB -863.0B
stackConnectors 660.5KB 593.0KB -67.5KB
streamsApp 115.1KB 105.2KB -9.9KB
synthetics 1.1MB 1.0MB -111.7KB
telemetry 4.0KB 3.8KB -204.0B
telemetryManagementSection 33.6KB 31.4KB -2.2KB
threatIntelligence 57.3KB 54.2KB -3.1KB
timelines 33.4KB 31.9KB -1.5KB
transform 476.4KB 481.9KB +5.5KB
triggersActionsUi 1.7MB 1.6MB -163.8KB
uiActionsEnhanced 136.4KB 135.8KB -566.0B
unifiedDocViewer 115.8KB 103.3KB -12.5KB
unifiedHistogram 71.4KB 63.7KB -7.7KB
unifiedSearch 363.5KB 348.1KB -15.3KB
upgradeAssistant 158.8KB 141.7KB -17.1KB
uptime 467.5KB 418.0KB -49.5KB
ux 168.2KB 164.5KB -3.7KB
visDefaultEditor 95.3KB 93.6KB -1.7KB
visTypeGauge 8.8KB 8.6KB -212.0B
visTypeHeatmap 9.8KB 9.6KB -247.0B
visTypeMarkdown 5.8KB 6.2KB +388.0B
visTypeMetric 1.3KB 1.3KB -40.0B
visTypePie 11.3KB 11.1KB -248.0B
visTypeTable 19.0KB 19.1KB +34.0B
visTypeTagcloud 3.2KB 3.1KB -89.0B
visTypeTimelion 38.8KB 39.6KB +808.0B
visTypeTimeseries 507.3KB 475.4KB -31.9KB
visTypeVega 1.9MB 1.9MB -12.1KB
visTypeVislib 371.3KB 365.7KB -5.7KB
visTypeXy 42.3KB 41.2KB -1.0KB
visualizations 322.2KB 316.7KB -5.6KB
watcher 167.4KB 161.7KB -5.7KB
total -19.0MB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
actions 17.4KB 16.4KB -1002.0B
advancedSettings 8.2KB 8.2KB -24.0B
aiAssistantManagementSelection 4.7KB 5.3KB +588.0B
aiops 17.5KB 17.8KB +335.0B
alerting 25.8KB 24.0KB -1.8KB
apm 38.5KB 35.7KB -2.8KB
assetInventory 3.1KB 3.8KB +684.0B
banners 11.2KB 11.1KB -100.0B
canvas 14.6KB 15.1KB +540.0B
cases 164.7KB 144.8KB -19.8KB
charts 43.6KB 42.8KB -877.0B
cloud 7.6KB 7.7KB +59.0B
cloudDataMigration 4.8KB 5.4KB +676.0B
cloudDefend 9.0KB 9.1KB +148.0B
cloudExperiments 92.8KB 87.7KB -5.1KB
cloudFullStory 3.8KB 4.3KB +516.0B
cloudLinks 31.0KB 29.7KB -1.3KB
cloudSecurityPosture 18.0KB 16.1KB -1.8KB
console 39.0KB 38.7KB -289.0B
contentManagement 7.6KB 7.4KB -162.0B
controls 14.3KB 14.2KB -56.0B
core 447.7KB 436.4KB -11.3KB
crossClusterReplication 12.4KB 11.6KB -800.0B
customIntegrations 10.2KB 10.3KB +183.0B
dashboard 52.4KB 49.5KB -2.8KB
dashboardEnhanced 18.7KB 17.8KB -921.0B
data 421.7KB 395.5KB -26.2KB
dataQuality 8.5KB 9.0KB +527.0B
datasetQuality 18.9KB 18.7KB -205.0B
dataUsage 7.7KB 8.3KB +651.0B
dataViewEditor 14.3KB 14.5KB +191.0B
dataViewFieldEditor 27.5KB 25.8KB -1.7KB
dataViewManagement 5.2KB 6.0KB +768.0B
dataViews 62.6KB 61.5KB -1.1KB
dataVisualizer 26.3KB 25.8KB -429.0B
devTools 11.2KB 12.3KB +1.1KB
discover 45.2KB 44.6KB -623.0B
discoverEnhanced 7.1KB 7.5KB +375.0B
discoverShared 2.0KB 2.1KB +64.0B
embeddable 34.8KB 33.8KB -997.0B
embeddableEnhanced 7.2KB 7.2KB +69.0B
enterpriseSearch 52.2KB 52.3KB +65.0B
entityManager 8.5KB 8.2KB -371.0B
entityManagerApp 5.0KB 5.7KB +701.0B
esql 6.9KB 7.5KB +637.0B
esqlDataGrid 9.4KB 9.9KB +566.0B
esUiShared 106.9KB 98.6KB -8.3KB
eventAnnotation 19.7KB 19.9KB +139.0B
eventAnnotationListing 11.0KB 11.9KB +912.0B
exploratoryView 44.1KB 40.7KB -3.5KB
expressionError 5.2KB 5.4KB +157.0B
expressionGauge 17.0KB 17.6KB +539.0B
expressionHeatmap 17.9KB 18.8KB +827.0B
expressionImage 4.4KB 4.2KB -150.0B
expressionLegacyMetricVis 13.2KB 13.0KB -263.0B
expressionMetric 5.7KB 6.0KB +358.0B
expressionMetricVis 17.6KB 17.0KB -645.0B
expressionPartitionVis 29.9KB 29.4KB -439.0B
expressionRepeatImage 6.2KB 6.5KB +313.0B
expressionRevealImage 6.3KB 6.6KB +312.0B
expressions 100.3KB 97.2KB -3.1KB
expressionShape 20.8KB 19.4KB -1.3KB
expressionTagcloud 14.0KB 14.4KB +394.0B
expressionXY 42.8KB 41.9KB -853.0B
features 3.9KB 3.9KB -80.0B
fieldFormats 63.3KB 61.8KB -1.4KB
fieldsMetadata 4.6KB 5.0KB +457.0B
files 10.1KB 5.3KB -4.8KB
filesManagement 4.1KB 4.9KB +836.0B
fileUpload 14.9KB 14.5KB -476.0B
fleet 174.2KB 155.3KB -18.8KB
globalSearch 6.2KB 6.1KB -74.0B
globalSearchBar 30.6KB 30.0KB -575.0B
globalSearchProviders 4.1KB 4.1KB +16.0B
graph 8.2KB 9.1KB +931.0B
grokdebugger 4.6KB 5.2KB +632.0B
guidedOnboarding 30.4KB 28.9KB -1.5KB
home 11.6KB 12.7KB +1.1KB
imageEmbeddable 6.0KB 6.5KB +531.0B
indexLifecycleManagement 27.7KB 26.7KB -983.0B
indexManagement 47.7KB 44.5KB -3.2KB
inference 7.5KB 7.3KB -121.0B
infra 51.1KB 50.3KB -825.0B
ingestPipelines 18.4KB 17.2KB -1.2KB
inputControlVis 8.3KB 9.0KB +647.0B
inspector 25.7KB 26.5KB +905.0B
integrationAssistant 10.4KB 11.3KB +868.0B
interactiveSetup 60.5KB 59.3KB -1.2KB
inventory 13.2KB 13.7KB +554.0B
investigate 2.7KB 2.6KB -40.0B
investigateApp 11.1KB 11.5KB +451.0B
kbnUiSharedDeps-css 125.9KB 125.9KB -12.0B
kbnUiSharedDeps-npmDll 5.9MB 6.0MB +103.7KB
kbnUiSharedDeps-srcJs 3.5MB 3.4MB -88.6KB
kibanaOverview 5.4KB 6.0KB +606.0B
kibanaReact 40.0KB 41.9KB +1.9KB
kibanaUsageCollection 1.4KB 1.5KB +118.0B
kibanaUtils 66.9KB 66.6KB -294.0B
kubernetesSecurity 6.0KB 6.0KB -37.0B
lens 50.4KB 50.1KB -342.0B
licenseManagement 11.4KB 12.5KB +1.1KB
licensing 12.4KB 11.8KB -593.0B
links 16.8KB 16.8KB +5.0B
lists 3.7KB 4.3KB +620.0B
logsDataAccess 6.7KB 6.5KB -225.0B
logsExplorer 27.6KB 24.0KB -3.5KB
logsShared 174.8KB 138.0KB -36.8KB
logstash 14.3KB 14.4KB +153.0B
management 10.8KB 11.5KB +655.0B
maps 55.1KB 50.3KB -4.9KB
mapsEms 5.8KB 5.9KB +122.0B
metricsDataAccess 44.4KB 43.9KB -498.0B
ml 77.8KB 76.4KB -1.4KB
mockIdpPlugin 10.6KB 10.3KB -288.0B
monitoring 25.7KB 25.2KB -556.0B
navigation 18.3KB 18.0KB -324.0B
newsfeed 13.5KB 12.7KB -829.0B
noDataPage 1.4KB 1.6KB +128.0B
observability 105.2KB 92.1KB -13.1KB
observabilityAIAssistant 48.1KB 39.7KB -8.3KB
observabilityAIAssistantApp 14.7KB 15.1KB +438.0B
observabilityAiAssistantManagement 5.1KB 5.8KB +646.0B
observabilityLogsExplorer 15.2KB 15.0KB -124.0B
observabilityOnboarding 10.5KB 11.3KB +814.0B
observabilityShared 93.9KB 82.9KB -11.0KB
osquery 47.8KB 46.3KB -1.5KB
painlessLab 10.3KB 11.4KB +1.1KB
presentationPanel 43.9KB 42.1KB -1.9KB
presentationUtil 30.9KB 31.0KB +76.0B
productDocBase 2.2KB 2.3KB +100.0B
profiling 17.7KB 18.2KB +464.0B
remoteClusters 9.2KB 9.1KB -151.0B
reporting 51.1KB 50.4KB -667.0B
rollup 12.2KB 11.7KB -487.0B
runtimeFields 14.6KB 13.5KB -1.1KB
savedObjects 18.3KB 18.0KB -309.0B
savedObjectsFinder 3.3KB 3.8KB +512.0B
savedObjectsManagement 20.0KB 20.3KB +272.0B
savedObjectsTagging 23.3KB 22.5KB -859.0B
savedObjectsTaggingOss 1.7KB 1.9KB +181.0B
savedSearch 11.6KB 11.2KB -403.0B
screenshotMode 2.0KB 2.1KB +54.0B
screenshotting 7.0KB 7.5KB +521.0B
searchAssistant 4.9KB 5.4KB +563.0B
searchConnectors 61.2KB 60.2KB -1.1KB
searchHomepage 4.8KB 5.6KB +818.0B
searchIndices 7.7KB 8.3KB +579.0B
searchInferenceEndpoints 6.3KB 7.1KB +731.0B
searchNavigation 5.0KB 5.5KB +536.0B
searchNotebooks 16.2KB 16.7KB +479.0B
searchPlayground 7.0KB 7.7KB +737.0B
searchprofiler 15.7KB 16.8KB +1.1KB
security 69.1KB 67.2KB -1.9KB
securitySolution 88.0KB 81.2KB -6.8KB
securitySolutionEss 11.8KB 12.2KB +407.0B
securitySolutionServerless 26.4KB 26.5KB +98.0B
serverless 15.1KB 15.0KB -173.0B
serverlessObservability 29.0KB 25.3KB -3.7KB
serverlessSearch 23.0KB 23.7KB +718.0B
sessionView 8.4KB 8.1KB -325.0B
share 58.3KB 60.0KB +1.6KB
slo 29.8KB 29.0KB -795.0B
snapshotRestore 27.3KB 25.6KB -1.7KB
spaces 35.4KB 34.5KB -884.0B
stackAlerts 25.2KB 25.0KB -249.0B
stackConnectors 59.0KB 57.1KB -1.8KB
streams 6.4KB 6.3KB -111.0B
streamsApp 5.5KB 6.2KB +733.0B
synthetics 37.8KB 37.0KB -872.0B
telemetry 25.6KB 25.4KB -156.0B
telemetryManagementSection 4.4KB 4.9KB +548.0B
threatIntelligence 12.7KB 12.8KB +112.0B
timelines 202.0KB 179.0KB -23.0KB
transform 18.5KB 19.3KB +806.0B
triggersActionsUi 127.1KB 119.7KB -7.4KB
uiActions 24.7KB 23.8KB -956.0B
uiActionsEnhanced 17.6KB 17.9KB +256.0B
unifiedDocViewer 11.3KB 11.6KB +293.0B
unifiedHistogram 10.3KB 10.1KB -186.0B
unifiedSearch 38.9KB 39.1KB +157.0B
upgradeAssistant 25.4KB 24.4KB -1.1KB
uptime 22.9KB 22.8KB -57.0B
urlDrilldown 17.5KB 17.5KB +44.0B
urlForwarding 4.8KB 4.8KB -6.0B
usageCollection 5.0KB 5.0KB -11.0B
ux 7.0KB 7.8KB +781.0B
visDefaultEditor 24.7KB 23.4KB -1.3KB
visTypeGauge 11.2KB 11.5KB +312.0B
visTypeHeatmap 10.7KB 11.1KB +327.0B
visTypeMarkdown 10.4KB 10.2KB -229.0B
visTypeMetric 10.5KB 10.6KB +169.0B
visTypePie 8.4KB 8.8KB +440.0B
visTypeTable 19.9KB 19.5KB -466.0B
visTypeTagcloud 6.5KB 7.0KB +477.0B
visTypeTimelion 14.2KB 13.7KB -484.0B
visTypeTimeseries 21.2KB 20.1KB -1.1KB
visTypeVega 45.7KB 45.2KB -562.0B
visTypeVislib 15.8KB 15.6KB -230.0B
visTypeXy 28.5KB 28.8KB +338.0B
visualizations 65.6KB 60.1KB -5.5KB
watcher 13.7KB 14.7KB +962.0B
total -228.2KB
Unknown metric groups

API count

id before after diff
@kbn/optimizer-webpack-helpers 51 67 +16
@kbn/storybook 41 43 +2
@kbn/ui-shared-deps-src 61 60 -1
total +17

async chunk count

id before after diff
apm 61 63 +2
dataViewEditor 2 3 +1
discover 28 30 +2
enterpriseSearch 19 20 +1
eventAnnotationListing 5 4 -1
expressionXY 6 7 +1
infra 30 31 +1
lens 26 27 +1
logsExplorer 6 5 -1
ml 111 112 +1
securitySolution 107 124 +17
serverlessSearch 10 11 +1
slo 31 33 +2
stackConnectors 95 96 +1
triggersActionsUi 66 70 +4
unifiedDocViewer 8 9 +1
visTypeTimeseries 17 20 +3
total +37

ESLint disabled in files

id before after diff
@kbn/node-libs-browser-webpack-plugin - 1 +1

ESLint disabled line counts

id before after diff
@kbn/ambient-ui-types 5 7 +2
@kbn/ui-shared-deps-npm 1 0 -1
total +1

miscellaneous assets size

id before after diff
dataViewManagement 847.7KB 686.0KB -161.8KB
home 398.3KB 206.8KB -191.5KB
integrationAssistant 1.2MB 250.8KB -1.0MB
lens 1.1MB 931.7KB -225.5KB
maps 886.8KB 886.7KB -99.0B
metricsDataAccess 574.0KB 412.2KB -161.8KB
stackAlerts 225.5KB 0.0B -225.5KB
visTypeVega 499.5KB 499.4KB -99.0B
total -1.9MB

Total ESLint disabled count

id before after diff
@kbn/ambient-ui-types 5 7 +2
@kbn/node-libs-browser-webpack-plugin - 1 +1
@kbn/ui-shared-deps-npm 1 0 -1
total +2

cc @mistic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:all-open Backport to all branches that could still receive a release chore ci:build-webpack-bundle-analyzer release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Webpack to v5
4 participants