You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regression in @actions/http-client2.2.0 since 2.1.1: Bundle size increase by 820kB
In my case it increased from 320kB to 1130kB.
@actions/http-client is a dependency of @actions/core.
Since changes in @actions/http-client from version 2.1.1 to 2.2.0 the bundle size increased by 820kB as a result of adding the undici dependency to @actions/http-client.
Sorry to say, the @actions/core automatically installs the latest v2 of @actions/http-client which is now 2.2.0 and has terribly huge undici package.
Expected result
Replace the undici with something tiny. 820kB of source code to make http requests is ridiculous.
Additional Information
The root cause is here #1547 where the undici was added.
A lightweight HTTP client optimized for building actions
not "a lightweight" anymore.
The text was updated successfully, but these errors were encountered:
mgrybyk
changed the title
Regression in @actions/http-client 2.2.0 since 2.1.1: Bundle size increase 3x times by 1Mb
Regression in @actions/http-client 2.2.0 since 2.1.1: Bundle size increased by 820kB
Jan 10, 2024
Regression in
@actions/http-client
2.2.0
since2.1.1
: Bundle size increase by 820kBIn my case it increased from 320kB to 1130kB.
@actions/http-client
is a dependency of@actions/core
.Since changes in
@actions/http-client
from version2.1.1
to2.2.0
the bundle size increased by 820kB as a result of adding theundici
dependency to@actions/http-client
.Sorry to say, the
@actions/core
automatically installs the latest v2 of@actions/http-client
which is now2.2.0
and has terribly hugeundici
package.Expected result
Replace the
undici
with something tiny. 820kB of source code to make http requests is ridiculous.Additional Information
The root cause is here #1547 where the
undici
was added.not "a lightweight" anymore.
The text was updated successfully, but these errors were encountered: