-
Notifications
You must be signed in to change notification settings - Fork 61
Conversation
✅ Deploy Preview for ubiquibot-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
same logic as this #708 |
just it follows up with the reviewer/reviewers now instead of doing nothing |
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 need to check the pending time duration.
-
The bot should follow up the reviewer who has been delayed for some days(maybe 3 or 5) after being requested for the review.
-
Also the delay duration should be configuratble.
doesnt this execute whenever the bot tries to follow up with reviewer? |
QA should always be posted thats why its part of the pull request template. |
how would i even qa this? |
Just post proof that it works on your fork |
Please refer to the README.md |
qa |
Now that I see it's prob because it's followed up a second time, as it was like 30s to follow up and 5mins to disqualify |
Please read this again. @EtherealGlow |
@wannacfuture is there something in github api which provides the timestamps for the requested reviewers |
you can use octokit. There is createdAt field representing the timestamp or review request for certain reviewers. |
In this example response I couldnt find a createdAt field |
@EtherealGlow
|
i am not following something because i think thats for requesting reviews not for getting all requested reviews |
@wannacfuture your API call is to request a reviewer not listing them like @EtherealGlow said. Instead of requested reviewers API, I think we can use events API, it includes |
Ohhh that makes it easy |
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.
Please make sure if the code runs successfully for the related issue. Not so sure but seems you are hardcoding - not trying to run the bot and test it.
You will be needed to post a QA for every PRs.
Co-authored-by: whilefoo <[email protected]>
i am tired of this bot 😢 |
@whilefoo i even tried this config https://github.com/rndquu-org/test-repo/blob/6613b3bf91462018d1cec1b8f09eb27d072f8fc6/.github/ubiquibot-config.yml |
Any idea why the bot might not be working, the config is right |
@EtherealGlow can you link me your config? |
can you try running the bot with latest development branch and check if the issue is still present? |
wait just a day or two this is almost done |
uhhh what |
Resolves #324
Quality Assurance: