Skip to content

raise exceptions instead of returning response + fail to 501 for historical=True#12

Merged
swelborn merged 4 commits into
mainfrom
raise-exceptions
Jul 6, 2026
Merged

raise exceptions instead of returning response + fail to 501 for historical=True#12
swelborn merged 4 commits into
mainfrom
raise-exceptions

Conversation

@swelborn

@swelborn swelborn commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 85ec4f44cb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/s3df/compute_adapter.py Outdated
Sam Welborn added 4 commits July 6, 2026 18:11
we raise instead of returning the response to let the exception handlers create Problem reponses (formatted JSONResponse)
this is for a 404 not found rather than a 414 uri too long 

essentially we are trying to escape to the historical = True branch, or raise 404 if indeed it is 404
@swelborn swelborn force-pushed the raise-exceptions branch from 85ec4f4 to d66ab05 Compare July 6, 2026 22:11
@swelborn swelborn merged commit 8903117 into main Jul 6, 2026
1 check failed
@swelborn swelborn deleted the raise-exceptions branch July 6, 2026 22:11
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