mirror of
https://github.com/quay/quay.git
synced 2026-01-26 06:21:37 +03:00
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>