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

New automated test to detect when the Piwik files become too big #8158

Closed
mattab opened this issue Jun 20, 2015 · 0 comments
Closed

New automated test to detect when the Piwik files become too big #8158

mattab opened this issue Jun 20, 2015 · 0 comments
Labels
answered For when a question was asked and we referred to forum or answered it. c: Tests & QA For issues related to automated tests or making it easier to QA & test issues.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Jun 20, 2015

It's happened a few times before that Piwik ZIP package grows by Megabytes, eg. Piwik 2.14.0-b4 package is 30Mb big instead of 14Mb #8144

The goal of this issue is to a new automated test that will count the total size of all files in Piwik codebase (including vendors/ composer packages), and fail when the total size is greater than what we reasonably expect (eg. current total size + 10% growth margin)

This is important because we want all Piwik users to upgrade to latest version and many users have slow connection between their servers and builds.piwik.org eg #7280. Therefore each Mb in the ZIP package can add minutes of waiting time for users to wait for Piwik to auto upgrade. Also Mb saved on package size means more people can actually successfully upgrade Piwik as they're less likely to reach network or other timeouts.

@mattab mattab added the c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. label Jun 20, 2015
@mattab mattab added this to the Mid term milestone Jun 22, 2015
mattab added a commit that referenced this issue Jun 22, 2015
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it. c: Tests & QA For issues related to automated tests or making it easier to QA & test issues.
Projects
None yet
Development

No branches or pull requests

1 participant