aim
aim copied to clipboard
Tags from deleted runs are erroneously applied to new runs
🐛 Bug
Tags from deleted runs are erroneously applied to new runs.
To reproduce
- Create a run, and assign it a tag
- Delete the run with the tag
- Create a new run
- The new run will have the tag from the deleted run.
Expected behavior
A newly created run shouldn't have any tags.
Environment
- Aim Version: 3.29.1
- Python version: 3.12
- OS: Ubuntu 22.04
Additional context
The tag associations are stored in the run_tag table, and deleting a run does not remove the association from this table. When a new run is created the run_id is recycled, and so the ui thinks this new run have the same tag as the deleted run.
Hey @rvalieris! Thank a lot for spotting the issue. Working on a fix now, will make sure it's included in the upcoming release.