Project size Statistics differ between groups view and project homepage
Summary
Project Statistics differ between groups view and project homepage
Steps to reproduce
- Create a new group,
GroupA
- Create a new project within that group,
GroupA/Project1
- Establish a repo in the
GroupA/Project1
- Create a .gitlab-ci.yml file that will generate some artifacts
- Let the pipeline complete to generate the artifacts
- View the project's homepage
- Notice the project size
- Navigate to the group's page
- Navigate to Settings > Projects
- Notice the project size in this list
Example Project
(If possible, please create an example project here on GitLab.com that exhibits the problematic behaviour, and link to it here in the bug report)
(If you are using an older version of GitLab, this will also determine whether the bug has been fixed in a more recent version)
What is the current bug behavior?
Project size differs in the group view to the project homepage
What is the expected correct behavior?
Project sizes should be identical
Relevant logs and/or screenshots
Output of checks
reproduced on GitLab.com 10.2.4
Possible fixes
Incorrect method is called on project statistics model for the group view:
vs
/label ~bug ~Platform reproduced on GitLab.com
Edited by Mark Fletcher