Title: Migration 0019 fails with uniqueness violation · Issue #1071 · pulp/pulp_python · GitHub
Open Graph Title: Migration 0019 fails with uniqueness violation · Issue #1071 · pulp/pulp_python
X Title: Migration 0019 fails with uniqueness violation · Issue #1071 · pulp/pulp_python
Description: Version 3.23.1 django.db.utils.IntegrityError: duplicate key value violates unique constraint "core_artifact_sha384_pulp_domain_id_46f3e0f5_uniq" DETAIL: Key (sha384, pulp_domain_id)=(aa14cc19a3bef3118208654d51af22dd1303c48a46eb9b30cbb49...
Open Graph Description: Version 3.23.1 django.db.utils.IntegrityError: duplicate key value violates unique constraint "core_artifact_sha384_pulp_domain_id_46f3e0f5_uniq" DETAIL: Key (sha384, pulp_domain_id)=(aa14cc19a3bef...
X Description: Version 3.23.1 django.db.utils.IntegrityError: duplicate key value violates unique constraint "core_artifact_sha384_pulp_domain_id_46f3e0f5_uniq" DETAIL: Key (sha384, pulp_domain_id)=(aa1...
Opengraph URL: https://github.com/pulp/pulp_python/issues/1071
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Migration 0019 fails with uniqueness violation","articleBody":"**Version**\n3.23.1\n\n```\ndjango.db.utils.IntegrityError: duplicate key value violates unique constraint \"core_artifact_sha384_pulp_domain_id_46f3e0f5_uniq\"\nDETAIL: Key (sha384, pulp_domain_id)=(aa14cc19a3bef3118208654d51af22dd1303c48a46eb9b30cbb4997c3505f1367c463dcff3253ba84103ed5ef2361693, 0199e33f-7907-7c1c-b026-99db98363d92) already exists.\n```\n\nThe artifact never saves to the database. Seems like the transaction is rolled back. Seems like the batch has multiple Artifacts that have the same digests. ","author":{"url":"https://github.com/dkliban","@type":"Person","name":"dkliban"},"datePublished":"2026-01-21T02:25:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1071/pulp_python/issues/1071"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:adc3b3e3-0c27-fbf7-9578-f19b2a2daa7c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A01A:2BFA45:1F8C726:29DC3AC:6992D926 |
| html-safe-nonce | b7972831a4ab43099eb91b9f35615358cdec0c00b94a35f46b99c5c6e811db08 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDFBOjJCRkE0NToxRjhDNzI2OjI5REMzQUM6Njk5MkQ5MjYiLCJ2aXNpdG9yX2lkIjoiMTI2ODI5Mjc1NDY3NDQ3MzI1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a101b6d0b2fbf4fda2f8bc6245be5ce1234057ed49f9877c2e49a156c6a44f1d |
| hovercard-subject-tag | issue:3836275551 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pulp/pulp_python/1071/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5336c3334b8312a1a91fa6d5d21c0e3901cf394f2c98892fda41dfabd506a49b/pulp/pulp_python/issues/1071 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5336c3334b8312a1a91fa6d5d21c0e3901cf394f2c98892fda41dfabd506a49b/pulp/pulp_python/issues/1071 |
| og:image:alt | Version 3.23.1 django.db.utils.IntegrityError: duplicate key value violates unique constraint "core_artifact_sha384_pulp_domain_id_46f3e0f5_uniq" DETAIL: Key (sha384, pulp_domain_id)=(aa14cc19a3bef... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dkliban |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/pulp/pulp_python git https://github.com/pulp/pulp_python.git |
| octolytics-dimension-user_id | 2103606 |
| octolytics-dimension-user_login | pulp |
| octolytics-dimension-repository_id | 24238445 |
| octolytics-dimension-repository_nwo | pulp/pulp_python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24238445 |
| octolytics-dimension-repository_network_root_nwo | pulp/pulp_python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 84dcb133269e3cfe6e0296cc85fbacb92cae92bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width