Skip to content

Revert usage of grpc error interceptors in lib/client#26169

Merged
rosstimothy merged 1 commit intomasterfrom
tross/revert_auth_client_interceptors
May 15, 2023
Merged

Revert usage of grpc error interceptors in lib/client#26169
rosstimothy merged 1 commit intomasterfrom
tross/revert_auth_client_interceptors

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

The middleware for converting errors cause stack traces to lead back to the middleware instead of the proper location making logged errors less helpful. Reverting the use of the middleware from #25694 in favor of converting stream errors directly.

The middleware for converting errors cause stack traces to lead
back to the middleware instead of the proper location making logged
errors less helpful. Reverting the use of the middleware from
#25694 in favor of converting stream errors directly.
@rosstimothy rosstimothy requested a review from nklaassen May 12, 2023 20:42
@rosstimothy rosstimothy marked this pull request as ready for review May 12, 2023 20:42
@github-actions github-actions Bot requested review from camscale and smallinsky May 12, 2023 20:43
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 left a comment

Choose a reason for hiding this comment

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

Should we just remove those error interceptors then?

@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from smallinsky May 15, 2023 05:46
@rosstimothy
Copy link
Copy Markdown
Contributor Author

Should we just remove those error interceptors then?

There are a few existing usages of the client interceptors outside of lib/client. We should audit them and determine whether they make sense to be used there as well. For now I think it makes sense to proceed with only reverting these usages to restore behavior of tsh.

@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 15, 2023
@rosstimothy rosstimothy added this pull request to the merge queue May 15, 2023
Merged via the queue into master with commit 778720f May 15, 2023
@rosstimothy rosstimothy deleted the tross/revert_auth_client_interceptors branch May 15, 2023 16:18
@public-teleport-github-review-bot
Copy link
Copy Markdown

@rosstimothy See the table below for backport results.

Branch Result
branch/v11 Failed
branch/v12 Failed
branch/v13 Create PR

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants