Skip to content
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

CancellationToken analyzer and code fixer #5867

Closed
wants to merge 16 commits into from
Closed

Conversation

DavidBoike
Copy link
Member

@DavidBoike DavidBoike commented Jan 14, 2021

Will need to edit the analyzer after IMessageHandlerContext methods gain CancellationTokens in order to have the analyzer ignore NServiceBus calls where the pipeline will already know about the cancellation token.

@DavidBoike DavidBoike marked this pull request as draft January 14, 2021 19:31
@DavidBoike DavidBoike marked this pull request as ready for review January 15, 2021 20:49
@DavidBoike
Copy link
Member Author

@andreasohlund @adamralph This PR should be ready to review now. Analyzer/fixer should handle handlers, timeouts, behaviors, and IHandleSagaNotFound.

Copy link
Member

@andreasohlund andreasohlund left a comment

Choose a reason for hiding this comment

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

Testing support for analyzers is truly medieval

@adamralph adamralph changed the title CancellationToken on IMessageHandlerContext CancellationToken analyzer and code fixer Feb 9, 2021
@DavidBoike
Copy link
Member Author

Replaced by #5923

@DavidBoike DavidBoike closed this Feb 15, 2021
@DavidBoike DavidBoike deleted the token-on-context branch February 15, 2021 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants