Skip to content

Tags from deleted runs are erroneously applied to new runs #3342

@rvalieris

Description

@rvalieris

🐛 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededtype / bugIssue type: something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions