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

fix: builds with skip client #1191

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

fix: builds with skip client #1191

wants to merge 4 commits into from

Conversation

yogurtandjam
Copy link
Contributor

@yogurtandjam yogurtandjam commented Oct 22, 2024

This is a quick patch to get builds consistently working.

The skip team has released a version of their client that shaves off ~7MB from the bundle size (new bundle size is around ~44MB instead of ~51MB).
This improvement along with an increase in the node heap to 6GB is enough to get builds working.

This is NOT the end of the journey. Skip is working on rebuilding some functionality in-house to reduce the bundle size by up to 6MB more 😮 . Once those changes are in we'll probably be able to remove the node heap size override.

Why 6GB?
The vercel container has 8GB of memory, <2 of which is taken by the container itself (running OS/infra). This is in line with vercel's recommendation.

Copy link

vercel bot commented Oct 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
v4-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2024 6:40pm
v4-testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2024 6:40pm

@yogurtandjam yogurtandjam changed the base branch from main to jerms/OTE-855_cctp-withdrawals-5 October 22, 2024 18:51
@yogurtandjam yogurtandjam force-pushed the jerms/OTE-855_cctp-withdrawals-5 branch from 393f229 to 1411437 Compare October 22, 2024 19:32
Base automatically changed from jerms/OTE-855_cctp-withdrawals-5 to main October 22, 2024 22:43
@yogurtandjam yogurtandjam changed the title fix: test build size fix: get build size under control Oct 23, 2024
@yogurtandjam yogurtandjam marked this pull request as ready for review October 23, 2024 16:22
@yogurtandjam yogurtandjam requested a review from a team as a code owner October 23, 2024 16:22
@yogurtandjam yogurtandjam changed the title fix: get build size under control fix: fix builds Oct 23, 2024
@@ -4300,6 +4280,16 @@ packages:
utility-types: 3.10.0
dev: false

/@keplr-wallet/unit@0.12.143(starknet@6.11.0):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lots of new dupes in here :(

@tyleroooo
Copy link
Contributor

tyleroooo commented Oct 24, 2024

main chunk is 23,957.98 kB, which isn't terrible, but i guess it is +50% which is sad

@yogurtandjam
Copy link
Contributor Author

main chunk is 23,957.98 kB, which isn't terrible, but i guess it is +50% which is sad

yeah it's still a big increase but they're working on another patch that will further decrease the bundle size by ~6MB so it's getting better 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants