Getting `*Unzipped size must be smaller than 25095...
# help
p
Getting
*Unzipped size must be smaller than 250956732 bytes*
for a small function now. Looking in
.build
it does not look good. Will investigate, but if anybody here recognizes the problem, please let me know 🙂
Ok, it's a recursive problem. The biggest zip contains the next biggest and so on.
Do you guys do anything special at deploy @Jay? Each function/zip adds the contents of the .build-folder to itself, and then the next function does the same. Any pointers welcome, for now I will deploy in separate chunks, deleting .build between runs
j
Hmm that doesn't seem right. Yeah we zip up the .build dir. Can you share the function config? @Frank knows a bit more about this.
p
Here are my files for sst/cdk. Let me know if you need to see more stuff!
f
Let me take a look..
@PĂ„l Brattberg I think I managed to reproduce the bug. Investigating the root cause.
Quick update, we’ve identified the bug, working on the fix.
We’ll try to push out a release tomorrow with the fix.
p
Awesome, thanks!
f
@PĂ„l Brattberg I’m a little behind schedule. I’m trying to get the fix in today.
p
That's totally ok, let me know if I can help
If you have anything you want me to test, just let me know!
j
The bug report was really helpful. It uncovered a bunch of other issues that we ended up fixing. Just going to do a final test today and cutting a release. https://github.com/serverless-stack/serverless-stack/pull/79
@PĂ„l Brattberg Just released it, https://github.com/serverless-stack/serverless-stack/releases/tag/v0.7.3. Give it a go and let us know!
p
Nice! Testing now!
Worked great! Thank you so much! 🙏