aim icon indicating copy to clipboard operation
aim copied to clipboard

Tags from deleted runs are erroneously applied to new runs

Open rvalieris opened this issue 7 months ago • 1 comments

🐛 Bug

Tags from deleted runs are erroneously applied to new runs.

To reproduce

  1. Create a run, and assign it a tag
  2. Delete the run with the tag
  3. Create a new run
  4. 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.

rvalieris avatar Jun 02 '25 17:06 rvalieris

Hey @rvalieris! Thank a lot for spotting the issue. Working on a fix now, will make sure it's included in the upcoming release.

mihran113 avatar Jun 05 '25 14:06 mihran113