Deleted git tags (and ancient pull requests) still showing up

As we had a ludicrously long list of git tags, we cleaned these up yesterday. But for some reason they still show up in TeamCity. I assume this has to do with the fact that there have been builds for them at some point.

After reading some similar posts on this forum, I set up a custom clean up rule to exempt these as well as ancient pull request branches from the list of things to preserve.

 

I also added these configuration parameters into the project (not sure whether that's the right place but I read about them in a couple of places as these being the mechanism to use for getting rid of old stuff in the UI)

Unfortunately, all the old stuff is still showing up. I also manually triggered the clean up process but it went through in less than a second, seemingly without having done anything. 

0
4 comments
Hi Marcus,

Regarding the parameters you mentioned, please refer to the documentation for the details on them: https://www.jetbrains.com/help/teamcity/2024.07/working-with-feature-branches.html#Active+Branches.
For the issue you are facing, where do you see these git tags you are mentioning? Could you show me an example?

Best regards,
Anton
0

Hi Anton,

thank you for the link. It seems like the “active” filter might not be what I was looking for. Ideally I'd like these removed tags and closed pull requests to be completely gone from TeamCity. One cannot see the scrollbar in the screenshots but the branch list dropdown is really looong.

Originally this only became an issue because we added new tags in the repo which are not showing up at all and I hypothesized that it might be because there are simply too many old tags and branches so that TeamCity stopped pulling the new tags. No idea whether that might be true. Nonetheless, we removed the old tags from the git remote but they still show up in TeamCity.

It's possible that this has to do with how tags are handled differently from regular branches. I also had to explicitly prune my local system using `git fetch --prune --prune-tags`.

0

After some experimentation, the main issue seems to be that new tags are not showing up in the “All branches” list. 

While it would be ideal that deleted tags and merged pull requests also disappear from the list of branches, the main issue is new tags not showing up. 

I'm not sure whether that could be due to the fact that there just are/were too many tags, maybe I should create a bug ticket for that? Anton Vakhtel 

0
Dear Marcus,

Do you have the builds for these tags that were deleted in the VCS in the build history?
I just made an experiment with deleting the branch from a git repository (for which I didn't have builds in history already), and it was deleted from the list of branches.

Best regards,
Anton
0

Please sign in to leave a comment.