Skip to content

PRs are getting stale and closed #3968

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

Closed
amaank404 opened this issue Nov 26, 2020 · 13 comments
Closed

PRs are getting stale and closed #3968

amaank404 opened this issue Nov 26, 2020 · 13 comments

Comments

@amaank404
Copy link
Contributor

Many Pull Request with some important code are getting stale. Any idea of we could pause this process for a few moments until we are able to get our numbers down.

@cclauss
Copy link
Member

cclauss commented Nov 27, 2020

I think we are intentionally trying to be a bit brutal in our post-Hacktoberfest cleanup. We are being far less brutal than Hacktoberfest was itself. If there are good PRs then review them and provide you approval of them before asking others to review them. I am more inclined to review PRs that have already been reviewed by and approved others.

@dhruvmanila
Copy link
Member

If you find any pull request which contains important or good code, you can just put a simple comment and the bot will un-stale the PR.

I am thinking to let algorithms-keeper run the parser if a PR is reopened, that way it will detect all the missing requirements, label, and comment on the PR. What do you say @xcodz-dot? After adding this functionality, if we find some good PR which has been stale, we can close and reopen it to let the bot take care of the lower level stuff and we can focus on the actual review :)

@cclauss
Copy link
Member

cclauss commented Nov 27, 2020

let algorithms-keeper run the parser if a PR is reopened

👍 or @algorithms-keeper /retest if such things are allowed.

@dhruvmanila
Copy link
Member

I've seen those types of activation, let me see what I can do.

@amaank404
Copy link
Contributor Author

Great then

@amaank404
Copy link
Contributor Author

If you find any pull request which contains important or good code, you can just put a simple comment and the bot will un-stale the PR.

I am thinking to let algorithms-keeper run the parser if a PR is reopened, that way it will detect all the missing requirements, label, and comment on the PR. What do you say @xcodz-dot? After adding this functionality, if we find some good PR which has been stale, we can close and reopen it to let the bot take care of the lower level stuff and we can focus on the actual review :)

This is really good idea to implement that bot in old PR (which are trying to run themselves on Travis), simplifies process very easily

@dhruvmanila
Copy link
Member

I am sorry I don't quite understand what you mean here. Can you clarify?

bot in old PR ?
which are trying to run themselves on Travis ?

@amaank404
Copy link
Contributor Author

I found out many PR which are opened before the bot was implemented are on Travis or am I misunderstood?

@dhruvmanila
Copy link
Member

That doesn't matter; when you close and reopen a PR, tests will be triggered with the new configuration.

@amaank404
Copy link
Contributor Author

Great, that's what I meant to say

@dhruvmanila
Copy link
Member

dhruvmanila commented Nov 27, 2020

@cclauss It seems that a GitHub app cannot be mentioned, but the good news is that the bot can listen for comment events. After each comment is posted, the bot will parse the body and look for (regex?) patterns like the one you mentioned, and we can configure commands for the bot like: @bot rerun (algorithms-keeper is too long to type) or just \rerun

Also, it makes sense to rerun the bot checks when a PR is reopened, the same functionality as GitHub workflow runs.

@dhruvmanila
Copy link
Member

I suppose this issue can be closed? @xcodz-dot

@amaank404
Copy link
Contributor Author

Great

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

No branches or pull requests

3 participants