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

feat(cloudserver): turn DeadlineExceeded into appropriate gRPC status #561

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

quoral
Copy link
Contributor

@quoral quoral commented Nov 14, 2023

As internal context timeouts can be directly propagated up through the cloudrunner-go middlewares, adding a conversion into a wrapped errorwith a gRPC status code improves the reliability and monitoring of the system by ensuring that the status code becomes DeadlineExceeded rather than Internal.

@quoral quoral force-pushed the implement-context-timeout-checking branch 3 times, most recently from 4bfec89 to 15007aa Compare November 15, 2023 14:00
@quoral quoral changed the title feat(cloudserver): turn DeadlineExceeded into appropriate gRPC status code feat(cloudserver): turn DeadlineExceeded into appropriate gRPC status Nov 15, 2023
@quoral quoral force-pushed the implement-context-timeout-checking branch from 15007aa to 2d6fc81 Compare November 15, 2023 14:29
As internal context timeouts can be directly propagated up through the
cloudrunner-go middlewares, adding a conversion into a wrapped errorwith
a gRPC status code improves the reliability and monitoring of the system
by ensuring that the status code becomes DeadlineExceeded rather than
Internal.
@quoral quoral force-pushed the implement-context-timeout-checking branch from 2d6fc81 to 620badb Compare November 15, 2023 14:33
@quoral quoral marked this pull request as ready for review November 15, 2023 14:34
@quoral quoral requested a review from a team as a code owner November 15, 2023 14:34
@quoral quoral merged commit 17365f7 into master Nov 16, 2023
1 check passed
@quoral quoral deleted the implement-context-timeout-checking branch November 16, 2023 08:58
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