When promoting a build, we check for existing NVR conflicts and give a nice error. However, we do not do the same for the included NVRAs, which are also required to be unique. There are corner cases where a draft can have nvra overlap without nvr overlap. It would be better to give a clear error instead of a confusing psycopg2.errors.UniqueViolation fault.
psycopg2.errors.UniqueViolation
Commit 77d8b633 fixes this issue
Commit 27183511 fixes this issue
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/4530
Please continue any further discussion there.