sdk-for-cli
sdk-for-cli copied to clipboard
code.tar.gz remains when function throws error
I got this error when I tried deploying my function:
✗ Error Request body larger than maxBodyLength limit
After exiting the CLI did not remove the code.tar.gz file it created. I believe the CLI should remove the file even if it crashes since there is no reason to leave it.
Thank you for raising this @rdmchr . We'll look into this 🙂
Looks like this was addressed for the case where the code is less than 5MB:
https://github.com/appwrite/sdk-for-cli/blob/b4619977eb95ca6650aa5291eb6a26d6bfa46eda/lib/commands/functions.js#L333-L338
but may still happen if the code is more than 5MB:
https://github.com/appwrite/sdk-for-cli/blob/b4619977eb95ca6650aa5291eb6a26d6bfa46eda/lib/commands/functions.js#L367
@Haimantika Can I work on this issue.
@Haimantika Can I work on this issue.
Hi @Vaibhav91one , I've assigned the issue to you! Happy Hacktoberfest 🎃!
Notes:
Please update us with your progress every 3 days, so that we know you are working on it. Join us on Discord - https://appwrite.io/discord to chat about Hacktoberfest and Appwrite!
@Haimantika Can I work on this issue.
Hi @Vaibhav91one , I've assigned the issue to you! Happy Hacktoberfest 🎃!
Notes:
Please update us with your progress every 3 days, so that we know you are working on it. Join us on Discord - https://appwrite.io/discord to chat about Hacktoberfest and Appwrite!
I just wanted to give an update. That I am working on this and talking to some people related to this issue.
Will be making a PR soon.
Will be making a PR soon.
@stnguyen90 Have made a PR please review
Will be making a PR soon.
@stnguyen90 Have made a PR please review
Can you link the issue to the PR?
Will be making a PR soon.
@stnguyen90 Have made a PR please review
Can you link the issue to the PR?
https://github.com/appwrite/sdk-for-cli/pull/99
Hey @stnguyen90 Can you please assign me this issue.