Listing workflow runs filtered by a specific project version can fail with an internal error when that version name was previously deleted and then recreated.
The lookup of a project version by name does not exclude soft-deleted rows, so when a name maps to both a soft-deleted and an active version it matches more than one record and the query errors out instead of returning the active version.
🤖 Posted by Maximus bot (Claude Code) on behalf of @migmartri
Listing workflow runs filtered by a specific project version can fail with an internal error when that version name was previously deleted and then recreated.
The lookup of a project version by name does not exclude soft-deleted rows, so when a name maps to both a soft-deleted and an active version it matches more than one record and the query errors out instead of returning the active version.
🤖 Posted by Maximus bot (Claude Code) on behalf of @migmartri