#3978 koji-sweep-db fails on scratch builds
Closed: Fixed by tkopecek. Opened by mikem.

As reported by @relias-redhat ,

sweep-db on scratch build tasks fails with:

psycopg2.errors.ForeignKeyViolation: update or delete on table "task" violates foreign key constraint "scheduler_task_runs_task_id_fkey" on table "scheduler_task_runs"
DETAIL: Key (id)=(65) is still referenced from table "scheduler_task_runs".


Metadata Update from @mikem:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.34

PR #3977

Commit 8898c6e8 fixes this issue

Metadata Update from @relias-redhat:
- Issue tagged with: testing-done, testing-ready

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/3978

Please continue any further discussion there.

Metadata
Related Pull Requests