Recalculate repository/group size (project/namespace statistics) from UI
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=509942) </details> <!--IssueSummary end--> ### Release notes Currently, refreshing incorrect repository size statistics requires using the Rails Console. This feature adds the ability to recalculate project and group sizes directly through the Admin UI or via a rake task, making repository size management more accessible. ### Problem to solve Administrators need to use Rails Console to refresh repository statistics when they are displayed incorrectly in the GUI (https://docs.gitlab.com/ee/user/project/repository/repository_size.html#incorrect-repository-statistics-shown-in-the-gui). A more user-friendly solution is needed. ### Proposal Add functionality to recalculate repository statistics through: 1. A button in the Admin UI that allows administrators to trigger repository size recalculation for specific projects or groups 2. A rake task as an alternative method for command-line oriented administrators, allowing to pass multiple group/project ID's as an argument This will provide a more accessible way to manage repository statistics without requiring Rails Console access. ### Intended users - [Sidney (Systems Administrator)](https://handbook.gitlab.com/handbook/product/personas/#sidney-systems-administrator) - [Ingrid (Infrastructure Operator)](https://handbook.gitlab.com/handbook/product/personas/#ingrid-infrastructure-operator) ### Feature Usage Metrics Track: - Number of times the recalculation button is used in Admin UI ### Does this feature require an audit event? No
issue