1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/data
OpenShift Cherrypick Robot ccb12e530e [redhat-3.16] fix(data): clear pull statistics when tags are deleted (PROJQUAY-9887) (#4682)
fix(data): clear pull statistics when tags are deleted (PROJQUAY-9887)

When a tag is deleted and re-pushed, pull statistics now start fresh
at 0 instead of persisting from the deleted tag.

Changes:
- Clear TagPullStatistics in _delete_tag()
- Clear TagPullStatistics in remove_tag_from_timemachine()
- Add tests for tag deletion clearing pull statistics
- Add test for re-push scenario starting with fresh stats

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: Brady Pratt <bpratt@redhat.com>
Co-authored-by: jbpratt <bpratt@redhat.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-03 12:18:46 -05:00
..
2019-11-12 11:09:47 -05:00