Draft: Usage Quotas: Repository Health Details
Why Draft?
- Confirm with Product #509253 (comment 2940204934)
- UX Review
- Break into smaller components and MRs
- Tests
What does this MR do and why?
Closes #509253
This change is behind the feature flag (:project_repositories_health)
This change adds a new section to the Project usage quotas view that allows users to dig deeper into their Repository's health through the Repository Health Report.
Screenshots or screen recordings
Demo User_Flow
| Expanded | Collapsed | Empty State |
|---|---|---|
|
|
|
Expand for the API response used for this UI
{
"size": 11450842,
"references": {
"loose_count": 10,
"packed_size": 9612,
"reference_backend": "REFERENCE_BACKEND_FILES"
},
"objects": {
"size": 11298281,
"recent_size": 11296301,
"stale_size": 1980,
"keep_size": 0,
"packfile_count": 2,
"reverse_index_count": 2,
"cruft_count": 1,
"keep_count": 0,
"loose_objects_count": 0,
"stale_loose_objects_count": 0,
"loose_objects_garbage_count": 0
},
"commit_graph": {
"commit_graph_chain_length": 1,
"has_bloom_filters": true,
"has_generation_data": true,
"has_generation_data_overflow": false
},
"bitmap": null,
"multi_pack_index": {
"packfile_count": 2,
"version": 1
},
"multi_pack_index_bitmap": {
"has_hash_cache": true,
"has_lookup_table": true,
"version": 1
},
"alternates": null,
"is_object_pool": false,
"last_full_repack": {
"seconds": 1764612001,
"nanos": 0
},
"updated_at": "2025-12-08T17:48:56.612Z"
}
How to set up and validate locally
- Enable feature flag
Feature.enable(:project_repositories_health) - Navigate to the Project -> Settings -> Usage Quotas
- Ensure Repository has a expandable chevron on it
- When clicked you can generate a new Health report
- Data is presented once report is generated
- You can click Regenerate Report button to regenerate the report with fresh data
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #509253
Edited by Zack Cuddy


