Closed alshopov closed 3 months ago
@shijiesheng, @3vilhamster: I have updated the docs. I have verified the behaviour via fiddling with: cmd/samples/recipes/ctxpropagation/propagator.go from //github.com/uber-common/cadence-samples.git
Note that I am documenting current behavior - I am not sure whether it is the intended behavior. Failures to execute on error from Extract and ExtractToWorkflow are different (failing vs time out) but that fact is not important that much and should not constrain future changes. What matters to the user are the problems they will have with their workflow.
I have no idea whether the current silent non-failure on errors from Inject* methods is a good idea - leaving this up to you.
Sorry for the delay - free time is a rare premium
Merging #1312 (373ccf8) into master (ba7fa67) will decrease coverage by
0.03%
. The diff coverage isn/a
.
Clarify behavior on return of error Document the whole execution sequence
Docs added to both internal package and exposed type alias due to: https://github.com/golang/go/issues/44905