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: Initial commit targetting grpc registry server #4458

Merged
merged 10 commits into from
Aug 30, 2024

Conversation

dmartinol
Copy link
Contributor

What this PR does / why we need it:

Intercept registry server failures and adds an additional message to the response with the failure status and details.
The proxy client then rebuilds the original error from the status data.

Which issue(s) this PR fixes:

Partially fixes #4392 for Registry Server

Misc

Need to add some UT/IT to prove the effectivness

@dmartinol dmartinol changed the title initial commit targetting grpc registry server fix: initial commit targetting grpc registry server Aug 28, 2024
@dmartinol dmartinol changed the title fix: initial commit targetting grpc registry server fix: Initial commit targetting grpc registry server Aug 28, 2024
dmartinol and others added 3 commits August 29, 2024 12:12
…east-dev#4465)

introduced base class FeastError for all Feast exceptions, with initial methods to map the grpc and HTTP status code

Signed-off-by: Daniele Martinoli <[email protected]>
Signed-off-by: Daniele Martinoli <[email protected]>
@dmartinol dmartinol marked this pull request as ready for review August 29, 2024 10:24
@dmartinol
Copy link
Contributor Author

@tokoko @tmihalac @lokeshrangineni ready for review now

@tokoko
Copy link
Collaborator

tokoko commented Aug 29, 2024

@dmartinol I think you need to rebase

@dmartinol
Copy link
Contributor Author

@tokoko is this a known IT failure reason?

sdk/python/feast/infra/utils/aws_utils.py:113: RedshiftCredentialsError ...

@tokoko
Copy link
Collaborator

tokoko commented Aug 29, 2024

I'll force a retry, but that looks like a genuine credentials error


@staticmethod
def from_error_detail(detail: str) -> Optional["FeastError"]:
import importlib
Copy link
Collaborator

Choose a reason for hiding this comment

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

These are standard lib libraries, why not import top-level?

Copy link
Collaborator

@tokoko tokoko left a comment

Choose a reason for hiding this comment

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

lgtm

@tokoko tokoko merged commit 484240c into feast-dev:master Aug 30, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remote registry client does not map application errors
4 participants