Skip to content

fix: make large lambda warning message more informative #2057

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

Merged
merged 4 commits into from
Apr 27, 2023

Conversation

biruwon
Copy link

@biruwon biruwon commented Apr 20, 2023

Summary

Currently there is a misleading about function's size larger than 50MB that will fail the deploy. This PR improves it, as the hard limit it is 250MB unzipped and we will display a warning for zipped files bigger than 50MB

Test plan

  1. Visit the Deploy Preview (insert link to specific page) ...

Relevant links (GitHub issues, Notion docs, etc.) or a picture of cute animal

Standard checks:

  • Check the Deploy Preview's Demo site for your PR's functionality
  • Add docs when necessary

🧪 Once merged, make sure to update the version if needed and that it was published correctly.

@biruwon biruwon requested a review from a team April 20, 2023 13:17
@netlify
Copy link

netlify bot commented Apr 20, 2023

Deploy Preview for netlify-plugin-nextjs-nx-monorepo-demo ready!

Name Link
🔨 Latest commit f7f8bd4
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-nx-monorepo-demo/deploys/644a6413d38a8e00084752b1
😎 Deploy Preview https://deploy-preview-2057--netlify-plugin-nextjs-nx-monorepo-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Apr 20, 2023

Deploy Preview for netlify-plugin-nextjs-export-demo ready!

Name Link
🔨 Latest commit f7f8bd4
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-export-demo/deploys/644a6413d8e8dc000856ac04
😎 Deploy Preview https://deploy-preview-2057--netlify-plugin-nextjs-export-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Apr 20, 2023

Deploy Preview for netlify-plugin-nextjs-static-root-demo ready!

Name Link
🔨 Latest commit f7f8bd4
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-static-root-demo/deploys/644a6413aa922b00079fa317
😎 Deploy Preview https://deploy-preview-2057--netlify-plugin-nextjs-static-root-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Apr 20, 2023

Deploy Preview for netlify-plugin-nextjs-next-auth-demo ready!

Name Link
🔨 Latest commit f7f8bd4
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-next-auth-demo/deploys/644a6413e0f33c0008bfa656
😎 Deploy Preview https://deploy-preview-2057--netlify-plugin-nextjs-next-auth-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Apr 20, 2023

Deploy Preview for next-plugin-edge-middleware ready!

Name Link
🔨 Latest commit f7f8bd4
🔍 Latest deploy log https://app.netlify.com/sites/next-plugin-edge-middleware/deploys/644a6413c259050008a3654c
😎 Deploy Preview https://deploy-preview-2057--next-plugin-edge-middleware.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Apr 20, 2023

Deploy Preview for nextjs-plugin-custom-routes-demo ready!

Name Link
🔨 Latest commit f7f8bd4
🔍 Latest deploy log https://app.netlify.com/sites/nextjs-plugin-custom-routes-demo/deploys/644a64138a750700080f96fe
😎 Deploy Preview https://deploy-preview-2057--nextjs-plugin-custom-routes-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Apr 20, 2023

Deploy Preview for next-plugin-canary ready!

Name Link
🔨 Latest commit f7f8bd4
🔍 Latest deploy log https://app.netlify.com/sites/next-plugin-canary/deploys/644a64132119f90008153b2b
😎 Deploy Preview https://deploy-preview-2057--next-plugin-canary.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Apr 20, 2023

Deploy Preview for next-i18next-demo ready!

Name Link
🔨 Latest commit f7f8bd4
🔍 Latest deploy log https://app.netlify.com/sites/next-i18next-demo/deploys/644a6413d8e8dc000856ac09
😎 Deploy Preview https://deploy-preview-2057--next-i18next-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Apr 20, 2023

Deploy Preview for netlify-plugin-nextjs-demo ready!

Name Link
🔨 Latest commit f7f8bd4
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-demo/deploys/644a64142119f90008153b35
😎 Deploy Preview https://deploy-preview-2057--netlify-plugin-nextjs-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions github-actions bot added the type: bug code to address defects in shipped code label Apr 20, 2023
@biruwon
Copy link
Author

biruwon commented Apr 21, 2023

@pieh not sure about the tests failing, they don't seem related to this change

@pieh pieh force-pushed the antonio/change-error-message-to-warning branch from 149a6d8 to 4d11efb Compare April 27, 2023 12:00
@pieh pieh force-pushed the antonio/change-error-message-to-warning branch from 4d11efb to f7f8bd4 Compare April 27, 2023 12:01
@LekoArts
Copy link

@biruwon Please fill out the PR description so that we know in the future what we did and why :)

@biruwon biruwon requested review from pieh and nickytonline April 27, 2023 13:40
@biruwon
Copy link
Author

biruwon commented Apr 27, 2023

@biruwon Please fill out the PR description so that we know in the future what we did and why :)

done

@pieh pieh added the automerge label Apr 27, 2023
@kodiakhq kodiakhq bot merged commit b4cb75b into main Apr 27, 2023
@kodiakhq kodiakhq bot deleted the antonio/change-error-message-to-warning branch April 27, 2023 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants