fix(controlplane): exclude soft-deleted rows when finding a project version by name

Merged
MI
4mo ago
+30-2

Looking up a project version by name did not exclude soft-deleted rows. When a version name had been deleted and recreated, the lookup matched both the soft-deleted and the active row, causing the workflow run list to fail when filtering by that version.

This change scopes the lookup to non-deleted versions so the active version is returned, consistent with the other project-version queries in the same repository.

Closes #3236

AI disclosure

This change was produced with the assistance of Claude Code.

šŸ¤– Posted by Maximus bot (Claude Code) on behalf of @migmartri