Skip to content

[8.x] chore(NA): upgrade to webpack 5 (#191106)#211146

Merged
mistic merged 5 commits intoelastic:8.xfrom
mistic:backport/8.x/pr-191106
Feb 14, 2025
Merged

[8.x] chore(NA): upgrade to webpack 5 (#191106)#211146
mistic merged 5 commits intoelastic:8.xfrom
mistic:backport/8.x/pr-191106

Conversation

@mistic
Copy link
Copy Markdown
Contributor

@mistic mistic commented Feb 14, 2025

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

### Summary

- Closes elastic#89741

This PR contains the resulting work of a massive effort that ports our
on top bundler abstraction (called @kbn/optimizer) from Webpack v4 into
Webpack v5. It's essential in terms of long term maintenance since v4
was not receiving updates any longer but will also unblock some new
features that could be beneficial for our future DevEx endeavours.

Next you can find a small list of all the accomplished tasks on this
journey.

### Completed Tasks
- [x] Upgrade dependencies to match the ones on webpack v5
- [x] Fix null-loader usages
- [x] Fix raw-loader usages
- [x] Fix file-loader usages
- [x] Fix url-loader usages
- [x] Fix `@kbn/optimizer-webpack-helpers` to support webpack v5
- [x] Adopt previous webpack v4 polyfill-all strategy with
node-polyfill-webpack-plugin
- [x] Fix theme-loader on @kbn/optimizer
- [x] Migrate configurations and ad-hoc loader options on all webpack
configs from v4 to v5
- [x] Fix @kbn/test jest resolver for file-loader cases
- [x] Migrate public-path loader on UiSharedDeps
- [x] Fix all usages of webpack-merge
- [x] Migrate BundleRemoteModule
- [x] Migrate BundleRemotesPlugin
- [x] Correctly migrate PopulateBundleCachePlugin
- [x] Correctly migrate BundleMetricsPlugin
- [x] Check if the profiling plugins still work (--profile flag)
- [x] Recover if possible the previous webpack v4 cacheGroup chunks
rename to something like `data.plugin.chunk.0.js`
- [x] Run `/ci` and make sure we get our first green CI, otherwise work
on the errors until we do
- [x] 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`).
- [x] OpenSSL Legacy Warnings: try to remove `--openssl-legacy-provider
` flags
- [x] Add Webpack to Renovate config
- [x] Explore removing `NodePolyfillPlugin`
([here](https://www.npmjs.com/package/node-polyfill-webpack-plugin)) 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.
- [x] Evaluate if we want to touch the resolutions on mainFields and
conditionNames
- [x] 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)
- [x] BUG: Child compilers are having errors hidden and/or changed from
error to warning
- [x] Fix license check for
[Artistic-2.0](https://spdx.org/licenses/Artistic-2.0.html) is the
license for
[domain-browser](https://github.com/bevry/domain-browser?tab=License-1-ov-file).
This package is a dependency of
[NodePolyfillPlugin](https://www.npmjs.com/package/node-polyfill-webpack-plugin).
Artistic 2.0 license is [classified as
yellow](https://github.com/elastic/open-source/blob/main/elastic-product-policy.md#yellow-list)
and should only be used for dev dependencies.
- [x] Make sure `resourceQuery: { not: /raw/ }` is not necessary on
other webpack configs like storybook one
- [x] 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
- [x] Rebalance @kbn/optimizer pickMaxWorkerCount
- [x] Re-open the issue to fix sass-warnings
[elastic#190345](elastic#190345) or downgrade
sass-loader to v10
- [x] Remove previous esm no parse rules
- [x] Confirm esm support is working
- [x] Confirm console override is needed
- [x] Confirm react prod builds on ui shared deps for distributable
- [x] Remove customization for
[xyflow](https://github.com/xyflow/xyflow) from webpack configs
- [x] Clean all the code
- [x] 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)
- [x] Fix watch performance

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Brad White <brad.white@elastic.co>
(cherry picked from commit 203bc28)

# Conflicts:
#	.github/CODEOWNERS
#	package.json
#	packages/kbn-optimizer/limits.yml
#	packages/kbn-optimizer/src/worker/theme_loader.ts
#	src/platform/packages/private/kbn-ui-shared-deps-npm/webpack.config.js
#	src/platform/packages/private/kbn-ui-shared-deps-src/src/definitions.js
#	x-pack/test/security_solution_cypress/package.json
#	yarn.lock
@mistic mistic added the backport This PR is a backport of another PR label Feb 14, 2025
@mistic mistic enabled auto-merge (squash) February 14, 2025 03:28
@botelastic botelastic bot added Team:Fleet Team label for Observability Data Collection Fleet team Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation. labels Feb 14, 2025
@mistic mistic mentioned this pull request Feb 14, 2025
39 tasks
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/fleet (Team:Fleet)

@mistic mistic disabled auto-merge February 14, 2025 05:32
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
aiAssistantManagementSelection 67 66 -1
aiops 597 605 +8
alerting 218 224 +6
apm 1697 1677 -20
banners 20 26 +6
canvas 1235 1224 -11
cases 1023 1013 -10
cloudDefend 102 103 +1
cloudSecurityPosture 747 740 -7
console 214 218 +4
controls 454 444 -10
core 421 415 -6
crossClusterReplication 110 109 -1
dashboard 734 749 +15
data 599 605 +6
datasetQuality 281 287 +6
dataUsage 120 121 +1
dataViewEditor 75 81 +6
dataViewFieldEditor 151 155 +4
dataViewManagement 231 224 -7
dataVisualizer 849 842 -7
devTools 20 26 +6
discover 1082 1075 -7
enterpriseSearch 2318 2310 -8
esql 213 200 -13
esqlDataGrid 475 481 +6
esUiShared 221 214 -7
eventAnnotationListing 676 669 -7
expressionError 26 32 +6
expressionGauge 94 87 -7
expressionHeatmap 169 162 -7
expressionLegacyMetricVis 34 40 +6
expressionPartitionVis 186 173 -13
expressions 181 186 +5
expressionTagcloud 157 150 -7
expressionXY 247 240 -7
fieldFormats 64 70 +6
files 12 11 -1
filesManagement 181 174 -7
fileUpload 218 317 +99
fleet 1238 1219 -19
globalSearchBar 37 43 +6
graph 295 287 -8
home 246 239 -7
imageEmbeddable 132 138 +6
indexLifecycleManagement 242 248 +6
indexManagement 689 679 -10
infra 1616 1586 -30
ingestPipelines 338 337 -1
inputControlVis 84 90 +6
inspector 64 70 +6
integrationAssistant 510 495 -15
interactiveSetup 45 51 +6
inventory 230 220 -10
investigateApp 667 644 -23
kibanaOverview 116 109 -7
kibanaReact 202 271 +69
kibanaUtils 166 167 +1
kubernetesSecurity 203 191 -12
lens 1600 1590 -10
licenseManagement 102 107 +5
links 120 126 +6
logsExplorer 551 543 -8
logsShared 370 361 -9
management 109 102 -7
maps 1347 1353 +6
mapsEms 39 52 +13
metricsDataAccess 308 296 -12
ml 2425 2401 -24
mockIdpPlugin 22 136 +114
monitoring 478 484 +6
navigation 66 59 -7
observability 1352 1340 -12
observabilityAIAssistant 116 103 -13
observabilityAIAssistantApp 515 501 -14
observabilityAiAssistantManagement 390 376 -14
observabilityLogsExplorer 192 177 -15
observabilityOnboarding 239 240 +1
observabilityShared 232 225 -7
osquery 326 314 -12
painlessLab 32 38 +6
presentationUtil 136 142 +6
remoteClusters 99 98 -1
reporting 142 148 +6
rollup 123 128 +5
savedObjects 23 29 +6
savedObjectsManagement 101 105 +4
savedObjectsTagging 95 101 +6
screenshotting 17 23 +6
searchAssistant 270 257 -13
searchHomepage 131 124 -7
searchIndices 214 321 +107
searchInferenceEndpoints 164 157 -7
searchPlayground 305 298 -7
searchprofiler 66 72 +6
searchSynonyms 108 101 -7
security 512 619 +107
securitySolution 6821 7099 +278
securitySolutionEss 122 110 -12
securitySolutionServerless 157 145 -12
serverless 67 54 -13
serverlessSearch 269 389 +120
sessionView 102 107 +5
share 80 85 +5
slo 955 960 +5
snapshotRestore 188 194 +6
spaces 321 314 -7
stackAlerts 263 256 -7
streamsApp 308 291 -17
synthetics 967 962 -5
timelines 159 148 -11
transform 474 480 +6
triggersActionsUi 856 845 -11
uiActionsEnhanced 157 163 +6
unifiedDocViewer 254 260 +6
unifiedHistogram 284 277 -7
unifiedSearch 369 361 -8
upgradeAssistant 176 182 +6
uptime 573 572 -1
ux 186 185 -1
visDefaultEditor 193 199 +6
visTypeMarkdown 58 64 +6
visTypeTable 37 43 +6
visTypeTimelion 53 59 +6
visTypeTimeseries 451 458 +7
visTypeVega 316 555 +239
visTypeVislib 113 182 +69
visualizations 482 475 -7
watcher 166 172 +6
total +869

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 55 54 -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.2KB -873.0B
aiAssistantManagementSelection 97.7KB 96.1KB -1.6KB
aiops 604.8KB 451.8KB -153.1KB
alerting 94.3KB 91.1KB -3.2KB
apm 2.6MB 2.5MB -191.5KB
canvas 1.0MB 1008.0KB -61.5KB
cases 1.3MB 1.3MB -44.8KB
charts 9.4KB 9.2KB -286.0B
cloudDataMigration 3.6KB 3.5KB -120.0B
cloudDefend 230.1KB 252.6KB +22.5KB
cloudFullStory 17.6KB 17.5KB -142.0B
cloudSecurityPosture 522.6KB 485.5KB -37.0KB
console 215.5KB 184.7KB -30.8KB
controls 478.5KB 460.2KB -18.2KB
core 63.1KB 63.0KB -74.0B
crossClusterReplication 141.5KB 137.6KB -3.9KB
customIntegrations 83.8KB 82.8KB -1.0KB
dashboard 596.1KB 581.1KB -15.0KB
data 52.5KB 52.3KB -182.0B
dataQuality 23.6KB 19.6KB -4.0KB
datasetQuality 272.0KB 240.8KB -31.3KB
dataUsage 237.4KB 259.9KB +22.5KB
dataViewEditor 49.9KB 42.2KB -7.7KB
dataViewFieldEditor 178.7KB 159.8KB -18.8KB
dataViewManagement 136.6KB 127.6KB -9.0KB
dataViews 1.9KB 1.7KB -166.0B
dataVisualizer 720.3KB 614.2KB -106.1KB
devTools 2.4KB 2.3KB -96.0B
discover 838.2KB 795.7KB -42.5KB
embeddable 1.6KB 1.6KB -41.0B
enterpriseSearch 2.6MB 2.5MB -125.8KB
entityManagerApp 9.6KB 9.2KB -422.0B
esql 247.3KB 236.1KB -11.3KB
esqlDataGrid 175.9KB 156.1KB -19.7KB
eventAnnotation 7.2KB 6.9KB -378.0B
eventAnnotationListing 231.6KB 222.9KB -8.8KB
exploratoryView 179.3KB 154.2KB -25.1KB
expressionError 14.4KB 15.1KB +698.0B
expressionGauge 21.9KB 16.4KB -5.6KB
expressionHeatmap 26.8KB 20.8KB -6.1KB
expressionLegacyMetricVis 12.0KB 12.3KB +318.0B
expressionMetric 502.0B 462.0B -40.0B
expressionMetricVis 5.2KB 5.0KB -178.0B
expressionPartitionVis 35.6KB 29.0KB -6.6KB
expressionRepeatImage 1.2KB 1.1KB -51.0B
expressionRevealImage 1.6KB 1.6KB -68.0B
expressions 28.9KB 30.2KB +1.3KB
expressionTagcloud 19.0KB 13.0KB -6.0KB
expressionXY 127.8KB 109.5KB -18.2KB
fieldsMetadata 63.2KB 59.3KB -3.9KB
filesManagement 122.7KB 115.3KB -7.4KB
fileUpload 951.4KB 644.7KB -306.8KB
fleet 1.8MB 1.8MB -70.3KB
graph 415.5KB 400.0KB -15.5KB
grokdebugger 8.7KB 8.3KB -384.0B
home 147.1KB 140.4KB -6.6KB
imageEmbeddable 65.2KB 60.6KB -4.6KB
indexLifecycleManagement 160.6KB 161.3KB +644.0B
indexManagement 752.5KB 698.3KB -54.3KB
infra 1.7MB 1.5MB -255.3KB
ingestPipelines 409.1KB 399.7KB -9.4KB
inputControlVis 49.8KB 50.1KB +290.0B
inspector 28.4KB 27.4KB -956.0B
integrationAssistant 919.2KB 864.0KB -55.1KB
inventory 228.2KB 211.6KB -16.6KB
investigateApp 480.8KB 200.6KB -280.2KB
kibanaOverview 60.2KB 54.4KB -5.8KB
kibanaReact 199.3KB 194.0KB -5.3KB
kibanaUtils 62.9KB 63.0KB +80.0B
kubernetesSecurity 258.3KB 251.7KB -6.5KB
lens 1.5MB 1.5MB -28.4KB
licenseManagement 41.2KB 32.0KB -9.2KB
links 69.3KB 56.8KB -12.5KB
lists 147.1KB 140.0KB -7.1KB
logsExplorer 222.3KB 183.7KB -38.7KB
logsShared 334.0KB 218.9KB -115.1KB
logstash 28.0KB 27.6KB -447.0B
management 43.4KB 38.5KB -4.9KB
maps 3.0MB 2.9MB -110.5KB
mapsEms 90.0KB 86.4KB -3.6KB
metricsDataAccess 97.6KB 59.6KB -38.0KB
ml 5.5MB 5.2MB -282.7KB
mockIdpPlugin 28.1KB 35.8KB +7.7KB
monitoring 534.2KB 507.8KB -26.3KB
navigation 26.8KB 19.9KB -6.9KB
observability 1.4MB 1.3MB -53.0KB
observabilityAIAssistant 20.2KB 19.7KB -539.0B
observabilityAIAssistantApp 300.4KB 250.0KB -50.4KB
observabilityAiAssistantManagement 116.2KB 106.9KB -9.4KB
observabilityLogsExplorer 142.0KB 111.0KB -31.0KB
observabilityOnboarding 277.8KB 269.6KB -8.2KB
observabilityShared 55.6KB 50.0KB -5.6KB
osquery 1.0MB 1.0MB -21.1KB
painlessLab 16.2KB 15.7KB -524.0B
presentationPanel 36.6KB 35.7KB -920.0B
presentationUtil 81.3KB 86.7KB +5.4KB
profiling 407.0KB 400.9KB -6.1KB
remoteClusters 73.0KB 70.4KB -2.6KB
reporting 61.3KB 61.7KB +364.0B
rollup 110.7KB 108.3KB -2.4KB
savedObjectsFinder 7.6KB 7.4KB -148.0B
savedObjectsManagement 81.8KB 81.6KB -233.0B
savedObjectsTagging 47.0KB 46.2KB -759.0B
searchAssistant 164.6KB 146.3KB -18.3KB
searchHomepage 49.8KB 44.1KB -5.7KB
searchIndices 162.5KB 161.0KB -1.5KB
searchInferenceEndpoints 119.3KB 111.8KB -7.6KB
searchNotebooks 12.0KB 11.5KB -437.0B
searchPlayground 202.0KB 186.5KB -15.6KB
searchprofiler 46.5KB 43.6KB -2.9KB
searchSynonyms 58.6KB 51.9KB -6.7KB
security 546.6KB 533.1KB -13.4KB
securitySolution 16.2MB 9.1MB -7.0MB
securitySolutionEss 63.8KB 40.3KB -23.5KB
securitySolutionServerless 134.9KB 64.7KB -70.2KB
serverless 27.5KB 20.7KB -6.8KB
serverlessSearch 329.0KB 330.3KB +1.2KB
sessionView 363.6KB 361.7KB -1.9KB
share 4.1KB 3.9KB -221.0B
slo 848.3KB 758.8KB -89.5KB
snapshotRestore 257.8KB 249.0KB -8.9KB
spaces 256.9KB 254.2KB -2.7KB
stackAlerts 73.9KB 73.1KB -865.0B
stackConnectors 685.8KB 602.7KB -83.1KB
streamsApp 304.0KB 278.2KB -25.7KB
synthetics 903.7KB 781.5KB -122.2KB
telemetry 4.0KB 3.8KB -206.0B
telemetryManagementSection 33.6KB 31.4KB -2.2KB
threatIntelligence 758.1KB 754.1KB -4.0KB
timelines 22.0KB 20.7KB -1.3KB
transform 470.1KB 475.9KB +5.8KB
triggersActionsUi 1.6MB 1.5MB -113.2KB
uiActionsEnhanced 136.4KB 135.8KB -584.0B
unifiedDocViewer 139.6KB 129.1KB -10.5KB
unifiedHistogram 70.9KB 63.3KB -7.7KB
unifiedSearch 363.4KB 347.1KB -16.3KB
upgradeAssistant 198.1KB 179.9KB -18.2KB
uptime 424.6KB 376.8KB -47.7KB
ux 166.6KB 162.7KB -4.0KB
visDefaultEditor 95.3KB 93.6KB -1.7KB
visTypeGauge 8.9KB 8.6KB -220.0B
visTypeHeatmap 9.8KB 9.6KB -256.0B
visTypeMarkdown 7.5KB 7.8KB +347.0B
visTypeMetric 1.3KB 1.3KB -44.0B
visTypePie 11.3KB 11.1KB -254.0B
visTypeTable 19.0KB 19.1KB +26.0B
visTypeTagcloud 3.2KB 3.1KB -93.0B
visTypeTimelion 38.8KB 39.6KB +796.0B
visTypeTimeseries 507.8KB 475.8KB -32.0KB
visTypeVega 1.9MB 1.9MB -12.6KB
visTypeVislib 371.6KB 365.9KB -5.7KB
visTypeXy 42.3KB 41.2KB -1.0KB
visualizations 354.8KB 347.7KB -7.1KB
watcher 161.4KB 156.6KB -4.8KB
total -10.7MB

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.7KB 16.7KB -1.0KB
advancedSettings 4.9KB 5.5KB +571.0B
aiAssistantManagementSelection 4.7KB 5.3KB +539.0B
aiops 17.1KB 17.4KB +235.0B
alerting 26.2KB 24.1KB -2.0KB
apm 38.5KB 35.6KB -2.9KB
banners 7.9KB 8.4KB +492.0B
bfetch 6.8KB 6.7KB -83.0B
canvas 14.4KB 14.8KB +403.0B
cases 164.1KB 143.8KB -20.3KB
charts 45.3KB 44.4KB -885.0B
cloud 7.6KB 7.7KB +57.0B
cloudDataMigration 4.5KB 5.1KB +564.0B
cloudDefend 9.0KB 9.2KB +225.0B
cloudExperiments 92.9KB 87.8KB -5.1KB
cloudFullStory 3.8KB 4.3KB +516.0B
cloudLinks 31.5KB 30.8KB -712.0B
cloudSecurityPosture 17.9KB 15.9KB -2.0KB
console 26.1KB 25.9KB -128.0B
contentManagement 7.6KB 7.4KB -164.0B
controls 11.3KB 10.9KB -370.0B
core 449.5KB 440.4KB -9.1KB
crossClusterReplication 12.1KB 11.2KB -913.0B
customIntegrations 10.2KB 10.4KB +199.0B
dashboard 17.6KB 17.5KB -195.0B
dashboardEnhanced 15.4KB 15.1KB -334.0B
data 420.6KB 394.6KB -26.0KB
dataQuality 8.6KB 9.0KB +414.0B
datasetQuality 20.2KB 19.9KB -338.0B
dataUsage 7.4KB 7.9KB +532.0B
dataViewEditor 11.1KB 11.9KB +808.0B
dataViewFieldEditor 24.3KB 23.3KB -1.0KB
dataViewManagement 5.1KB 5.7KB +608.0B
dataViews 62.9KB 61.8KB -1.1KB
dataVisualizer 28.7KB 28.0KB -707.0B
devTools 11.0KB 12.0KB +1017.0B
discover 52.7KB 45.7KB -7.0KB
discoverEnhanced 7.1KB 7.5KB +377.0B
discoverShared 2.0KB 2.1KB +62.0B
embeddable 22.3KB 21.1KB -1.2KB
embeddableEnhanced 7.2KB 7.2KB +71.0B
enterpriseSearch 53.3KB 53.3KB +5.0B
entityManager 8.5KB 8.2KB -366.0B
entityManagerApp 4.9KB 5.4KB +585.0B
esql 9.5KB 10.0KB +453.0B
esqlDataGrid 9.4KB 9.9KB +539.0B
esUiShared 107.0KB 98.7KB -8.3KB
eventAnnotation 19.7KB 19.9KB +139.0B
eventAnnotationListing 10.9KB 11.6KB +745.0B
exploratoryView 43.9KB 40.3KB -3.6KB
expressionError 5.2KB 5.4KB +153.0B
expressionGauge 13.8KB 13.7KB -148.0B
expressionHeatmap 14.9KB 15.1KB +139.0B
expressionImage 4.4KB 4.2KB -150.0B
expressionLegacyMetricVis 10.0KB 10.4KB +360.0B
expressionMetric 5.7KB 6.0KB +358.0B
expressionMetricVis 14.4KB 14.4KB -6.0B
expressionPartitionVis 26.6KB 26.0KB -583.0B
expressionRepeatImage 6.2KB 6.5KB +311.0B
expressionRevealImage 6.3KB 6.6KB +314.0B
expressions 100.3KB 97.2KB -3.1KB
expressionShape 20.8KB 19.4KB -1.3KB
expressionTagcloud 10.7KB 10.9KB +169.0B
expressionXY 39.5KB 39.2KB -293.0B
features 3.9KB 3.9KB -80.0B
fieldFormats 63.2KB 61.8KB -1.4KB
fieldsMetadata 4.6KB 5.0KB +457.0B
files 10.2KB 5.4KB -4.8KB
filesManagement 4.0KB 4.6KB +675.0B
fileUpload 15.4KB 14.9KB -476.0B
fleet 172.5KB 151.4KB -21.1KB
globalSearch 6.2KB 6.1KB -74.0B
globalSearchBar 27.7KB 27.8KB +32.0B
globalSearchProviders 4.1KB 4.1KB +18.0B
graph 8.0KB 8.8KB +763.0B
grokdebugger 4.4KB 4.9KB +520.0B
guidedOnboarding 27.6KB 26.6KB -992.0B
home 11.5KB 12.4KB +975.0B
imageEmbeddable 5.8KB 6.2KB +421.0B
indexLifecycleManagement 27.5KB 26.5KB -1.0KB
indexManagement 32.6KB 29.5KB -3.1KB
inference 7.6KB 7.5KB -121.0B
infra 55.9KB 54.3KB -1.7KB
ingestPipelines 15.2KB 14.5KB -717.0B
inputControlVis 8.1KB 8.6KB +535.0B
inspector 22.4KB 23.4KB +1.0KB
integrationAssistant 10.8KB 11.6KB +852.0B
interactiveSetup 57.3KB 56.7KB -602.0B
inventory 13.0KB 13.4KB +447.0B
investigate 2.7KB 2.6KB -42.0B
investigateApp 11.0KB 11.5KB +451.0B
kbnUiSharedDeps-css 125.9KB 125.9KB -12.0B
kbnUiSharedDeps-npmDll 5.8MB 5.9MB +46.4KB
kbnUiSharedDeps-srcJs 3.6MB 3.6MB -33.2KB
kibanaOverview 5.3KB 5.7KB +449.0B
kibanaReact 36.9KB 38.5KB +1.6KB
kibanaUsageCollection 1.4KB 1.5KB +116.0B
kibanaUtils 67.3KB 67.0KB -292.0B
kubernetesSecurity 5.9KB 5.9KB -48.0B
lens 49.4KB 49.0KB -439.0B
licenseManagement 11.1KB 12.0KB +953.0B
licensing 9.2KB 9.2KB -6.0B
links 7.4KB 7.7KB +296.0B
lists 3.7KB 4.3KB +610.0B
logsDataAccess 6.7KB 6.5KB -225.0B
logsExplorer 27.9KB 24.2KB -3.6KB
logsShared 175.8KB 139.0KB -36.9KB
logstash 14.1KB 14.1KB +50.0B
management 10.8KB 11.2KB +495.0B
maps 44.4KB 40.2KB -4.2KB
mapsEms 5.8KB 5.9KB +122.0B
metricsDataAccess 62.0KB 61.3KB -655.0B
ml 80.0KB 77.7KB -2.3KB
mockIdpPlugin 7.4KB 7.7KB +345.0B
monitoring 25.5KB 24.9KB -667.0B
navigation 16.6KB 17.1KB +591.0B
newsfeed 10.8KB 10.5KB -246.0B
noDataPage 1.4KB 1.6KB +130.0B
observability 103.1KB 90.2KB -12.9KB
observabilityAIAssistant 46.7KB 38.5KB -8.3KB
observabilityAIAssistantApp 14.9KB 15.4KB +462.0B
observabilityAiAssistantManagement 5.2KB 5.8KB +543.0B
observabilityLogsExplorer 15.1KB 14.9KB -220.0B
observabilityOnboarding 10.5KB 11.2KB +735.0B
observabilityShared 93.9KB 82.6KB -11.3KB
osquery 44.7KB 43.4KB -1.4KB
painlessLab 10.0KB 11.0KB +1011.0B
presentationPanel 10.9KB 10.9KB -29.0B
presentationUtil 23.8KB 23.5KB -340.0B
productDocBase 2.2KB 2.3KB +100.0B
profiling 17.6KB 17.9KB +359.0B
remoteClusters 9.5KB 9.0KB -459.0B
reporting 50.3KB 50.3KB -12.0B
rollup 11.9KB 11.3KB -654.0B
runtimeFields 11.4KB 10.8KB -552.0B
savedObjects 15.1KB 15.4KB +241.0B
savedObjectsFinder 3.3KB 3.8KB +512.0B
savedObjectsManagement 19.8KB 20.0KB +161.0B
savedObjectsTagging 20.5KB 20.3KB -219.0B
savedObjectsTaggingOss 1.7KB 1.9KB +181.0B
savedSearch 11.6KB 11.2KB -397.0B
screenshotMode 2.0KB 2.1KB +54.0B
screenshotting 7.0KB 7.5KB +521.0B
searchAssistant 4.9KB 5.5KB +593.0B
searchConnectors 61.8KB 60.8KB -1.1KB
searchHomepage 4.6KB 5.2KB +639.0B
searchIndices 7.5KB 7.9KB +407.0B
searchInferenceEndpoints 6.7KB 7.2KB +511.0B
searchNavigation 4.6KB 4.8KB +168.0B
searchNotebooks 16.2KB 16.7KB +481.0B
searchPlayground 7.4KB 8.0KB +524.0B
searchprofiler 15.4KB 16.4KB +1.0KB
searchSynonyms 4.9KB 5.4KB +497.0B
security 62.9KB 61.8KB -1.1KB
securitySolution 91.4KB 83.7KB -7.7KB
securitySolutionEss 12.1KB 12.5KB +411.0B
securitySolutionServerless 29.6KB 29.7KB +100.0B
serverless 11.8KB 12.2KB +416.0B
serverlessObservability 30.8KB 27.1KB -3.7KB
serverlessSearch 24.0KB 24.7KB +700.0B
sessionView 48.7KB 46.8KB -1.9KB
share 56.6KB 58.8KB +2.2KB
slo 43.4KB 42.2KB -1.2KB
snapshotRestore 27.1KB 25.3KB -1.8KB
spaces 29.0KB 28.4KB -669.0B
stackAlerts 25.2KB 25.0KB -246.0B
stackConnectors 61.8KB 59.9KB -2.0KB
streams 6.4KB 6.3KB -111.0B
streamsApp 5.7KB 6.8KB +1.1KB
synthetics 38.5KB 37.5KB -1.1KB
telemetry 22.5KB 22.9KB +459.0B
telemetryManagementSection 4.4KB 4.9KB +548.0B
threatIntelligence 12.8KB 12.9KB +128.0B
timelines 200.8KB 177.6KB -23.2KB
transform 18.3KB 19.0KB +699.0B
triggersActionsUi 116.2KB 110.6KB -5.6KB
uiActions 22.0KB 21.6KB -401.0B
uiActionsEnhanced 17.6KB 17.9KB +261.0B
unifiedDocViewer 12.4KB 12.5KB +142.0B
unifiedHistogram 10.5KB 10.3KB -214.0B
unifiedSearch 35.8KB 36.4KB +685.0B
upgradeAssistant 24.1KB 23.5KB -606.0B
uptime 55.1KB 53.1KB -2.0KB
urlDrilldown 17.5KB 17.6KB +50.0B
urlForwarding 4.8KB 4.8KB -2.0B
usageCollection 5.0KB 5.0KB -11.0B
ux 6.8KB 7.4KB +673.0B
visDefaultEditor 21.5KB 20.8KB -650.0B
visTypeGauge 11.2KB 11.6KB +314.0B
visTypeHeatmap 10.7KB 11.1KB +331.0B
visTypeMarkdown 7.9KB 8.3KB +406.0B
visTypeMetric 10.5KB 10.6KB +171.0B
visTypePie 8.4KB 8.8KB +440.0B
visTypeTable 16.7KB 16.9KB +161.0B
visTypeTagcloud 6.5KB 7.0KB +479.0B
visTypeTimelion 11.0KB 11.1KB +130.0B
visTypeTimeseries 18.0KB 17.6KB -447.0B
visTypeVega 34.6KB 34.5KB -71.0B
visTypeVislib 12.5KB 12.9KB +425.0B
visTypeXy 28.5KB 28.9KB +346.0B
visualizations 38.7KB 35.4KB -3.3KB
watcher 13.5KB 14.2KB +773.0B
total -223.4KB
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 64 63 -1
total +17

async chunk count

id before after diff
apm 56 59 +3
cases 34 35 +1
dataViewEditor 2 3 +1
dataVisualizer 18 19 +1
discover 28 30 +2
enterpriseSearch 20 21 +1
eventAnnotationListing 5 4 -1
expressionXY 6 7 +1
infra 32 33 +1
lens 26 27 +1
links 5 6 +1
logsExplorer 6 5 -1
logsShared 16 17 +1
ml 111 110 -1
securitySolution 108 123 +15
slo 28 30 +2
stackConnectors 99 101 +2
triggersActionsUi 58 62 +4
unifiedDocViewer 10 11 +1
visTypeTimeseries 17 20 +3
total +38

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.3MB 285.6KB -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

History

@mistic mistic merged commit 6b8710a into elastic:8.x Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR Team:Fleet Team label for Observability Data Collection Fleet team Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants