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: strf-6383 add check for template size #475

Merged
merged 1 commit into from
May 29, 2019
Merged

fix: strf-6383 add check for template size #475

merged 1 commit into from
May 29, 2019

Conversation

bc-williamkwon
Copy link
Contributor

What?

Description
We need to validate the size of generated parsed/templates and make sure each of them are under 1MB.

We should fail the bundle process and notify on the terminal which generated files are greater than 1MB.

We are seeing a bunch of cases where zip files are under 50MB but the uploads still fail due to generated parsed/templates files greater than 1MB.

Tickets / Documentation

Add links to any relevant tickets and documentation.

https://jira.bigcommerce.com/browse/STRF-6383

Copy link
Contributor

@mattolson mattolson left a comment

Choose a reason for hiding this comment

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

Looks good, can you add an entry to the changelog?

Copy link
Contributor

@junedkazi junedkazi left a comment

Choose a reason for hiding this comment

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

Changes LGTM. Is it possible to add a unit test ?

@junedkazi
Copy link
Contributor

No changelog for cli it is auto generated on release.

@mattolson mattolson merged commit ce09c03 into bigcommerce:master May 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants