You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unify host gRPC error transport with a structured ActionableErrorDetail (#7919)
* Unify host gRPC error transport with structured ActionableErrorDetail
Replace the ad-hoc "<err>\n<suggestion>" concatenation in the host gRPC
error path with a structured proto detail, and consolidate the helpers
that serialize/deserialize host errors so suggestion and links travel as
typed data instead of being parsed out of the message string.
- Add ActionableErrorDetail { suggestion, links } proto (host -> extension)
- Rename wrapErrorWithSuggestion -> mapHostError; statusMessage no longer
concatenates the suggestion into status.Message
- Remove duplicated grpcStatusFromError / wrapErrorLinks helpers in
internal/grpcserver in favor of exported azdext counterparts
- Factor WrapError through populateExtensionErrorFromStatus; drop the
extErr.Message == err.Error() heuristic
- Extend ErrorSuggestion / ErrorMessage / ErrorLinks to read host-attached
ActionableErrorDetail so links survive the wire
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Address feedback
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments