kibana icon indicating copy to clipboard operation
kibana copied to clipboard

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

Open mistic opened this issue 1 year ago • 3 comments

WIP

Summary

TODO

  • [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
  • [ ] 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
  • [ ] 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
  • [ ] Add Webpack to Renovate config
  • [x] Explore removing NodePolyfillPlugin 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.
  • [ ] 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)

mistic avatar Aug 22 '24 15:08 mistic

Explore removing NodePolyfillPlugin 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.

The default polyfill set is: https://github.com/Richienb/node-polyfill-webpack-plugin/blob/main/index.js#L23

Searching the codebase I added b6260552e273ce5fb7cf2e56a47fcba461d9f27e with excludes the unused polyfills. We could narrow this down a bit more per webpack.config.js, but I think this is good for now.

Ikuni17 avatar Aug 29 '24 21:08 Ikuni17

Pinging @elastic/kibana-operations (Team:Operations)

elasticmachine avatar Jan 27 '25 06:01 elasticmachine

Pinging @elastic/fleet (Team:Fleet)

elasticmachine avatar Jan 27 '25 13:01 elasticmachine

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

elasticmachine avatar Jan 27 '25 13:01 elasticmachine

@dej611 thank you very much for your findings. Thats definitely not expected and it points to me that it's likely your filewatchers limits are too low, in any case let's go through the following:

1 - what's the hardware and the OS you're running this into? 2 - could you please try to restart your machines (sometimes there are too many unclosed filewatchers and restarting would give us a clean check if there is a problem or not) 3 - could you please change on your checkout the value you can found here https://github.com/elastic/kibana/pull/191106/files#diff-81de87cb9348669d1c19bc051c8ed51b1d81592ecb7171a40249c5bba5b210afR76 from 4000 to 3500 (and if that doesn't work to 3000) and see if the problem go away?

Thank you!

mistic avatar Jan 27 '25 15:01 mistic

CODEOWNER changes look good.

clintandrewhall avatar Jan 28 '25 03:01 clintandrewhall

@dej611 thank you very much for your findings. Thats definitely not expected and it points to me that it's likely your filewatchers limits are too low, in any case let's go through the following:

1 - what's the hardware and the OS you're running this into? 2 - could you please try to restart your machines (sometimes there are too many unclosed filewatchers and restarting would give us a clean check if there is a problem or not) 3 - could you please change on your checkout the value you can found here https://github.com/elastic/kibana/pull/191106/files#diff-81de87cb9348669d1c19bc051c8ed51b1d81592ecb7171a40249c5bba5b210afR76 from 4000 to 3500 (and if that doesn't work to 3000) and see if the problem go away?

Thank you!

Restarted the machine and tested with a clean slate: all good now without changing the WATCHPACK_WATCHER_LIMIT

dej611 avatar Jan 29 '25 09:01 dej611

:green_heart: Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
aiAssistantManagementSelection 67 66 -1
aiops 607 615 +8
alerting 229 235 +6
apm 1703 1653 -50
automaticImport 750 732 -18
banners 24 30 +6
canvas 1227 1216 -11
cases 1032 1022 -10
cloudDefend 95 71 -24
cloudSecurityPosture 796 789 -7
console 222 226 +4
controls 462 452 -10
core 407 401 -6
crossClusterReplication 110 109 -1
dashboard 719 734 +15
data 627 633 +6
datasetQuality 283 289 +6
dataUsage 119 120 +1
dataViewEditor 83 89 +6
dataViewFieldEditor 168 172 +4
dataViewManagement 224 217 -7
dataVisualizer 858 851 -7
devTools 24 30 +6
discover 1103 1096 -7
enterpriseSearch 1391 1383 -8
esql 216 203 -13
esqlDataGrid 521 527 +6
esUiShared 204 191 -13
eventAnnotationListing 748 741 -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 287 279 -8
home 235 228 -7
imageEmbeddable 131 137 +6
indexLifecycleManagement 274 280 +6
indexManagement 701 691 -10
infra 1307 1281 -26
ingestPipelines 382 381 -1
inputControlVis 92 98 +6
inspector 72 78 +6
interactiveSetup 49 55 +6
inventory 230 220 -10
investigateApp 358 335 -23
kibanaOverview 104 97 -7
kibanaReact 186 255 +69
kibanaUtils 166 167 +1
lens 1825 1815 -10
licenseManagement 106 111 +5
links 128 134 +6
logsShared 363 339 -24
management 97 90 -7
maps 1332 1339 +7
mapsEms 39 52 +13
metricsDataAccess 264 246 -18
ml 2437 2413 -24
mockIdpPlugin 22 136 +114
navigation 59 46 -13
observability 1447 1435 -12
observabilityAIAssistant 116 103 -13
observabilityAIAssistantApp 530 516 -14
observabilityAiAssistantManagement 390 376 -14
observabilityOnboarding 229 230 +1
observabilityShared 219 201 -18
osquery 314 302 -12
painlessLab 36 42 +6
presentationUtil 149 155 +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 270 257 -13
searchHomepage 113 100 -13
searchIndices 231 338 +107
searchInferenceEndpoints 147 134 -13
searchPlayground 296 289 -7
searchprofiler 70 76 +6
searchSynonyms 90 77 -13
security 541 648 +107
securitySolution 6796 7073 +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 996 1001 +5
snapshotRestore 192 198 +6
spaces 366 359 -7
stackAlerts 278 271 -7
streamsApp 313 296 -17
synthetics 989 969 -20
timelines 159 148 -11
transform 480 486 +6
triggersActionsUi 930 919 -11
uiActionsEnhanced 165 171 +6
unifiedDocViewer 281 272 -9
unifiedHistogram 290 283 -7
unifiedSearch 400 392 -8
upgradeAssistant 187 193 +6
uptime 571 570 -1
ux 201 185 -16
visDefaultEditor 235 241 +6
visTypeMarkdown 62 68 +6
visTypeTable 41 47 +6
visTypeTimelion 61 67 +6
visTypeTimeseries 545 552 +7
visTypeVega 314 553 +239
visTypeVislib 117 186 +69
visualizations 506 500 -6
watcher 170 176 +6
total +669

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.5KB 454.5KB -151.9KB
alerting 98.7KB 99.5KB +828.0B
apm 4.0MB 2.3MB -1.7MB
automaticImport 1.1MB 1.1MB -5.1KB
canvas 1.1MB 1.0MB -62.2KB
cases 1.3MB 1.3MB -41.7KB
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.3KB 502.7KB -35.6KB
console 231.6KB 201.8KB -29.8KB
controls 441.9KB 426.2KB -15.7KB
core 63.0KB 63.0KB -12.0B
crossClusterReplication 141.5KB 137.6KB -3.9KB
customIntegrations 83.9KB 82.9KB -1.0KB
dashboard 546.8KB 531.7KB -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.0KB 113.7KB -77.3KB
dataViewManagement 137.0KB 128.5KB -8.5KB
dataViews 1.9KB 1.7KB -166.0B
dataVisualizer 721.8KB 615.6KB -106.2KB
devTools 2.4KB 2.3KB -101.0B
discover 847.9KB 806.3KB -41.6KB
embeddable 1.6KB 1.6KB -41.0B
enterpriseSearch 1.5MB 1.3MB -153.0KB
entityManagerApp 9.5KB 9.1KB -423.0B
esql 247.1KB 235.9KB -11.3KB
esqlDataGrid 191.4KB 173.1KB -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.3KB
graph 421.2KB 404.6KB -16.6KB
grokdebugger 8.7KB 8.3KB -384.0B
home 146.7KB 139.0KB -7.7KB
imageEmbeddable 61.8KB 57.2KB -4.6KB
indexLifecycleManagement 167.8KB 172.5KB +4.7KB
indexManagement 765.7KB 713.1KB -52.6KB
infra 1.2MB 1.1MB -121.2KB
ingestPipelines 422.2KB 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 -6.0KB
licenseManagement 41.2KB 32.0KB -9.2KB
links 75.3KB 63.9KB -11.4KB
lists 143.3KB 136.2KB -7.1KB
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.5KB
mapsEms 90.0KB 86.4KB -3.6KB
metricsDataAccess 89.0KB 59.6KB -29.5KB
ml 5.5MB 5.2MB -276.8KB
mockIdpPlugin 28.1KB 35.8KB +7.7KB
monitoring 517.1KB 482.1KB -35.0KB
navigation 26.8KB 19.9KB -6.9KB
observability 1.4MB 1.3MB -49.9KB
observabilityAIAssistant 20.2KB 19.7KB -539.0B
observabilityAIAssistantApp 302.3KB 251.8KB -50.5KB
observabilityAiAssistantManagement 116.2KB 106.9KB -9.4KB
observabilityLogsExplorer 903.0B 817.0B -86.0B
observabilityOnboarding 268.9KB 260.8KB -8.1KB
observabilityShared 54.2KB 37.1KB -17.1KB
osquery 1.0MB 1.0MB -22.7KB
painlessLab 16.3KB 15.8KB -524.0B
presentationPanel 36.7KB 35.8KB -922.0B
presentationUtil 84.2KB 90.6KB +6.4KB
profiling 409.1KB 402.9KB -6.2KB
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 183.1KB 180.2KB -2.9KB
searchInferenceEndpoints 114.1KB 104.7KB -9.4KB
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 19.1MB 8.9MB -10.2MB
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 878.9KB 793.8KB -85.1KB
snapshotRestore 257.8KB 249.0KB -8.9KB
spaces 266.6KB 269.7KB +3.1KB
stackAlerts 75.2KB 75.3KB +175.0B
stackConnectors 689.3KB 606.1KB -83.2KB
streamsApp 304.0KB 278.2KB -25.7KB
synthetics 920.3KB 787.9KB -132.4KB
telemetry 4.8KB 4.6KB -241.0B
telemetryManagementSection 33.6KB 31.4KB -2.2KB
threatIntelligence 758.0KB 754.0KB -4.0KB
timelines 22.0KB 20.7KB -1.3KB
transform 470.1KB 475.8KB +5.7KB
triggersActionsUi 1.6MB 1.5MB -104.6KB
uiActionsEnhanced 137.7KB 138.1KB +458.0B
unifiedDocViewer 148.5KB 124.3KB -24.2KB
unifiedHistogram 70.9KB 63.3KB -7.7KB
unifiedSearch 372.6KB 358.8KB -13.8KB
upgradeAssistant 191.9KB 175.9KB -16.0KB
uptime 423.9KB 376.2KB -47.7KB
ux 177.8KB 163.8KB -14.0KB
visDefaultEditor 105.3KB 104.2KB -1.1KB
visTypeGauge 8.9KB 8.6KB -220.0B
visTypeHeatmap 9.8KB 9.6KB -256.0B
visTypeMarkdown 8.7KB 9.5KB +847.0B
visTypeMetric 1.3KB 1.3KB -44.0B
visTypePie 11.3KB 11.1KB -254.0B
visTypeTable 21.1KB 21.6KB +530.0B
visTypeTagcloud 3.2KB 3.1KB -93.0B
visTypeTimelion 41.4KB 43.2KB +1.8KB
visTypeTimeseries 537.4KB 510.9KB -26.5KB
visTypeVega 1.9MB 1.8MB -11.2KB
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 -14.9MB

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.2KB 14.6KB +358.0B
cases 164.0KB 143.8KB -20.2KB
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 11.0KB -362.0B
core 484.8KB 474.0KB -10.8KB
crossClusterReplication 12.1KB 11.2KB -913.0B
customIntegrations 10.2KB 10.4KB +199.0B
dashboard 17.7KB 17.5KB -225.0B
dashboardEnhanced 15.4KB 15.1KB -334.0B
data 423.7KB 398.0KB -25.7KB
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.7KB 28.0KB -712.0B
devTools 11.9KB 13.4KB +1.5KB
discover 44.8KB 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.7KB 99.1KB -2.7KB
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.7KB 154.9KB -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 25.4KB 24.5KB -922.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.5KB -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 6.0MB 6.0MB +46.5KB
kbnUiSharedDeps-srcJs 3.6MB 3.6MB -33.3KB
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 49.5KB 49.0KB -480.0B
licenseManagement 11.8KB 13.3KB +1.4KB
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
logsShared 163.0KB 130.8KB -32.2KB
logstash 14.1KB 14.1KB +50.0B
management 10.8KB 11.2KB +421.0B
maps 44.6KB 40.4KB -4.2KB
mapsEms 6.0KB 6.0KB +22.0B
metricsDataAccess 44.2KB 43.6KB -655.0B
ml 79.5KB 77.2KB -2.3KB
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.6KB 90.0KB -12.6KB
observabilityAIAssistant 46.7KB 38.4KB -8.3KB
observabilityAIAssistantApp 15.3KB 15.7KB +355.0B
observabilityAiAssistantManagement 5.2KB 5.8KB +543.0B
observabilityLogsExplorer 3.7KB 4.2KB +520.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 10.9KB 10.9KB -29.0B
presentationUtil 23.8KB 23.5KB -340.0B
productDocBase 2.2KB 2.3KB +100.0B
profiling 17.8KB 18.1KB +367.0B
remoteClusters 9.5KB 9.0KB -459.0B
reporting 47.9KB 47.9KB -15.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 +585.0B
searchConnectors 61.4KB 60.3KB -1.1KB
searchHomepage 4.6KB 5.1KB +559.0B
searchIndices 8.3KB 8.6KB +263.0B
searchInferenceEndpoints 6.7KB 7.1KB +416.0B
searchNavigation 4.6KB 4.8KB +168.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.1KB 85.1KB -7.0KB
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 57.2KB 60.0KB +2.8KB
slo 43.4KB 42.2KB -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.7KB 6.8KB +1.1KB
synthetics 38.7KB 37.6KB -1.1KB
telemetry 22.6KB 23.0KB +459.0B
telemetryManagementSection 4.4KB 4.9KB +548.0B
threatIntelligence 12.8KB 12.9KB +128.0B
timelines 200.8KB 177.6KB -23.2KB
transform 19.8KB 21.0KB +1.2KB
triggersActionsUi 119.5KB 114.9KB -4.5KB
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 23.9KB 23.4KB -555.0B
uptime 55.1KB 53.0KB -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.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.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.8KB 34.7KB -64.0B
visTypeVislib 12.5KB 12.9KB +425.0B
visTypeXy 28.5KB 28.9KB +346.0B
visualizations 38.7KB 35.4KB -3.3KB
watcher 14.4KB 15.7KB +1.3KB
total -209.8KB
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
cases 34 35 +1
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
links 5 6 +1
ml 111 110 -1
securitySolution 111 128 +17
serverlessSearch 10 11 +1
slo 28 30 +2
stackConnectors 99 101 +2
triggersActionsUi 58 62 +4
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

  • :broken_heart: Build #276156 failed 89ed63af7fe5b0754821222a1142e3813da53596
  • :yellow_heart: Build #275794 was flaky 49f4598fb9e9e47ff9d7efb6c3899ca936cc48fa
  • :green_heart: Build #275390 succeeded 2ff56aae064a43674afff1c17bd128582b3c0312
  • :green_heart: Build #274873 succeeded 1997857b86a5f7bd8c0165fd1c0f2e624e75cb02
  • :yellow_heart: Build #274106 was flaky f40b4d40df95a693ab7ea4d58fdc90b3e989fd2b

cc @mistic

elasticmachine avatar Feb 14 '25 01:02 elasticmachine

Starting backport for target branches: 7.17, 8.16, 8.17, 8.18, 8.x, 9.0

https://github.com/elastic/kibana/actions/runs/13321612548

kibanamachine avatar Feb 14 '25 03:02 kibanamachine

💔 All backports failed

Status Branch Result
7.17 Backport failed because of merge conflicts
8.16 Backport failed because of merge conflicts
8.17 Backport failed because of merge conflicts
8.18 Backport failed because of merge conflicts
8.x Backport failed because of merge conflicts

You might need to backport the following PRs to 8.x:
- [scout] adding test helper @kbn/scout-oblt package and uptate onboarding tests (#209761)
- Remove dependency date-fns !! (#209539)
- [Cloud Security] Feature Flag Support for Cloud Security Posture Plugin (#205438)
9.0 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 191106

Questions ?

Please refer to the Backport tool documentation

kibanamachine avatar Feb 14 '25 03:02 kibanamachine

💚 All backports created successfully

Status Branch Result
9.0

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

mistic avatar Feb 14 '25 03:02 mistic

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

mistic avatar Feb 14 '25 03:02 mistic

💚 All backports created successfully

Status Branch Result
8.18

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

mistic avatar Feb 14 '25 03:02 mistic

💚 All backports created successfully

Status Branch Result
8.17

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

mistic avatar Feb 14 '25 04:02 mistic

Starting backport for target branches: 8.16, 8.17, 8.18, 8.x, 9.0

https://github.com/elastic/kibana/actions/runs/13322345568

kibanamachine avatar Feb 14 '25 04:02 kibanamachine

💔 All backports failed

Status Branch Result
8.16 Backport failed because of merge conflicts
8.17 Backport failed because of merge conflicts
8.18 Backport failed because of merge conflicts
8.x Backport failed because of merge conflicts

You might need to backport the following PRs to 8.x:
- [scout] adding test helper @kbn/scout-oblt package and uptate onboarding tests (#209761)
- Remove dependency date-fns !! (#209539)
- [Cloud Security] Feature Flag Support for Cloud Security Posture Plugin (#205438)
9.0 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 191106

Questions ?

Please refer to the Backport tool documentation

kibanamachine avatar Feb 14 '25 04:02 kibanamachine

💚 All backports created successfully

Status Branch Result
8.16

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

mistic avatar Feb 14 '25 04:02 mistic

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

kibanamachine avatar Feb 17 '25 13:02 kibanamachine

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

kibanamachine avatar Feb 18 '25 14:02 kibanamachine