Skip to content

[9.0] chore(NA): upgrade to webpack 5 (#191106)#211145

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

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

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:
#	packages/kbn-plugin-helpers/src/integration_tests/build.test.ts
@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:12
@mistic mistic mentioned this pull request Feb 14, 2025
39 tasks
@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
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/fleet (Team:Fleet)

@elasticmachine
Copy link
Copy Markdown
Contributor

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

@mistic mistic disabled auto-merge February 14, 2025 05:15
@mistic mistic merged commit b6d9b01 into elastic:9.0 Feb 14, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #82 / X-Pack Accessibility Tests - Group 1 uptime Accessibility detail page

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
aiAssistantManagementSelection 67 66 -1
aiops 605 613 +8
alerting 230 236 +6
apm 1701 1651 -50
automaticImport 750 732 -18
banners 24 30 +6
canvas 1228 1217 -11
cases 842 841 -1
cloudDefend 95 71 -24
cloudSecurityPosture 791 784 -7
console 222 226 +4
controls 473 463 -10
core 406 400 -6
crossClusterReplication 110 109 -1
dashboard 729 744 +15
data 609 615 +6
datasetQuality 281 287 +6
dataUsage 119 120 +1
dataViewEditor 83 89 +6
dataViewFieldEditor 168 172 +4
dataViewManagement 222 215 -7
dataVisualizer 853 846 -7
devTools 24 30 +6
discover 1096 1089 -7
enterpriseSearch 1389 1381 -8
esql 212 199 -13
esqlDataGrid 516 522 +6
esUiShared 204 191 -13
eventAnnotationListing 743 736 -7
exploratoryView 179 164 -15
expressionError 30 36 +6
expressionGauge 102 95 -7
expressionHeatmap 200 187 -13
expressionLegacyMetricVis 38 44 +6
expressionPartitionVis 224 211 -13
expressions 185 190 +5
expressionTagcloud 188 175 -13
expressionXY 301 294 -7
fieldFormats 68 74 +6
files 12 11 -1
filesManagement 163 150 -13
fileUpload 218 317 +99
fleet 1240 1197 -43
globalSearchBar 41 47 +6
graph 285 277 -8
home 235 228 -7
imageEmbeddable 131 137 +6
indexLifecycleManagement 274 280 +6
indexManagement 699 689 -10
infra 1303 1277 -26
ingestPipelines 382 381 -1
inputControlVis 92 98 +6
inspector 72 78 +6
interactiveSetup 49 55 +6
inventory 230 220 -10
investigateApp 355 332 -23
kibanaOverview 104 97 -7
kibanaReact 186 255 +69
kibanaUtils 166 167 +1
lens 1816 1806 -10
licenseManagement 106 111 +5
links 128 134 +6
logsExplorer 575 567 -8
logsShared 363 339 -24
management 97 90 -7
maps 1336 1343 +7
mapsEms 39 52 +13
metricsDataAccess 264 246 -18
ml 2216 2197 -19
mockIdpPlugin 22 136 +114
navigation 59 46 -13
observability 1347 1340 -7
observabilityAIAssistant 116 103 -13
observabilityAIAssistantApp 508 494 -14
observabilityAiAssistantManagement 384 370 -14
observabilityOnboarding 229 230 +1
observabilityShared 219 201 -18
osquery 312 300 -12
painlessLab 36 42 +6
presentationPanel 117 123 +6
presentationUtil 147 153 +6
remoteClusters 99 98 -1
reporting 150 156 +6
rollup 127 132 +5
savedObjects 27 33 +6
savedObjectsManagement 113 117 +4
savedObjectsTagging 103 109 +6
screenshotting 21 27 +6
searchAssistant 264 251 -13
searchHomepage 113 100 -13
searchIndices 231 338 +107
searchInferenceEndpoints 147 134 -13
searchPlayground 290 283 -7
searchprofiler 70 76 +6
searchSynonyms 90 77 -13
security 541 648 +107
securitySolution 6705 6982 +277
securitySolutionEss 104 86 -18
securitySolutionServerless 139 121 -18
serverless 56 43 -13
serverlessSearch 312 432 +120
sessionView 102 107 +5
share 84 89 +5
slo 991 996 +5
snapshotRestore 192 198 +6
spaces 366 359 -7
stackAlerts 272 265 -7
streamsApp 294 277 -17
synthetics 987 967 -20
timelines 162 151 -11
transform 478 484 +6
triggersActionsUi 946 935 -11
uiActionsEnhanced 165 171 +6
unifiedDocViewer 279 270 -9
unifiedHistogram 285 278 -7
unifiedSearch 394 386 -8
upgradeAssistant 164 170 +6
uptime 570 569 -1
ux 201 185 -16
visDefaultEditor 235 241 +6
visTypeMarkdown 23 29 +6
visTypeTable 41 47 +6
visTypeTimelion 61 67 +6
visTypeTimeseries 545 552 +7
visTypeVega 289 529 +240
visTypeVislib 117 186 +69
visualizations 506 500 -6
watcher 170 176 +6
total +687

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 56 55 -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 93.8KB 92.2KB -1.6KB
aiops 606.4KB 454.5KB -151.9KB
alerting 98.7KB 99.5KB +806.0B
apm 4.0MB 2.3MB -1.7MB
automaticImport 1.1MB 1.1MB -5.1KB
canvas 1.1MB 1.0MB -62.2KB
cases 540.9KB 512.1KB -28.8KB
charts 17.4KB 16.8KB -673.0B
cloudDataMigration 3.6KB 3.5KB -120.0B
cloudDefend 98.2KB 95.0KB -3.2KB
cloudFullStory 17.6KB 17.5KB -142.0B
cloudSecurityPosture 538.2KB 502.6KB -35.6KB
console 231.6KB 201.8KB -29.8KB
controls 495.3KB 479.7KB -15.6KB
core 63.0KB 63.0KB -12.0B
crossClusterReplication 141.5KB 137.6KB -3.9KB
customIntegrations 83.9KB 82.9KB -1.0KB
dashboard 602.2KB 587.1KB -15.1KB
data 53.9KB 54.7KB +850.0B
dataQuality 23.6KB 19.6KB -4.0KB
datasetQuality 271.4KB 240.2KB -31.2KB
dataUsage 237.4KB 259.9KB +22.5KB
dataViewEditor 51.6KB 44.5KB -7.2KB
dataViewFieldEditor 191.2KB 113.9KB -77.3KB
dataViewManagement 137.0KB 128.5KB -8.5KB
dataViews 1.9KB 1.7KB -166.0B
dataVisualizer 721.4KB 615.2KB -106.2KB
devTools 2.4KB 2.3KB -101.0B
discover 847.6KB 805.9KB -41.7KB
embeddable 1.6KB 1.6KB -41.0B
enterpriseSearch 1.5MB 1.3MB -153.0KB
entityManagerApp 9.5KB 9.1KB -423.0B
esql 231.3KB 220.0KB -11.3KB
esqlDataGrid 191.0KB 172.8KB -18.2KB
eventAnnotation 7.2KB 6.9KB -378.0B
eventAnnotationListing 241.0KB 233.7KB -7.4KB
exploratoryView 178.6KB 152.9KB -25.6KB
expressionError 17.6KB 11.3KB -6.2KB
expressionGauge 24.0KB 19.5KB -4.6KB
expressionHeatmap 22.0KB 15.4KB -6.5KB
expressionLegacyMetricVis 14.8KB 15.6KB +837.0B
expressionMetric 502.0B 462.0B -40.0B
expressionMetricVis 5.3KB 5.1KB -178.0B
expressionPartitionVis 43.6KB 36.6KB -7.0KB
expressionRepeatImage 1.2KB 1.1KB -51.0B
expressionRevealImage 1.6KB 1.6KB -68.0B
expressions 28.9KB 30.2KB +1.3KB
expressionTagcloud 22.8KB 15.9KB -6.9KB
expressionXY 142.0KB 125.5KB -16.6KB
fieldsMetadata 63.2KB 59.3KB -3.9KB
filesManagement 114.1KB 105.0KB -9.1KB
fileUpload 951.4KB 644.7KB -306.8KB
fleet 1.7MB 1.7MB -72.2KB
graph 421.2KB 404.6KB -16.6KB
grokdebugger 8.7KB 8.3KB -384.0B
home 147.1KB 139.3KB -7.8KB
imageEmbeddable 61.8KB 57.2KB -4.6KB
indexLifecycleManagement 167.7KB 172.5KB +4.7KB
indexManagement 765.6KB 713.0KB -52.6KB
infra 1.2MB 1.1MB -121.2KB
ingestPipelines 422.1KB 418.4KB -3.8KB
inputControlVis 51.9KB 53.3KB +1.4KB
inspector 28.4KB 27.4KB -956.0B
inventory 228.2KB 211.6KB -16.6KB
investigateApp 234.2KB 189.8KB -44.4KB
kibanaOverview 61.4KB 54.5KB -7.0KB
kibanaReact 208.4KB 203.6KB -4.7KB
kibanaUtils 62.9KB 63.0KB +80.0B
lens 1.6MB 1.6MB -13.1KB
licenseManagement 41.2KB 32.0KB -9.2KB
links 54.0KB 53.9KB -94.0B
lists 143.3KB 136.2KB -7.1KB
logsExplorer 222.4KB 183.7KB -38.7KB
logsShared 286.6KB 201.4KB -85.2KB
logstash 28.0KB 27.6KB -447.0B
management 38.8KB 32.6KB -6.2KB
maps 3.0MB 2.9MB -110.0KB
mapsEms 90.0KB 86.4KB -3.6KB
metricsDataAccess 89.0KB 59.6KB -29.5KB
ml 4.7MB 4.5MB -286.3KB
mockIdpPlugin 28.1KB 35.8KB +7.7KB
monitoring 517.1KB 482.1KB -35.0KB
navigation 26.8KB 19.9KB -6.9KB
observability 1.3MB 1.2MB -41.6KB
observabilityAIAssistant 20.2KB 19.7KB -539.0B
observabilityAIAssistantApp 300.3KB 249.9KB -50.4KB
observabilityAiAssistantManagement 116.2KB 106.9KB -9.4KB
observabilityLogsExplorer 906.0B 817.0B -89.0B
observabilityOnboarding 268.5KB 260.5KB -8.1KB
observabilityShared 54.2KB 37.1KB -17.1KB
osquery 1.0MB 1.0MB -22.7KB
painlessLab 16.3KB 15.8KB -524.0B
presentationPanel 48.2KB 48.3KB +51.0B
presentationUtil 84.1KB 90.6KB +6.4KB
profiling 407.2KB 401.1KB -6.1KB
remoteClusters 73.0KB 70.4KB -2.6KB
reporting 62.6KB 63.9KB +1.4KB
rollup 111.2KB 109.3KB -1.9KB
savedObjectsFinder 7.6KB 7.4KB -148.0B
savedObjectsManagement 84.1KB 85.4KB +1.3KB
savedObjectsTagging 48.7KB 49.0KB +281.0B
searchAssistant 164.6KB 146.3KB -18.3KB
searchHomepage 41.2KB 33.8KB -7.4KB
searchIndices 177.2KB 174.2KB -3.0KB
searchInferenceEndpoints 114.1KB 104.7KB -9.4KB
searchNavigation 1.5KB 1.4KB -23.0B
searchNotebooks 12.0KB 11.5KB -437.0B
searchPlayground 203.1KB 186.2KB -16.8KB
searchprofiler 46.5KB 43.6KB -2.9KB
searchSynonyms 50.0KB 41.7KB -8.3KB
security 551.9KB 549.7KB -2.2KB
securitySolution 21.6MB 8.9MB -12.7MB
securitySolutionEss 55.3KB 30.0KB -25.3KB
securitySolutionServerless 126.3KB 54.2KB -72.2KB
serverless 27.5KB 20.7KB -6.8KB
serverlessSearch 362.8KB 357.0KB -5.8KB
sessionView 363.3KB 361.4KB -1.9KB
share 4.1KB 3.9KB -202.0B
slo 893.2KB 791.9KB -101.3KB
snapshotRestore 257.8KB 249.0KB -8.9KB
spaces 266.5KB 269.7KB +3.1KB
stackAlerts 75.2KB 75.3KB +175.0B
stackConnectors 689.3KB 606.1KB -83.2KB
streamsApp 284.0KB 259.2KB -24.9KB
synthetics 927.5KB 795.0KB -132.6KB
telemetry 4.8KB 4.6KB -241.0B
telemetryManagementSection 33.6KB 31.4KB -2.2KB
threatIntelligence 57.6KB 54.5KB -3.1KB
timelines 30.3KB 28.4KB -1.8KB
transform 470.1KB 475.8KB +5.7KB
triggersActionsUi 1.7MB 1.5MB -136.2KB
uiActionsEnhanced 137.7KB 138.1KB +458.0B
unifiedDocViewer 148.8KB 124.6KB -24.2KB
unifiedHistogram 70.9KB 63.3KB -7.7KB
unifiedSearch 377.4KB 363.5KB -13.8KB
upgradeAssistant 159.8KB 144.8KB -14.9KB
uptime 463.7KB 413.6KB -50.1KB
ux 177.8KB 163.8KB -14.0KB
visDefaultEditor 105.3KB 104.2KB -1.1KB
visTypeGauge 8.8KB 8.6KB -210.0B
visTypeHeatmap 9.8KB 9.6KB -246.0B
visTypeMarkdown 7.0KB 7.9KB +912.0B
visTypeMetric 1.3KB 1.3KB -39.0B
visTypePie 11.3KB 11.1KB -249.0B
visTypeTable 21.1KB 21.6KB +535.0B
visTypeTagcloud 3.2KB 3.1KB -88.0B
visTypeTimelion 41.4KB 43.2KB +1.8KB
visTypeTimeseries 537.4KB 510.9KB -26.5KB
visTypeVega 1.9MB 1.9MB -11.1KB
visTypeVislib 385.5KB 380.3KB -5.2KB
visTypeXy 42.3KB 41.2KB -1.0KB
visualizations 369.7KB 363.2KB -6.5KB
watcher 161.4KB 156.6KB -4.8KB
total -17.5MB

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.2KB 17.4KB +218.0B
alerting 26.1KB 24.1KB -2.1KB
apm 38.4KB 35.5KB -2.9KB
automaticImport 10.6KB 11.6KB +1.1KB
banners 8.6KB 9.6KB +1006.0B
canvas 14.4KB 14.7KB +332.0B
cases 162.6KB 142.9KB -19.7KB
charts 43.5KB 42.6KB -885.0B
cloud 7.6KB 7.7KB +57.0B
cloudDataMigration 4.5KB 5.1KB +564.0B
cloudDefend 8.6KB 8.7KB +152.0B
cloudExperiments 92.9KB 87.8KB -5.1KB
cloudFullStory 3.8KB 4.3KB +516.0B
cloudLinks 31.5KB 30.8KB -712.0B
cloudSecurityPosture 18.8KB 16.8KB -2.0KB
console 26.0KB 25.9KB -137.0B
contentManagement 7.6KB 7.4KB -164.0B
controls 11.3KB 10.9KB -370.0B
core 484.3KB 473.6KB -10.7KB
crossClusterReplication 12.1KB 11.2KB -913.0B
customIntegrations 10.2KB 10.4KB +199.0B
dashboard 17.8KB 17.6KB -261.0B
dashboardEnhanced 15.4KB 15.1KB -334.0B
data 420.3KB 394.8KB -25.5KB
dataQuality 8.6KB 9.0KB +414.0B
datasetQuality 20.2KB 19.9KB -346.0B
dataUsage 7.4KB 7.9KB +532.0B
dataViewEditor 11.9KB 13.2KB +1.3KB
dataViewFieldEditor 24.3KB 23.5KB -814.0B
dataViewManagement 5.1KB 5.7KB +608.0B
dataViews 62.9KB 61.9KB -1.1KB
dataVisualizer 28.6KB 27.9KB -712.0B
devTools 11.9KB 13.4KB +1.5KB
discover 44.7KB 44.0KB -722.0B
discoverEnhanced 7.2KB 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 38.6KB 38.9KB +365.0B
entityManager 8.5KB 8.2KB -366.0B
entityManagerApp 4.7KB 5.3KB +587.0B
esql 9.5KB 10.0KB +453.0B
esqlDataGrid 9.3KB 9.8KB +541.0B
esUiShared 98.4KB 88.3KB -10.2KB
eventAnnotation 19.7KB 19.9KB +139.0B
eventAnnotationListing 10.9KB 11.6KB +706.0B
exploratoryView 55.3KB 41.9KB -13.3KB
expressionError 5.2KB 5.4KB +175.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.6KB 26.0KB -583.0B
expressionRepeatImage 6.2KB 6.5KB +311.0B
expressionRevealImage 6.3KB 6.6KB +314.0B
expressions 101.4KB 98.8KB -2.6KB
expressionShape 20.8KB 19.4KB -1.3KB
expressionTagcloud 10.7KB 10.9KB +152.0B
expressionXY 39.5KB 39.2KB -294.0B
features 3.9KB 3.9KB -80.0B
fieldFormats 63.9KB 63.0KB -955.0B
fieldsMetadata 4.6KB 5.0KB +457.0B
files 10.2KB 5.4KB -4.8KB
filesManagement 4.0KB 4.6KB +592.0B
fileUpload 15.4KB 14.9KB -476.0B
fleet 174.2KB 154.4KB -19.7KB
globalSearch 6.2KB 6.1KB -74.0B
globalSearchBar 29.7KB 30.3KB +541.0B
globalSearchProviders 4.1KB 4.1KB +18.0B
graph 8.0KB 8.7KB +723.0B
grokdebugger 4.4KB 4.9KB +520.0B
guidedOnboarding 27.6KB 26.6KB -992.0B
home 11.5KB 12.4KB +976.0B
imageEmbeddable 5.8KB 6.2KB +413.0B
indexLifecycleManagement 27.6KB 26.5KB -1.1KB
indexManagement 32.4KB 29.4KB -3.0KB
inference 7.6KB 7.4KB -121.0B
infra 50.5KB 49.5KB -1.1KB
ingestPipelines 15.2KB 14.5KB -717.0B
inputControlVis 8.1KB 8.6KB +571.0B
inspector 24.5KB 26.5KB +2.0KB
interactiveSetup 60.1KB 60.1KB -27.0B
inventory 13.0KB 13.4KB +447.0B
investigate 2.7KB 2.6KB -42.0B
investigateApp 11.0KB 11.5KB +453.0B
kbnUiSharedDeps-css 125.9KB 125.9KB -12.0B
kbnUiSharedDeps-npmDll 5.9MB 6.0MB +104.0KB
kbnUiSharedDeps-srcJs 3.6MB 3.5MB -90.6KB
kibanaOverview 5.3KB 5.7KB +408.0B
kibanaReact 30.2KB 30.2KB -72.0B
kibanaUsageCollection 1.4KB 1.5KB +116.0B
kibanaUtils 67.3KB 67.0KB -292.0B
lens 50.2KB 49.7KB -569.0B
licenseManagement 11.8KB 13.3KB +1.4KB
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.1KB 23.5KB -3.5KB
logsShared 163.0KB 130.8KB -32.2KB
logstash 14.1KB 14.1KB +50.0B
management 10.8KB 11.2KB +421.0B
maps 51.9KB 47.2KB -4.7KB
mapsEms 6.0KB 6.0KB +22.0B
metricsDataAccess 44.2KB 43.6KB -655.0B
ml 78.0KB 76.2KB -1.8KB
mockIdpPlugin 7.4KB 7.7KB +345.0B
monitoring 25.3KB 24.7KB -689.0B
navigation 12.5KB 12.6KB +64.0B
newsfeed 10.8KB 10.5KB -246.0B
noDataPage 1.4KB 1.6KB +130.0B
observability 102.4KB 89.8KB -12.5KB
observabilityAIAssistant 46.7KB 38.4KB -8.3KB
observabilityAIAssistantApp 14.9KB 15.3KB +454.0B
observabilityAiAssistantManagement 5.2KB 5.8KB +543.0B
observabilityLogsExplorer 8.5KB 8.5KB -80.0B
observabilityOnboarding 10.3KB 11.2KB +938.0B
observabilityShared 93.9KB 82.4KB -11.5KB
osquery 44.7KB 43.3KB -1.4KB
painlessLab 11.5KB 13.0KB +1.5KB
presentationPanel 11.0KB 11.0KB +72.0B
presentationUtil 23.8KB 23.5KB -340.0B
productDocBase 2.2KB 2.3KB +100.0B
profiling 17.7KB 18.1KB +359.0B
remoteClusters 9.5KB 9.0KB -459.0B
reporting 47.8KB 47.7KB -13.0B
rollup 11.9KB 11.3KB -654.0B
runtimeFields 11.4KB 10.8KB -552.0B
savedObjects 15.7KB 16.5KB +784.0B
savedObjectsFinder 3.3KB 3.8KB +512.0B
savedObjectsManagement 19.8KB 20.0KB +161.0B
savedObjectsTagging 20.4KB 20.2KB -227.0B
savedObjectsTaggingOss 1.7KB 1.9KB +181.0B
savedSearch 11.6KB 11.2KB -397.0B
screenshotMode 2.0KB 2.1KB +54.0B
screenshotting 7.8KB 8.8KB +1.0KB
searchAssistant 4.8KB 5.4KB +584.0B
searchConnectors 61.4KB 60.3KB -1.1KB
searchHomepage 4.6KB 5.1KB +559.0B
searchIndices 8.4KB 8.6KB +271.0B
searchInferenceEndpoints 6.7KB 7.1KB +416.0B
searchNavigation 5.0KB 5.5KB +536.0B
searchNotebooks 16.2KB 16.7KB +481.0B
searchPlayground 7.4KB 7.9KB +484.0B
searchprofiler 22.2KB 23.7KB +1.5KB
searchSynonyms 4.9KB 5.3KB +439.0B
security 62.9KB 61.8KB -1.1KB
securitySolution 92.3KB 85.5KB -6.8KB
securitySolutionEss 12.1KB 12.4KB +313.0B
securitySolutionServerless 29.6KB 29.6KB -31.0B
serverless 9.1KB 9.6KB +498.0B
serverlessObservability 30.7KB 26.9KB -3.7KB
serverlessSearch 24.9KB 25.5KB +617.0B
sessionView 45.4KB 43.7KB -1.7KB
share 55.8KB 58.6KB +2.8KB
slo 42.7KB 41.5KB -1.2KB
snapshotRestore 28.9KB 27.6KB -1.3KB
spaces 29.3KB 28.6KB -695.0B
stackAlerts 25.2KB 25.0KB -246.0B
stackConnectors 61.8KB 59.8KB -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.6KB 23.0KB +459.0B
telemetryManagementSection 4.4KB 4.9KB +548.0B
threatIntelligence 12.7KB 12.8KB +113.0B
timelines 201.6KB 178.3KB -23.3KB
transform 19.8KB 21.0KB +1.2KB
triggersActionsUi 130.9KB 124.7KB -6.2KB
uiActions 22.0KB 21.6KB -401.0B
uiActionsEnhanced 17.6KB 17.9KB +261.0B
unifiedDocViewer 11.3KB 11.5KB +287.0B
unifiedHistogram 10.5KB 10.3KB -214.0B
unifiedSearch 44.6KB 45.8KB +1.2KB
upgradeAssistant 22.9KB 22.4KB -477.0B
uptime 22.7KB 22.5KB -180.0B
urlDrilldown 17.5KB 17.6KB +50.0B
urlForwarding 4.8KB 4.8KB -2.0B
usageCollection 5.0KB 5.0KB -11.0B
ux 6.7KB 7.3KB +657.0B
visDefaultEditor 30.4KB 29.4KB -999.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.8KB 33.8KB -53.0B
visTypeVislib 12.5KB 12.9KB +425.0B
visTypeXy 28.5KB 28.9KB +346.0B
visualizations 38.7KB 35.3KB -3.3KB
watcher 14.4KB 15.7KB +1.3KB
total -212.5KB
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 65 64 -1
total +17

async chunk count

id before after diff
apm 61 63 +2
dataViewEditor 2 3 +1
dataViewFieldEditor 14 15 +1
dataVisualizer 18 19 +1
discover 27 29 +2
enterpriseSearch 17 19 +2
eventAnnotationListing 5 4 -1
expressionXY 6 7 +1
lens 26 27 +1
logsExplorer 6 5 -1
ml 110 111 +1
securitySolution 109 129 +20
serverlessSearch 10 11 +1
slo 30 32 +2
stackConnectors 99 101 +2
triggersActionsUi 65 67 +2
visTypeTimeseries 17 20 +3
total +40

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
automaticImport 1.3MB 285.6KB -1.0MB
dataViewManagement 847.7KB 686.0KB -161.8KB
home 398.3KB 206.8KB -191.5KB
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

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.

2 participants