Skip to content

[8.18] chore(NA): updating used polyfills using 3rd party library (#218020)#219802

Merged
mistic merged 3 commits intoelastic:8.18from
mistic:backport/8.18/pr-218020
May 1, 2025
Merged

[8.18] chore(NA): updating used polyfills using 3rd party library (#218020)#219802
mistic merged 3 commits intoelastic:8.18from
mistic:backport/8.18/pr-218020

Conversation

@mistic
Copy link
Contributor

@mistic mistic commented Apr 30, 2025

Backport

This will backport the following commits from main to 8.18:

Questions ?

Please refer to the Backport tool documentation

…18020)

Closes elastic/kibana-operations#267

This PR is a follow up from the webpack v5 upgrade which makes sure we
stop using the old non maintained webpack v4 polyfills library and use
instead a new supported library called `node-stdlib-browser`.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit aac2d47)

# Conflicts:
#	package.json
#	packages/kbn-optimizer/src/worker/webpack.config.ts
#	src/platform/packages/private/kbn-ui-shared-deps-npm/webpack.config.js
#	yarn.lock
@mistic mistic requested a review from kibanamachine as a code owner April 30, 2025 21:32
@mistic mistic added the backport This PR is a backport of another PR label Apr 30, 2025
@mistic mistic enabled auto-merge (squash) April 30, 2025 21:32
…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'
@prodsecmachine
Copy link
Collaborator

prodsecmachine commented Apr 30, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
apm 1681 1677 -4
cloudDefend 103 102 -1
core 415 409 -6
dataUsage 121 118 -3
enterpriseSearch 2308 2269 -39
fleet 1219 1215 -4
graph 285 279 -6
infra 1586 1583 -3
kibanaUtils 166 160 -6
maps 1344 1335 -9
mapsEms 52 46 -6
ml 2182 2176 -6
observabilityOnboarding 241 240 -1
profiling 292 286 -6
securitySolution 7028 7025 -3
share 85 79 -6
uptime 571 568 -3
visTypeTimeseries 458 452 -6
total -118

Async chunks

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

id before after diff
apm 2.6MB 2.5MB -34.4KB
cases 511.9KB 512.0KB +29.0B
cloudDefend 252.6KB 228.1KB -24.6KB
console 184.7KB 184.1KB -621.0B
dataUsage 260.2KB 244.1KB -16.1KB
enterpriseSearch 2.5MB 2.5MB -40.1KB
fleet 1.8MB 1.8MB -23.5KB
graph 400.5KB 389.6KB -10.9KB
infra 1.5MB 1.5MB -9.6KB
lens 1.5MB 1.5MB -2.0B
maps 2.9MB 2.9MB -25.3KB
mapsEms 86.4KB 75.3KB -11.0KB
ml 4.5MB 4.5MB -11.0KB
observabilityOnboarding 272.1KB 247.5KB -24.5KB
profiling 401.0KB 390.0KB -11.0KB
securitySolution 9.1MB 9.1MB -16.2KB
slo 758.0KB 759.5KB +1.4KB
uptime 414.6KB 404.7KB -9.9KB
visTypeTimeseries 475.8KB 465.0KB -10.8KB
total -278.1KB

Page load bundle

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

id before after diff
apm 35.7KB 35.6KB -26.0B
console 25.9KB 27.7KB +1.7KB
core 442.9KB 431.8KB -11.1KB
enterpriseSearch 53.3KB 53.3KB +2.0B
fleet 151.9KB 151.9KB -2.0B
graph 8.8KB 8.7KB -74.0B
infra 54.3KB 54.2KB -92.0B
kbnUiSharedDeps-npmDll 5.9MB 6.0MB +81.1KB
kbnUiSharedDeps-srcJs 3.5MB 3.5MB -10.9KB
kibanaUtils 66.1KB 55.2KB -11.0KB
maps 47.0KB 47.0KB -74.0B
mapsEms 5.9KB 5.8KB -94.0B
profiling 17.9KB 17.9KB -79.0B
share 58.7KB 47.8KB -10.9KB
uptime 22.5KB 22.4KB -105.0B
urlForwarding 4.8KB 6.5KB +1.7KB
visTypeTimeseries 17.6KB 17.5KB -89.0B
visTypeVega 33.6KB 33.0KB -621.0B
total +39.4KB
Unknown metric groups

async chunk count

id before after diff
infra 33 32 -1

History

@mistic mistic disabled auto-merge May 1, 2025 03:52
@mistic mistic merged commit 1e2265a into elastic:8.18 May 1, 2025
8 checks passed
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants