Skip to content
Snippets Groups Projects
Unverified Commit beedd2c7 authored by John DiSanti's avatar John DiSanti Committed by GitHub
Browse files

Refactor interceptor phases to improve optionality inside interceptors (#2670)

## Motivation and Context
This PR:
- Deletes `TraceProbe`
- Replaces the orchestrator's `Phase` helper with a couple of macros
- Introduces the concept of phases into `InterceptorContext` so that
input/output/error/request/response accessors don't need option wrappers
- Adds `TypeErasedError` so that `orchestrator::Error` can implement
`Error`
- Rewinds the interceptor context in the retry loop

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
parent c75807ce
No related merge requests found
Showing
with 1108 additions and 444 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment