Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.17] chore(NA): upgrade to webpack 5 (#191106) #211148

Merged
merged 11 commits into from
Feb 19, 2025

Conversation

mistic
Copy link
Member

@mistic mistic commented Feb 14, 2025

Backport

This will backport the following commits from main to 8.17:

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-monaco/BUILD.bazel
#	packages/kbn-node-libs-browser-webpack-plugin/jest.config.js
#	packages/kbn-optimizer/limits.yml
#	packages/kbn-optimizer/src/worker/theme_loader.ts
#	packages/kbn-plugin-helpers/src/integration_tests/build.test.ts
#	packages/kbn-ui-shared-deps-npm/BUILD.bazel
#	packages/kbn-ui-shared-deps-npm/webpack.config.js
#	packages/kbn-ui-shared-deps-src/src/definitions.js
#	src/platform/packages/private/kbn-ui-shared-deps-src/BUILD.bazel
#	src/platform/plugins/shared/discover/.storybook/discover.webpack.ts
#	src/platform/plugins/shared/discover/.storybook/main.ts
#	src/plugins/discover/.storybook/discover.webpack.ts
#	src/plugins/discover/.storybook/main.js
#	src/plugins/discover/.storybook/main.ts
#	tsconfig.base.json
#	x-pack/platform/plugins/shared/fleet/package.json
#	x-pack/platform/plugins/shared/osquery/package.json
#	x-pack/plugins/canvas/shareable_runtime/webpack.config.js
#	x-pack/plugins/canvas/storybook/canvas_webpack.ts
#	x-pack/plugins/security_solution/package.json
#	x-pack/solutions/observability/plugins/apm/ftr_e2e/package.json
#	x-pack/solutions/observability/plugins/profiling/e2e/package.json
#	x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/.storybook/main.ts
#	x-pack/test/security_solution_cypress/package.json
#	yarn.lock
@mistic mistic enabled auto-merge (squash) February 14, 2025 04:03
@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Feb 14, 2025
@mistic mistic mentioned this pull request Feb 14, 2025
39 tasks
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

kibanamachine and others added 5 commits February 14, 2025 04:18
…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 --update --no-serverless'
@botelastic botelastic bot added Team:Fleet Team label for Observability Data Collection Fleet team Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team labels Feb 14, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@elasticmachine
Copy link
Contributor

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

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

elasticmachine commented Feb 18, 2025

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
aiAssistantManagementSelection 69 68 -1
aiops 628 636 +8
alerting 249 255 +6
apm 1878 1859 -19
banners 33 39 +6
canvas 1256 1249 -7
cases 822 821 -1
cloudDefend 110 111 +1
cloudSecurityPosture 662 655 -7
console 238 242 +4
controls 363 353 -10
core 450 444 -6
crossClusterReplication 133 132 -1
dashboard 689 704 +15
data 523 529 +6
datasetQuality 276 282 +6
dataUsage 133 134 +1
dataViewEditor 86 92 +6
dataViewFieldEditor 162 166 +4
dataViewManagement 248 241 -7
dataVisualizer 732 738 +6
devTools 43 49 +6
discover 979 972 -7
embeddable 143 149 +6
enterpriseSearch 2323 2315 -8
esql 112 105 -7
esqlDataGrid 370 376 +6
esUiShared 221 214 -7
eventAnnotationListing 592 585 -7
expressionError 40 46 +6
expressionGauge 107 100 -7
expressionHeatmap 182 175 -7
expressionLegacyMetricVis 47 53 +6
expressionPartitionVis 199 186 -13
expressions 181 186 +5
expressionTagcloud 170 163 -7
expressionXY 260 253 -7
fieldFormats 64 70 +6
files 12 11 -1
filesManagement 198 191 -7
fileUpload 218 317 +99
fleet 1245 1226 -19
globalSearchBar 48 54 +6
graph 310 302 -8
home 267 260 -7
imageEmbeddable 141 147 +6
indexLifecycleManagement 262 268 +6
indexManagement 699 689 -10
infra 1532 1502 -30
ingestPipelines 358 357 -1
inputControlVis 94 100 +6
inspector 78 84 +6
integrationAssistant 470 455 -15
interactiveSetup 58 64 +6
inventory 279 269 -10
investigateApp 583 560 -23
kibanaOverview 137 130 -7
kibanaReact 214 283 +69
kibanaUtils 176 177 +1
kubernetesSecurity 202 190 -12
lens 1492 1482 -10
licenseManagement 125 130 +5
links 131 137 +6
logsExplorer 570 562 -8
logsShared 703 700 -3
management 130 123 -7
maps 1257 1263 +6
mapsEms 39 52 +13
metricsDataAccess 319 307 -12
ml 2134 2115 -19
mockIdpPlugin 38 152 +114
monitoring 494 500 +6
navigation 77 70 -7
observability 1076 1069 -7
observabilityAIAssistant 111 98 -13
observabilityAIAssistantApp 385 371 -14
observabilityAiAssistantManagement 361 347 -14
observabilityLogsExplorer 210 195 -15
observabilityOnboarding 263 264 +1
observabilityShared 221 214 -7
osquery 345 333 -12
painlessLab 45 51 +6
presentationPanel 111 117 +6
presentationUtil 180 186 +6
remoteClusters 125 130 +5
reporting 152 158 +6
rollup 146 151 +5
savedObjects 36 42 +6
savedObjectsManagement 122 126 +4
savedObjectsTagging 106 112 +6
screenshotting 17 23 +6
searchAssistant 253 240 -13
searchHomepage 152 145 -7
searchIndices 235 342 +107
searchPlayground 269 262 -7
searchprofiler 78 84 +6
security 527 634 +107
securitySolution 6200 6479 +279
securitySolutionEss 117 105 -12
securitySolutionServerless 152 140 -12
serverless 78 65 -13
serverlessSearch 290 410 +120
sessionView 102 107 +5
share 94 99 +5
slo 853 858 +5
snapshotRestore 211 217 +6
spaces 338 331 -7
stackAlerts 182 175 -7
synthetics 1043 1039 -4
timelines 175 164 -11
transform 487 493 +6
triggersActionsUi 865 854 -11
uiActionsEnhanced 157 163 +6
unifiedDocViewer 225 231 +6
unifiedHistogram 193 186 -7
unifiedSearch 376 368 -8
upgradeAssistant 178 184 +6
uptime 593 592 -1
ux 201 200 -1
visDefaultEditor 206 212 +6
visTypeMarkdown 32 38 +6
visTypeTable 50 56 +6
visTypeTimelion 66 72 +6
visTypeTimeseries 462 469 +7
visTypeVega 280 520 +240
visTypeVislib 126 195 +69
visualizations 490 483 -7
watcher 189 195 +6
total +970

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 50 48 -2
total +16

Any counts in public APIs

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

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

Async chunks

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

id before after diff
advancedSettings 37.0KB 36.1KB -874.0B
aiAssistantManagementSelection 95.4KB 94.3KB -1.2KB
aiops 590.6KB 461.1KB -129.5KB
alerting 93.9KB 89.0KB -4.9KB
apm 3.5MB 2.5MB -1.0MB
canvas 1.1MB 1.0MB -44.6KB
cases 491.3KB 463.0KB -28.3KB
charts 9.4KB 9.2KB -284.0B
cloudDataMigration 5.9KB 5.3KB -587.0B
cloudDefend 231.8KB 254.2KB +22.4KB
cloudFullStory 17.6KB 17.5KB -142.0B
cloudSecurityPosture 509.8KB 476.6KB -33.2KB
console 206.8KB 175.3KB -31.4KB
controls 458.5KB 437.5KB -21.0KB
core 60.9KB 60.9KB -71.0B
crossClusterReplication 146.2KB 141.7KB -4.5KB
customIntegrations 81.0KB 78.8KB -2.2KB
dashboard 650.2KB 628.3KB -21.9KB
data 52.4KB 52.3KB -172.0B
dataQuality 28.2KB 23.6KB -4.5KB
datasetQuality 251.4KB 220.7KB -30.7KB
dataUsage 238.1KB 260.1KB +22.1KB
dataViewEditor 49.4KB 41.8KB -7.6KB
dataViewFieldEditor 176.9KB 158.1KB -18.8KB
dataViewManagement 139.6KB 130.1KB -9.5KB
dataViews 1.9KB 1.7KB -165.0B
dataVisualizer 613.7KB 522.2KB -91.5KB
devTools 7.7KB 7.0KB -721.0B
discover 810.5KB 772.7KB -37.8KB
embeddable 2.8KB 2.8KB -31.0B
enterpriseSearch 2.6MB 2.5MB -126.3KB
esql 194.3KB 185.4KB -8.9KB
esqlDataGrid 154.0KB 138.8KB -15.3KB
eventAnnotation 7.2KB 6.9KB -378.0B
eventAnnotationListing 229.5KB 220.4KB -9.1KB
exploratoryView 184.5KB 159.8KB -24.7KB
expressionError 14.3KB 15.0KB +695.0B
expressionGauge 21.9KB 16.4KB -5.6KB
expressionHeatmap 26.8KB 20.7KB -6.0KB
expressionLegacyMetricVis 11.9KB 12.2KB +321.0B
expressionMetric 502.0B 462.0B -40.0B
expressionMetricVis 5.2KB 5.0KB -181.0B
expressionPartitionVis 35.6KB 29.0KB -6.5KB
expressionRepeatImage 1.2KB 1.1KB -49.0B
expressionRevealImage 1.6KB 1.6KB -69.0B
expressions 28.9KB 30.2KB +1.3KB
expressionTagcloud 19.0KB 13.0KB -5.9KB
expressionXY 127.7KB 109.4KB -18.2KB
fieldsMetadata 63.2KB 59.3KB -3.9KB
filesManagement 123.2KB 115.4KB -7.8KB
fileUpload 951.4KB 644.7KB -306.8KB
fleet 1.8MB 1.8MB -54.5KB
graph 415.8KB 400.0KB -15.8KB
grokdebugger 11.0KB 10.2KB -850.0B
home 151.9KB 144.8KB -7.2KB
imageEmbeddable 69.1KB 59.2KB -9.9KB
indexLifecycleManagement 166.0KB 166.0KB +57.0B
indexManagement 697.9KB 642.9KB -55.0KB
infra 1.7MB 1.5MB -255.1KB
ingestPipelines 405.7KB 396.3KB -9.4KB
inputControlVis 52.1KB 51.9KB -199.0B
inspector 28.3KB 27.3KB -947.0B
integrationAssistant 880.2KB 863.0KB -17.2KB
inventory 239.1KB 221.8KB -17.4KB
investigateApp 486.2KB 205.6KB -280.6KB
kibanaOverview 54.7KB 47.9KB -6.8KB
kibanaReact 197.1KB 191.9KB -5.3KB
kibanaUtils 60.8KB 60.9KB +92.0B
kubernetesSecurity 216.4KB 209.6KB -6.7KB
lens 1.5MB 1.5MB -25.9KB
licenseManagement 46.5KB 36.8KB -9.7KB
links 52.6KB 46.6KB -6.0KB
lists 145.3KB 138.2KB -7.1KB
logsExplorer 222.3KB 183.6KB -38.7KB
logsShared 425.4KB 304.5KB -121.0KB
logstash 33.4KB 32.3KB -1.0KB
management 48.3KB 42.9KB -5.4KB
maps 3.0MB 2.9MB -109.7KB
mapsEms 89.8KB 86.2KB -3.6KB
metricsDataAccess 99.5KB 61.1KB -38.3KB
ml 4.7MB 4.4MB -314.8KB
mockIdpPlugin 28.1KB 35.8KB +7.7KB
monitoring 535.2KB 507.9KB -27.4KB
navigation 25.8KB 19.4KB -6.4KB
observability 479.1KB 440.6KB -38.5KB
observabilityAIAssistant 19.2KB 18.7KB -514.0B
observabilityAIAssistantApp 241.6KB 220.3KB -21.3KB
observabilityAiAssistantManagement 100.3KB 98.0KB -2.3KB
observabilityLogsExplorer 147.1KB 115.7KB -31.5KB
observabilityOnboarding 282.9KB 274.3KB -8.6KB
observabilityShared 54.9KB 49.5KB -5.5KB
osquery 1.0MB 1.0MB -21.6KB
painlessLab 18.5KB 17.6KB -1005.0B
presentationPanel 15.3KB 15.0KB -357.0B
presentationUtil 87.4KB 82.4KB -5.0KB
profiling 408.9KB 402.4KB -6.5KB
remoteClusters 79.2KB 76.6KB -2.6KB
reporting 61.2KB 61.6KB +374.0B
rollup 115.5KB 112.6KB -2.9KB
savedObjectsFinder 7.4KB 7.2KB -136.0B
savedObjectsManagement 86.6KB 85.9KB -749.0B
savedObjectsTagging 46.9KB 46.2KB -758.0B
searchAssistant 161.7KB 143.0KB -18.7KB
searchHomepage 54.8KB 48.5KB -6.3KB
searchIndices 168.2KB 166.4KB -1.8KB
searchInferenceEndpoints 72.5KB 70.2KB -2.3KB
searchNotebooks 14.2KB 13.3KB -899.0B
searchPlayground 168.1KB 152.1KB -16.1KB
searchprofiler 48.5KB 45.1KB -3.4KB
security 540.7KB 527.3KB -13.4KB
securitySolution 13.3MB 8.8MB -4.6MB
securitySolutionEss 62.1KB 38.6KB -23.5KB
securitySolutionServerless 133.2KB 63.0KB -70.2KB
serverless 26.5KB 19.7KB -6.8KB
serverlessSearch 339.9KB 339.9KB +54.0B
sessionView 400.4KB 397.4KB -3.0KB
share 4.2KB 4.0KB -149.0B
slo 832.7KB 738.2KB -94.5KB
snapshotRestore 262.7KB 253.2KB -9.5KB
spaces 256.9KB 254.2KB -2.7KB
stackAlerts 73.7KB 72.8KB -863.0B
stackConnectors 688.6KB 621.0KB -67.6KB
synthetics 1.1MB 1.0MB -90.1KB
telemetry 4.0KB 3.8KB -204.0B
telemetryManagementSection 33.6KB 31.4KB -2.2KB
threatIntelligence 57.4KB 54.3KB -3.1KB
timelines 32.8KB 31.1KB -1.7KB
transform 473.5KB 478.3KB +4.7KB
triggersActionsUi 1.7MB 1.6MB -126.2KB
uiActionsEnhanced 136.2KB 135.6KB -567.0B
unifiedDocViewer 126.0KB 116.2KB -9.9KB
unifiedHistogram 71.2KB 63.5KB -7.7KB
unifiedSearch 355.6KB 340.2KB -15.4KB
upgradeAssistant 158.4KB 141.3KB -17.1KB
uptime 472.3KB 425.8KB -46.5KB
ux 169.9KB 166.2KB -3.7KB
visDefaultEditor 95.2KB 93.6KB -1.6KB
visTypeGauge 8.8KB 8.6KB -212.0B
visTypeHeatmap 9.8KB 9.6KB -249.0B
visTypeMarkdown 5.8KB 6.2KB +388.0B
visTypeMetric 1.3KB 1.3KB -40.0B
visTypePie 11.3KB 11.1KB -248.0B
visTypeTable 19.0KB 19.1KB +34.0B
visTypeTagcloud 3.2KB 3.1KB -89.0B
visTypeTimelion 38.8KB 39.6KB +809.0B
visTypeTimeseries 507.0KB 474.4KB -32.5KB
visTypeVega 1.9MB 1.8MB -12.7KB
visTypeVislib 371.6KB 365.9KB -5.7KB
visTypeXy 42.3KB 41.2KB -1.0KB
visualizations 321.2KB 315.2KB -6.0KB
watcher 166.2KB 160.9KB -5.4KB
total -8.8MB

Page load bundle

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

id before after diff
actions 17.4KB 16.4KB -1000.0B
advancedSettings 7.4KB 7.5KB +80.0B
aiAssistantManagementSelection 4.7KB 5.3KB +588.0B
aiops 16.1KB 16.5KB +330.0B
alerting 25.5KB 23.7KB -1.8KB
apm 38.0KB 35.1KB -2.8KB
banners 10.4KB 10.4KB +9.0B
bfetch 6.8KB 6.7KB -88.0B
canvas 14.7KB 15.1KB +446.0B
cases 159.5KB 140.2KB -19.3KB
charts 45.3KB 44.4KB -887.0B
cloud 7.6KB 7.7KB +59.0B
cloudDataMigration 4.7KB 5.3KB +585.0B
cloudDefend 8.9KB 9.1KB +220.0B
cloudExperiments 92.8KB 87.7KB -5.1KB
cloudFullStory 3.8KB 4.3KB +516.0B
cloudLinks 30.2KB 29.0KB -1.2KB
cloudSecurityPosture 18.0KB 16.0KB -2.0KB
console 38.4KB 38.2KB -192.0B
contentManagement 7.6KB 7.4KB -160.0B
controls 13.9KB 13.8KB -114.0B
core 454.1KB 446.1KB -8.0KB
crossClusterReplication 12.3KB 11.5KB -891.0B
customIntegrations 10.2KB 10.4KB +199.0B
dashboard 51.8KB 49.3KB -2.5KB
dashboardEnhanced 17.9KB 17.1KB -795.0B
data 419.9KB 393.5KB -26.4KB
dataQuality 8.4KB 8.8KB +438.0B
datasetQuality 18.9KB 18.7KB -243.0B
dataUsage 4.6KB 5.1KB +578.0B
dataViewEditor 13.5KB 13.8KB +295.0B
dataViewFieldEditor 26.8KB 25.2KB -1.6KB
dataViewManagement 5.2KB 5.8KB +675.0B
dataViews 62.6KB 61.5KB -1.1KB
dataVisualizer 24.5KB 24.0KB -452.0B
devTools 11.2KB 12.2KB +1.1KB
discover 51.0KB 44.0KB -7.0KB
discoverEnhanced 7.6KB 7.5KB -102.0B
discoverShared 2.0KB 2.1KB +64.0B
embeddable 72.5KB 70.2KB -2.3KB
embeddableEnhanced 8.9KB 8.9KB +6.0B
enterpriseSearch 54.5KB 54.2KB -236.0B
entityManager 8.0KB 7.6KB -339.0B
esql 6.9KB 7.5KB +637.0B
esqlDataGrid 9.3KB 9.9KB +567.0B
esUiShared 106.9KB 98.6KB -8.3KB
eventAnnotation 19.7KB 19.9KB +139.0B
eventAnnotationListing 11.0KB 11.8KB +817.0B
exploratoryView 44.0KB 40.5KB -3.5KB
expressionError 7.5KB 7.2KB -293.0B
expressionGauge 16.3KB 16.5KB +293.0B
expressionHeatmap 17.2KB 17.7KB +581.0B
expressionImage 6.8KB 6.3KB -526.0B
expressionLegacyMetricVis 12.5KB 12.4KB -147.0B
expressionMetric 8.1KB 8.0KB -120.0B
expressionMetricVis 16.9KB 16.4KB -527.0B
expressionPartitionVis 29.1KB 28.5KB -689.0B
expressionRepeatImage 8.6KB 8.4KB -169.0B
expressionRevealImage 8.5KB 8.4KB -136.0B
expressions 100.3KB 97.2KB -3.1KB
expressionShape 23.1KB 21.4KB -1.6KB
expressionTagcloud 13.2KB 13.4KB +148.0B
expressionXY 42.0KB 41.2KB -744.0B
features 3.9KB 3.9KB -80.0B
fieldFormats 63.1KB 61.7KB -1.4KB
fieldsMetadata 4.6KB 5.0KB +459.0B
files 10.1KB 5.3KB -4.8KB
filesManagement 4.0KB 4.7KB +743.0B
fileUpload 14.9KB 14.5KB -474.0B
fleet 174.1KB 152.3KB -21.8KB
globalSearch 6.2KB 6.1KB -72.0B
globalSearchBar 29.8KB 29.3KB -499.0B
globalSearchProviders 4.1KB 4.1KB +18.0B
graph 8.1KB 8.9KB +838.0B
grokdebugger 4.5KB 5.1KB +541.0B
guidedOnboarding 29.6KB 28.1KB -1.4KB
home 11.6KB 12.6KB +1.0KB
imageEmbeddable 5.9KB 6.3KB +438.0B
indexLifecycleManagement 27.6KB 26.6KB -1.0KB
indexManagement 47.0KB 43.8KB -3.2KB
inference 6.0KB 5.8KB -118.0B
infra 54.7KB 53.3KB -1.4KB
ingestPipelines 17.5KB 16.4KB -1.1KB
inputControlVis 8.3KB 8.8KB +554.0B
inspector 24.9KB 25.5KB +624.0B
integrationAssistant 10.4KB 11.3KB +870.0B
interactiveSetup 59.6KB 58.4KB -1.1KB
inventory 12.4KB 12.9KB +431.0B
investigate 2.7KB 2.6KB -42.0B
investigateApp 6.7KB 7.4KB +716.0B
kbnUiSharedDeps-css 125.9KB 125.9KB -12.0B
kbnUiSharedDeps-npmDll 5.8MB 5.8MB +44.9KB
kbnUiSharedDeps-srcJs 3.4MB 3.4MB -30.0KB
kibanaOverview 15.1KB 16.1KB +1.0KB
kibanaReact 39.4KB 41.1KB +1.7KB
kibanaUsageCollection 1.4KB 1.5KB +114.0B
kibanaUtils 69.1KB 68.6KB -523.0B
kubernetesSecurity 6.0KB 6.0KB -37.0B
lens 50.8KB 50.7KB -144.0B
licenseManagement 11.3KB 12.3KB +1.0KB
licensing 11.7KB 11.2KB -487.0B
links 16.8KB 16.7KB -74.0B
lists 3.7KB 4.3KB +620.0B
logsDataAccess 6.7KB 6.5KB -225.0B
logsExplorer 27.6KB 24.0KB -3.5KB
logsShared 176.0KB 139.3KB -36.7KB
logstash 14.2KB 14.3KB +66.0B
management 10.8KB 11.3KB +560.0B
maps 54.4KB 49.5KB -4.8KB
mapsEms 5.8KB 5.9KB +122.0B
metricsDataAccess 62.0KB 61.5KB -585.0B
ml 75.6KB 74.2KB -1.4KB
mockIdpPlugin 10.6KB 10.4KB -227.0B
monitoring 24.4KB 23.9KB -540.0B
navigation 17.9KB 17.6KB -329.0B
newsfeed 12.7KB 12.0KB -728.0B
noDataPage 1.4KB 1.6KB +130.0B
observability 104.4KB 90.9KB -13.4KB
observabilityAIAssistant 47.4KB 39.0KB -8.4KB
observabilityAIAssistantApp 8.8KB 9.5KB +722.0B
observabilityAiAssistantManagement 5.1KB 5.8KB +650.0B
observabilityLogsExplorer 15.3KB 15.1KB -197.0B
observabilityOnboarding 10.4KB 11.1KB +714.0B
observabilityShared 93.7KB 82.8KB -10.9KB
osquery 46.9KB 45.2KB -1.7KB
painlessLab 10.3KB 11.3KB +1.0KB
presentationPanel 43.3KB 41.5KB -1.8KB
presentationUtil 31.3KB 31.4KB +54.0B
productDocBase 2.2KB 2.3KB +100.0B
profiling 17.7KB 18.0KB +371.0B
remoteClusters 9.2KB 8.9KB -240.0B
reporting 52.7KB 52.1KB -547.0B
rollup 12.1KB 11.6KB -583.0B
runtimeFields 13.9KB 12.9KB -1.0KB
savedObjects 17.6KB 17.4KB -232.0B
savedObjectsFinder 3.3KB 3.8KB +510.0B
savedObjectsManagement 19.9KB 20.1KB +177.0B
savedObjectsTagging 22.6KB 21.9KB -740.0B
savedObjectsTaggingOss 1.7KB 1.9KB +183.0B
savedSearch 11.4KB 11.1KB -349.0B
screenshotMode 2.0KB 2.1KB +54.0B
screenshotting 7.0KB 7.5KB +520.0B
searchAssistant 4.9KB 5.5KB +649.0B
searchConnectors 61.8KB 60.8KB -1.1KB
searchHomepage 4.8KB 5.5KB +727.0B
searchIndices 7.6KB 8.1KB +489.0B
searchInferenceEndpoints 6.1KB 6.6KB +501.0B
searchNotebooks 16.4KB 16.9KB +493.0B
searchPlayground 7.2KB 7.8KB +633.0B
searchprofiler 15.5KB 16.6KB +1.1KB
security 67.8KB 66.1KB -1.7KB
securitySolution 86.1KB 79.1KB -7.0KB
securitySolutionEss 11.8KB 12.2KB +412.0B
securitySolutionServerless 26.4KB 26.5KB +103.0B
serverless 14.1KB 14.1KB -53.0B
serverlessObservability 28.9KB 25.1KB -3.8KB
serverlessSearch 22.0KB 22.7KB +715.0B
sessionView 8.4KB 8.1KB -325.0B
share 59.2KB 61.0KB +1.7KB
slo 28.8KB 28.0KB -862.0B
snapshotRestore 27.0KB 25.3KB -1.7KB
spaces 34.0KB 32.9KB -1.1KB
stackAlerts 25.2KB 25.0KB -240.0B
stackConnectors 58.3KB 56.4KB -1.9KB
synthetics 37.5KB 36.5KB -996.0B
telemetry 24.8KB 24.7KB -75.0B
telemetryManagementSection 4.4KB 4.9KB +548.0B
threatIntelligence 12.7KB 12.8KB +112.0B
timelines 201.9KB 178.8KB -23.1KB
transform 18.5KB 19.2KB +719.0B
triggersActionsUi 128.8KB 120.3KB -8.5KB
uiActions 23.9KB 23.1KB -883.0B
uiActionsEnhanced 17.6KB 17.9KB +255.0B
unifiedDocViewer 12.3KB 12.4KB +144.0B
unifiedHistogram 10.3KB 10.1KB -186.0B
unifiedSearch 38.6KB 38.6KB +69.0B
upgradeAssistant 24.9KB 23.9KB -1008.0B
uptime 22.8KB 22.6KB -140.0B
urlDrilldown 17.4KB 17.5KB +77.0B
urlForwarding 4.8KB 4.8KB -6.0B
usageCollection 5.0KB 5.0KB -11.0B
ux 6.9KB 7.5KB +682.0B
visDefaultEditor 24.0KB 22.9KB -1.1KB
visTypeGauge 11.2KB 11.5KB +306.0B
visTypeHeatmap 10.7KB 11.1KB +319.0B
visTypeMarkdown 9.7KB 9.6KB -119.0B
visTypeMetric 10.5KB 10.6KB +169.0B
visTypePie 8.4KB 8.8KB +440.0B
visTypeTable 19.2KB 18.9KB -352.0B
visTypeTagcloud 6.5KB 7.0KB +477.0B
visTypeTimelion 13.4KB 13.1KB -370.0B
visTypeTimeseries 20.4KB 19.5KB -964.0B
visTypeVega 36.1KB 36.0KB -95.0B
visTypeVislib 15.3KB 15.1KB -238.0B
visTypeXy 28.5KB 28.9KB +346.0B
visualizations 71.0KB 65.5KB -5.6KB
watcher 13.7KB 14.5KB +872.0B
total -244.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 59 57 -2
total +16

async chunk count

id before after diff
aiops 38 39 +1
apm 55 58 +3
dashboard 15 16 +1
dataViewEditor 2 3 +1
discover 28 30 +2
enterpriseSearch 19 20 +1
eventAnnotationListing 5 4 -1
expressionXY 6 7 +1
infra 31 34 +3
lens 23 24 +1
logsExplorer 6 5 -1
logsShared 17 18 +1
ml 110 112 +2
securitySolution 100 116 +16
slo 30 33 +3
stackConnectors 95 96 +1
triggersActionsUi 66 70 +4
unifiedDocViewer 10 11 +1
visTypeTimeseries 17 20 +3
total +43

ESLint disabled in files

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

ESLint disabled line counts

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

miscellaneous assets size

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

Total ESLint disabled count

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

History

@mistic mistic merged commit 42f6645 into elastic:8.17 Feb 19, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport ci:project-deploy-observability Create an Observability project Team:Fleet Team label for Observability Data Collection Fleet team Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants