-
Notifications
You must be signed in to change notification settings - Fork 772
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
Add basic wildcard support for listening to legacy activities. #2444
Add basic wildcard support for listening to legacy activities. #2444
Conversation
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.
LGTM, I put some perf suggestions.
@BlakeWills thanks for the contribution! Would you clear the EasyCLA so we can run the CI? |
I've followed what was already done for wildcard mode in activity sources, but there are a few questions: 1. Why do we call "Contains" instead of "EndsWith" for activity source wildcard checking? The regex only supports then end mode. 2. This doesn't support a mix, such as wanting to listen to an entire namespace of activities and then only listening to specific activities from another namespace. Again, this is consistent with current behaviour.
77dcc98
to
8d4c639
Compare
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.
LGTM
Codecov Report
@@ Coverage Diff @@
## main #2444 +/- ##
==========================================
+ Coverage 78.31% 78.40% +0.09%
==========================================
Files 246 246
Lines 8083 8118 +35
==========================================
+ Hits 6330 6365 +35
Misses 1753 1753
|
Fixes #2183.
Changes
Add support for wildcards for legacy (DiagnosticSource) events.
For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes