Skip to content

Add more Pulp Exceptions.#1186

Merged
jobselko merged 1 commit into
pulp:mainfrom
aKlimau:add-pulp-exceptions
May 29, 2026
Merged

Add more Pulp Exceptions.#1186
jobselko merged 1 commit into
pulp:mainfrom
aKlimau:add-pulp-exceptions

Conversation

@aKlimau
Copy link
Copy Markdown
Contributor

@aKlimau aKlimau commented Apr 9, 2026

Assisted-by: Claude Sonnet 4.5 noreply@anthropic.com

📜 Checklist

  • Commits are cleanly separated with meaningful messages (simple features and bug fixes should be squashed to one commit)
  • A changelog entry or entries has been added for any significant changes
  • Follows the Pulp policy on AI Usage
  • (For new features) - User documentation and test coverage has been added

@aKlimau aKlimau marked this pull request as draft April 9, 2026 13:29
@aKlimau aKlimau force-pushed the add-pulp-exceptions branch 8 times, most recently from 5ebcc3a to 88bc331 Compare April 10, 2026 12:23
@aKlimau aKlimau marked this pull request as ready for review April 10, 2026 12:38
Comment thread CHANGES/+add-pulp-exceptions.feature
Comment thread pulp_python/app/tasks/sync.py
Comment thread pulp_python/app/serializers.py Outdated
Comment thread pulp_python/app/serializers.py Outdated
Comment thread pulp_python/app/exceptions.py Outdated
Comment thread pulp_python/app/exceptions.py Outdated
@aKlimau aKlimau force-pushed the add-pulp-exceptions branch 5 times, most recently from 02b7c62 to d0d8812 Compare April 16, 2026 12:10
@aKlimau aKlimau requested a review from jobselko April 16, 2026 13:57
Comment thread pulp_python/app/exceptions.py
Comment thread pulp_python/app/serializers.py
@aKlimau aKlimau force-pushed the add-pulp-exceptions branch from d0d8812 to 005810f Compare April 22, 2026 14:03
@github-actions github-actions Bot added the multi-commit Add to bypass single commit lint check label Apr 22, 2026
@aKlimau aKlimau force-pushed the add-pulp-exceptions branch 3 times, most recently from 510c96a to 10fe205 Compare April 22, 2026 14:39
@github-actions github-actions Bot removed the multi-commit Add to bypass single commit lint check label Apr 22, 2026
@aKlimau aKlimau force-pushed the add-pulp-exceptions branch from 10fe205 to c6d6bf7 Compare April 23, 2026 10:20
Comment thread pulp_python/app/serializers.py
Comment thread pulp_python/app/models.py
@aKlimau aKlimau force-pushed the add-pulp-exceptions branch 3 times, most recently from d3c83d3 to 6698572 Compare April 27, 2026 11:31
@aKlimau aKlimau force-pushed the add-pulp-exceptions branch 6 times, most recently from f3c5557 to 2593b03 Compare May 5, 2026 11:43
@aKlimau aKlimau force-pushed the add-pulp-exceptions branch 4 times, most recently from c6b507c to c31172a Compare May 13, 2026 14:25
@jobselko
Copy link
Copy Markdown
Member

@aKlimau Can you please rebase?

@jobselko
Copy link
Copy Markdown
Member

I noticed that many of the pulp-exception changes were reverted. Could you share the reasoning behind this change?

@aKlimau
Copy link
Copy Markdown
Contributor Author

aKlimau commented May 26, 2026

I noticed that many of the pulp-exception changes were reverted. Could you share the reasoning behind this change?

As we decided to treat ValidationErrors and aiohttp ClientErrors as PulpExceptions there is now no need for new classes of PulpExceptions, that's why a bunch of them were removed and old ValidationErrors were brought back.

@aKlimau aKlimau force-pushed the add-pulp-exceptions branch from c31172a to bceb387 Compare May 26, 2026 08:56
Comment thread pulp_python/app/tasks/sync.py Outdated
Comment thread pulp_python/app/utils.py Outdated
Comment thread pulp_python/tests/functional/api/test_attestations.py Outdated
Comment thread pulp_python/tests/functional/api/test_crud_content_unit.py Outdated
Comment thread pulp_python/app/models.py
Comment thread pulp_python/app/exceptions.py
Comment thread pulp_python/app/tasks/sync.py Outdated
@aKlimau aKlimau force-pushed the add-pulp-exceptions branch from bceb387 to 343887d Compare May 27, 2026 13:57
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@aKlimau aKlimau force-pushed the add-pulp-exceptions branch from 343887d to 0bbf087 Compare May 29, 2026 09:20
@jobselko jobselko merged commit 230a71f into pulp:main May 29, 2026
25 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants