-
Notifications
You must be signed in to change notification settings - Fork 186
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
Update ContextReference & DefaultFromBodyConversionFeature to remove invocation cancellation token usage #2894
base: main
Are you sure you want to change the base?
Conversation
sdk/Sdk.Generators/FunctionExecutor/FunctionExecutorGenerator.Parser.cs
Outdated
Show resolved
Hide resolved
...dk.Generators/FunctionMetadataProviderGenerator/FunctionMetadataProviderGenerator.Emitter.cs
Outdated
Show resolved
Hide resolved
...Sdk.Generators/FunctionMetadataProviderGenerator/FunctionMetadataProviderGenerator.Parser.cs
Outdated
Show resolved
Hide resolved
extensions/Worker.Extensions.Http/src/DefaultFromBodyConversionFeature.cs
Outdated
Show resolved
Hide resolved
extensions/Worker.Extensions.Http.AspNetCore/src/Coordinator/ContextReference.cs
Outdated
Show resolved
Hide resolved
extensions/Worker.Extensions.Http.AspNetCore/src/Coordinator/ContextReference.cs
Outdated
Show resolved
Hide resolved
627a808
to
70644de
Compare
68a5025
to
ac93ee7
Compare
extensions/Worker.Extensions.Http.AspNetCore/src/Coordinator/ContextReference.cs
Outdated
Show resolved
Hide resolved
extensions/Worker.Extensions.Http.AspNetCore/src/Coordinator/ContextReference.cs
Outdated
Show resolved
Hide resolved
extensions/Worker.Extensions.Http.AspNetCore/src/Coordinator/DefaultHttpCoordinator.cs
Outdated
Show resolved
Hide resolved
extensions/Worker.Extensions.Http/src/DefaultFromBodyConversionFeature.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving. If you have any formal explanation for why removing that token registration in ContextReference
is a good change that would be helpful.
I know I suggested that change 😆 but it is still a significant behavior change, wondering what the impact of it really is.
I may have something in the design doc! I'll fill in any blanks and can update the PR desc with more info |
Issue describing the changes in this PR
resolves #2417
Pull request checklist
release_notes.md
Additional information
Based on the principal that our framework code will only ever propagate cancellation but never react to it, this PR updates
ContextReference
to remove and reference or use of the invocation cancellation tokenDefaultFromBodyConversionFeature
to remove and reference or use of the invocation cancellation token