-
Notifications
You must be signed in to change notification settings - Fork 61
Conversation
uses bot penalty created at
✅ Deploy Preview for ubiquibot-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
set to false
I believe that it makes a lot more sense to check the timestamp of when it was reopened, instead of the follow up comment. Why did you target the follow up comment? |
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.
you should get the timestamp from the reopened event and recalculate the deadline @Keyrxng
vs using penalty comment
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 this issue's purpose is to make bot to not unassign hunter right after manual assigning.
I can't see it on your QA, @Keyrxng
Would you mind posting a valid one?
Or we can do it in a more simple way.
https://github.com/ubiquity/ubiquibot/pull/759/files
@pavlovcik , @0xcodercrane
I had read the issue as the bot unassigning once an old issue has been reopened which forced the bot to unassign due to it being over the deliverable date, the manual assign being automatically unassigned thing is just a by-product of this. After my impl the bot stopped trying to unassign me after I manually reassigned. But by all means if your linked pr solves this issue then you take it |
The purpose is to reset the deadline when you reopen the closed issue + stop unassigning the hunter at that time. |
took a look at your PR for this task. It would also work for this issue but you have been solving another issue. @wannacfuture. To complete the issue: |
the root cause of the PR's related issue also contains fixing deadline. |
implemented futures fix
This feels sort of wrong, you wanna at least split it @wannacfuture? |
Just take it. @Keyrxng. I can think as hotfix as the responsibility for core team member. no problem. |
Humbled mate, I appreciate it |
Thank you guys for the great swarming lol Please re-request a review from me once done. @Keyrxng |
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.
This would work. merging
Checks if the bot penalty comment created at is more than last activity, if so it returns only the delivery timeline else it will unnassign.
Resolves #681
Example https://github.com/Keyrxng/UbiquityBotTesting/issues/11#issuecomment-1712968225
For testing purposes I added the penalty comment myself to workaround not having setup the backend fully yet but I believe it shows the logic working as intended.
My issue is old enough that it was unassigning me as you'll see with the bot doing so in the interaction list above the comments, after the fix it no longer unassigns.