-
Notifications
You must be signed in to change notification settings - Fork 94
Enhance Dapr Bot #210
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
Enhance Dapr Bot #210
Conversation
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Codecov Report
@@ Coverage Diff @@
## master #210 +/- ##
==========================================
+ Coverage 25.30% 30.70% +5.39%
==========================================
Files 64 70 +6
Lines 5402 5472 +70
Branches 172 172
==========================================
+ Hits 1367 1680 +313
+ Misses 4031 3758 -273
- Partials 4 34 +30
Continue to review full report at Codecov.
|
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.
I think we should also have something for better stale management of issues. For example, if there's no activity for say 3 days, ping a maintainer?
@tanvigour I can think of two scenarios here.
There is another aspect to it. Maintainers and contributors are responsible for regularly triaging the issues. They also have their GitHub notifications already hot, so any ping we might add will add to the noise. Plus, it is possible that the action item is already on a single maintainer, so in that case, how do we ping only the person who's responsible? IMO, we can skip this feature for now and manually keep an eye on issues. Case (1) above is the purpose of the stale bot, and Case (2) can be avoided by regular triaging of the repository (the maintainer can simply add the label Also, this repository does not see a huge flux of issues. The current count is also very less. Chances are that each issue is already under a contributor's radar. Please feel free to share your thoughts - @XavierGeerinck @amulyavarote |
I agree with you @shubham1172 I would however tag wise look at the |
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
c917646
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
When an issue is tagged with |
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.
Overal "fine" some minor style changes.
Big question I have: Wouldn't it be easier and more readable if we process by comment body and respective functions?
E.g. (pseudo wise)
switch (commentBody) {
case "/assign":
executeAssign();
break;
case "/other":
executeOther();
break;
}
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
It was mostly a port of dapr/dapr earlier. I have refactored it - but it comes with some boilerplates. This is more readable for sure but. Let me know if this works! |
Signed-off-by: Shubham Sharma shubhash@microsoft.com
Description
Adds a few more features to the dapr bot
/ok-to-e2e-test
to retrigger end to end tests/ping-author
to add special labelneeds-author-feedback
needs-author-feedback
withneeds-team-attention
when author replies after (3)Issue reference
Please reference the issue this PR will close: #208
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: