-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[service] Reduce the number of days until stale #4793
Conversation
Changes not allowed in build 1:
Split them in several pull requests if you are making changes in more than one folder. |
I don't like this. I even considered in the past to suggest increasing the number of days. There were several cases, where the bot was just annoying and that should not be the case.
Do comment edits count as a new activity or only new comments? |
Yes any change to a comment (edit, hide, delete) would cause an update. Those PRs could be labeled appropriately and not be targeted by the bot? If that's an item to comprise on? I've only seen 2-3 PRs wake up the a thread but never annoy. I am curious how many it's closed 🤔 Two comments in 60 days is far my definition of annoying =) I think your different perspective is noteworthy and drives home the importance of discussion. |
I think we rather have to try to implement a custom logic into @ericLemanissier's bot. Something like: when was the last activity by a human? If > then X days, stop updating the potential conflict messages -> the stale bot does not see any activity anymore and actually closes the PR @prince-chrismc Would you be fine with the current number of days, if PRs would not be kept alive by bots? |
Eric's bot already has that logic 🙃I had asked for it a while back and it made a significant difference. ericLemanissier/conan-center-conflicting-prs#7 We are just starting to get close to that I personal feel 30/60 days is far to huge of a time period to wait for nothing to occur. I feel at 30 days the OP long moved on or there's a legitimate reason and it should be labeled. I think there would be a ⏲️ benefit from reducing the number of PRs we check when far to often they have gone stale. I think a good case study is uilianries' profile with the "reviewed prs" for this repo at 53, the mast majority is That leaves 2 pages over 50 PRs (excluding the last page that are blocked) in some kind of limbo state. This PR propose to tag half of those are stale so we can focus on the more important ones. To get an actual number I found this https://github.com/UnsafePointer/nisekoi... which gave $ ~/go/bin/nisekoi calc conan-io/conan-center-index --access-token ***********
Average landing PR time is: 232.66 hours, for a total of 3473 landed PRs But that's every PR ever not the last 3 months I've been tracking with my bot. I think we've gotten faster. Compared to the current average age of |
We have asked for a feature that would help with this... if we were able to ignore comments from users, then... probot/stale#329 |
The challenge is that would be a change to the GitHub service... If you check the query they are using https://github.com/probot/stale/blob/7510fac863900a98057436d308e9fe21bbe314ec/lib/stale.js#L111 There's nothing to filter the commenter |
This will only affect 22 PRs which have not been touched. Only 4 are less than 20 days.
Motivation: This will hopefully make it easier to spot PRs that could use help where the OP got stuck.
There is currently ~60 PRs that are 'inactive', or at least, with have no Human events.
Labeling them sooner will make it easier to filter PRs.