Skip to content

[8.18] chore(NA): upgrade to webpack 5 (#191106)#211147

Merged
mistic merged 7 commits intoelastic:8.18from
mistic:backport/8.18/pr-191106
Feb 14, 2025
Merged

[8.18] chore(NA): upgrade to webpack 5 (#191106)#211147
mistic merged 7 commits intoelastic:8.18from
mistic:backport/8.18/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.18:

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
#	packages/kbn-plugin-helpers/src/integration_tests/build.test.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:41
@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)

kibanamachine and others added 6 commits February 14, 2025 03:58
…t --include-path /api/status --include-path /api/alerting/rule/ --include-path /api/alerting/rules --include-path /api/actions --include-path /api/security/role --include-path /api/spaces --include-path /api/dashboards --update --no-serverless'
…t --include-path /api/status --include-path /api/alerting/rule/ --include-path /api/alerting/rules --include-path /api/actions --include-path /api/security/role --include-path /api/spaces --include-path /api/dashboards --update --no-serverless'
@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 595 603 +8
alerting 219 225 +6
apm 1695 1675 -20
banners 20 26 +6
canvas 1236 1225 -11
cases 842 841 -1
cloudDefend 102 103 +1
cloudSecurityPosture 743 736 -7
console 214 218 +4
controls 453 443 -10
core 421 415 -6
crossClusterReplication 110 109 -1
dashboard 731 746 +15
data 597 603 +6
datasetQuality 279 285 +6
dataUsage 120 121 +1
dataViewEditor 75 81 +6
dataViewFieldEditor 151 155 +4
dataViewManagement 229 222 -7
dataVisualizer 846 839 -7
devTools 20 26 +6
discover 1078 1071 -7
enterpriseSearch 2316 2308 -8
esql 210 197 -13
esqlDataGrid 471 477 +6
esUiShared 221 214 -7
eventAnnotationListing 672 665 -7
expressionError 26 32 +6
expressionGauge 94 87 -7
expressionHeatmap 162 149 -13
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 293 285 -8
home 246 239 -7
imageEmbeddable 132 138 +6
indexLifecycleManagement 242 248 +6
indexManagement 688 678 -10
infra 1614 1584 -30
ingestPipelines 337 336 -1
inputControlVis 84 90 +6
inspector 64 70 +6
integrationAssistant 512 497 -15
interactiveSetup 45 51 +6
inventory 231 221 -10
investigateApp 665 642 -23
kibanaOverview 116 109 -7
kibanaReact 202 271 +69
kibanaUtils 166 167 +1
kubernetesSecurity 203 191 -12
lens 1593 1583 -10
licenseManagement 102 107 +5
links 120 126 +6
logsExplorer 547 539 -8
logsShared 369 360 -9
management 109 102 -7
maps 1338 1344 +6
mapsEms 39 52 +13
metricsDataAccess 308 296 -12
ml 2200 2181 -19
mockIdpPlugin 22 136 +114
monitoring 478 484 +6
navigation 66 59 -7
observability 1253 1246 -7
observabilityAIAssistant 116 103 -13
observabilityAIAssistantApp 507 493 -14
observabilityAiAssistantManagement 384 370 -14
observabilityLogsExplorer 192 177 -15
observabilityOnboarding 240 241 +1
observabilityShared 232 225 -7
osquery 324 312 -12
painlessLab 32 38 +6
presentationPanel 113 119 +6
presentationUtil 134 140 +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 264 251 -13
searchHomepage 131 124 -7
searchIndices 214 321 +107
searchInferenceEndpoints 165 158 -7
searchPlayground 300 293 -7
searchprofiler 66 72 +6
searchSynonyms 108 101 -7
security 508 615 +107
securitySolution 6738 7016 +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 951 956 +5
snapshotRestore 188 194 +6
spaces 317 310 -7
stackAlerts 258 251 -7
streamsApp 287 270 -17
synthetics 966 961 -5
timelines 162 151 -11
transform 472 478 +6
triggersActionsUi 868 857 -11
uiActionsEnhanced 157 163 +6
unifiedDocViewer 252 258 +6
unifiedHistogram 280 273 -7
unifiedSearch 364 356 -8
upgradeAssistant 176 182 +6
uptime 572 571 -1
ux 186 185 -1
visDefaultEditor 193 199 +6
visTypeMarkdown 19 25 +6
visTypeTable 37 43 +6
visTypeTimelion 53 59 +6
visTypeTimeseries 451 458 +7
visTypeVega 277 517 +240
visTypeVislib 113 182 +69
visualizations 484 477 -7
watcher 166 172 +6
total +889

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.4KB 95.8KB -1.6KB
aiops 605.6KB 452.5KB -153.1KB
alerting 94.3KB 91.1KB -3.2KB
apm 2.6MB 2.4MB -191.4KB
canvas 1.0MB 1009.6KB -61.5KB
cases 540.7KB 511.9KB -28.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.6KB -37.0KB
console 215.5KB 184.7KB -30.8KB
controls 478.0KB 459.8KB -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.9KB 581.9KB -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 721.2KB 615.0KB -106.2KB
devTools 2.4KB 2.3KB -96.0B
discover 838.2KB 795.6KB -42.5KB
embeddable 1.6KB 1.6KB -41.0B
enterpriseSearch 2.6MB 2.5MB -125.8KB
entityManagerApp 9.6KB 9.2KB -422.0B
esql 231.5KB 220.2KB -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 22.0KB 15.4KB -6.5KB
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.2KB +644.0B
indexManagement 755.9KB 701.4KB -54.4KB
infra 1.7MB 1.5MB -255.3KB
ingestPipelines 407.6KB 398.2KB -9.4KB
inputControlVis 49.8KB 50.1KB +290.0B
inspector 28.4KB 27.4KB -956.0B
integrationAssistant 922.4KB 864.1KB -58.3KB
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 257.9KB 251.4KB -6.5KB
lens 1.5MB 1.5MB -35.6KB
licenseManagement 41.2KB 32.0KB -9.2KB
links 47.9KB 46.8KB -1.1KB
lists 146.9KB 139.8KB -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.1KB
mapsEms 90.0KB 86.4KB -3.6KB
metricsDataAccess 97.6KB 59.6KB -38.0KB
ml 4.7MB 4.4MB -289.1KB
mockIdpPlugin 28.1KB 35.8KB +7.7KB
monitoring 534.2KB 507.8KB -26.3KB
navigation 26.8KB 19.9KB -6.9KB
observability 1.3MB 1.2MB -44.6KB
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 278.5KB 270.3KB -8.2KB
observabilityShared 55.6KB 50.0KB -5.6KB
osquery 1.0MB 1.0MB -21.1KB
painlessLab 16.2KB 15.7KB -524.0B
presentationPanel 44.4KB 43.9KB -461.0B
presentationUtil 81.3KB 86.7KB +5.4KB
profiling 407.0KB 400.9KB -6.1KB
remoteClusters 72.7KB 70.1KB -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 122.6KB 115.0KB -7.6KB
searchNavigation 1.5KB 1.4KB -23.0B
searchNotebooks 12.0KB 11.5KB -437.0B
searchPlayground 205.3KB 189.7KB -15.6KB
searchprofiler 46.5KB 43.6KB -2.9KB
searchSynonyms 58.6KB 51.9KB -6.7KB
security 545.6KB 532.2KB -13.4KB
securitySolution 18.9MB 9.1MB -9.8MB
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 851.2KB 757.6KB -93.7KB
snapshotRestore 257.8KB 249.0KB -8.9KB
spaces 256.9KB 254.2KB -2.7KB
stackAlerts 73.9KB 73.1KB -865.0B
stackConnectors 689.1KB 605.9KB -83.2KB
streamsApp 283.6KB 258.7KB -24.8KB
synthetics 911.0KB 788.6KB -122.4KB
telemetry 4.0KB 3.8KB -206.0B
telemetryManagementSection 33.6KB 31.4KB -2.2KB
threatIntelligence 57.7KB 54.6KB -3.1KB
timelines 30.3KB 28.4KB -1.8KB
transform 470.1KB 475.9KB +5.8KB
triggersActionsUi 1.7MB 1.5MB -145.7KB
uiActionsEnhanced 136.4KB 135.8KB -584.0B
unifiedDocViewer 139.6KB 129.1KB -10.5KB
unifiedHistogram 70.9KB 63.2KB -7.7KB
unifiedSearch 368.1KB 351.8KB -16.3KB
upgradeAssistant 195.7KB 177.5KB -18.2KB
uptime 464.3KB 414.3KB -50.0KB
ux 166.6KB 162.7KB -4.0KB
visDefaultEditor 95.3KB 93.6KB -1.7KB
visTypeGauge 8.8KB 8.6KB -210.0B
visTypeHeatmap 9.8KB 9.6KB -246.0B
visTypeMarkdown 5.8KB 6.2KB +400.0B
visTypeMetric 1.3KB 1.3KB -39.0B
visTypePie 11.3KB 11.1KB -249.0B
visTypeTable 19.0KB 19.1KB +31.0B
visTypeTagcloud 3.2KB 3.1KB -88.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 353.2KB 346.5KB -6.7KB
watcher 161.4KB 156.6KB -4.8KB
total -13.4MB

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.6KB 15.0KB +375.0B
cases 162.7KB 143.0KB -19.8KB
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.3KB 440.2KB -9.1KB
crossClusterReplication 12.1KB 11.2KB -913.0B
customIntegrations 10.2KB 10.4KB +199.0B
dashboard 17.9KB 17.7KB -216.0B
dashboardEnhanced 15.4KB 15.1KB -334.0B
data 420.0KB 394.0KB -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.6KB 27.9KB -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.5KB 21.2KB -1.3KB
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 10.0KB +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 15.1KB 15.2KB +118.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.7KB 26.1KB -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.8KB 11.0KB +169.0B
expressionXY 39.5KB 39.3KB -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.4KB -1.0KB
indexManagement 32.6KB 29.5KB -3.1KB
inference 7.6KB 7.4KB -121.0B
infra 55.9KB 54.3KB -1.7KB
ingestPipelines 15.1KB 14.4KB -718.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.5MB -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 50.2KB 49.7KB -527.0B
licenseManagement 11.1KB 12.0KB +953.0B
licensing 9.2KB 9.2KB -6.0B
links 16.7KB 16.6KB -102.0B
lists 3.7KB 4.3KB +610.0B
logsDataAccess 6.7KB 6.5KB -225.0B
logsExplorer 27.9KB 24.2KB -3.6KB
logsShared 174.8KB 138.1KB -36.7KB
logstash 14.1KB 14.1KB +50.0B
management 10.8KB 11.2KB +495.0B
maps 51.8KB 47.0KB -4.7KB
mapsEms 5.8KB 5.9KB +122.0B
metricsDataAccess 62.0KB 61.3KB -655.0B
ml 78.6KB 76.8KB -1.8KB
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.0KB 90.1KB -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 11.0KB 11.1KB +86.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 +592.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 5.0KB 5.5KB +536.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.9KB 84.4KB -7.5KB
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 42.7KB 41.5KB -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.5KB 6.5KB +1.1KB
synthetics 37.6KB 36.5KB -1.0KB
telemetry 22.5KB 22.9KB +459.0B
telemetryManagementSection 4.4KB 4.9KB +548.0B
threatIntelligence 12.7KB 12.8KB +113.0B
timelines 201.6KB 178.3KB -23.3KB
transform 18.3KB 19.0KB +699.0B
triggersActionsUi 127.7KB 120.4KB -7.2KB
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 22.7KB 22.5KB -172.0B
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.2KB 7.6KB +387.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 33.7KB 33.6KB -52.0B
visTypeVislib 12.5KB 12.9KB +425.0B
visTypeXy 28.5KB 28.9KB +346.0B
visualizations 38.8KB 35.5KB -3.4KB
watcher 13.5KB 14.2KB +773.0B
total -222.7KB
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
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
logsExplorer 6 5 -1
logsShared 16 17 +1
ml 110 111 +1
securitySolution 107 125 +18
slo 30 32 +2
stackConnectors 99 101 +2
triggersActionsUi 65 67 +2
unifiedDocViewer 10 11 +1
visTypeTimeseries 17 20 +3
total +39

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 c7f893a into elastic:8.18 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