Skip to content

Return 404/409 on NoSuchJobError/DeserializationError to avoid improper 500 - #520

Open
jmadler wants to merge 3 commits into
Parallels:masterfrom
Radimal:pr/404_409_resilience
Open

Return 404/409 on NoSuchJobError/DeserializationError to avoid improper 500#520
jmadler wants to merge 3 commits into
Parallels:masterfrom
Radimal:pr/404_409_resilience

Conversation

@jmadler

@jmadler jmadler commented Feb 15, 2026

Copy link
Copy Markdown

Description

Return 404/409 on NoSuchJobError/DeserializationError to avoid improper 500

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have run tests (pytest) that prove my fix is effective or that my feature works
  • I have updated the CHANGELOG.md file accordingly
  • I have added tests that prove my fix is effective or that my feature works

- Add blueprint error handlers: NoSuchJobError -> 404, DeserializationError -> 409
- delete_job_view: let NoSuchJobError propagate so handler returns 404
- README: document 404/409 behavior
@cjlapao

cjlapao commented Mar 9, 2026

Copy link
Copy Markdown
Collaborator

@jmadler you will need to update the pr so we can check if it builds

@cjlapao

cjlapao commented Mar 13, 2026

Copy link
Copy Markdown
Collaborator

@jmadler we did not have any response back, we will wait for one more week and then close this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants