Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gateway): return HTTP 500 on namesys.ErrResolveFailed #9589

Merged
merged 1 commit into from
Feb 22, 2023
Merged

Conversation

hacdias
Copy link
Member

@hacdias hacdias commented Jan 25, 2023

Fixes #9514.

@hacdias hacdias marked this pull request as ready for review January 26, 2023 12:13
@hacdias hacdias requested a review from lidel as a code owner January 26, 2023 12:13
@BigLep

This comment was marked as outdated.

Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

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

@hacdias mind rebasing? tests neeed to be moved to ipfs/boxo#150 because we've merged #9627

@lidel lidel changed the title fix: return http.StatusInternalServerError by default if cannot resolve fix(gateway): return HTTP 500 on namesys.ErrResolveFailed Feb 15, 2023
@hacdias hacdias force-pushed the fix/9514 branch 2 times, most recently from 88510a1 to a6db9bb Compare February 20, 2023 08:19
@hacdias hacdias requested a review from lidel February 20, 2023 09:22
@hacdias
Copy link
Member Author

hacdias commented Feb 20, 2023

@lidel I rebased. There are some unrelated tests failing. I checked and they've been failing in master too, not sure what caused it, but clearly unrelated to this.

@lidel lidel enabled auto-merge (squash) February 22, 2023 02:17
Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

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

Thanks! Merged upstream PR, rebased this one, tests all green, merging.

@lidel lidel merged commit 4db6ae1 into master Feb 22, 2023
@lidel lidel deleted the fix/9514 branch February 22, 2023 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

gateway: IPNS key resolution timeout should return HTTP 5xx
3 participants