-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[RFC] Stale bot #15159
Comments
Please make suggestions for a better bot. I am happy to contribute it. |
Stale bot optimizes for a vanity metric of minimizing number of opened issues, but does not actually contribute to fixing anything, and makes things harder / more confusing (eg increases likelyhood of duplicate issues since you're not going to check into closed issues before submitting an issue). Old issues can be still relevant even if the person who authored them is no longer an active contributor.
harder to implement than a stale bot but much more useful would be the following:
these can be simply command line tools, but could also be integrated in a github bot, eg:
links |
tissue already can download and test issues with working snippets, post All this is only possible with issues that have good structured information and snippets to reproduce a problem. Getting to that point is not easy though and time invested in minimizing issues sufficiently to create good issues should not be devalued and marked stale. I also agree that issues without sufficient steps to reproduce should get flagged and rejected with good guidelines on how to create minimal snippets. Automation can be valuable:
I'm sure there are other such automation tasks that can keep the issue count reasonable. I do agree that 1.7k open issues and 140 PRs is daunting and you want to get rid of useless issues but I am not totally convinced with using stale time as the metric. Lastly, I did some gitting and the last 100 commits had 20 odd authors, last 1000 had 80 odd authors and the last 10k commits had 400 odd authors (ballparking since some authors show up multiple times with different names). We aren't so short of contributors. Also, the last six months has seen 1000 commits with 260 of them explicitly referencing an issue fix. Perhaps 30% of contributions are bug fixes. That falls down to 20% over 10k commits. Maybe we should reduce the issue count by focusing more on fixing open bugs than new features for a few months. |
Oh good, inbox zero bots. Why bother to solve anything when you can just #wontfix. |
@Skrylar I think in this case upvoting this issue means being against Stale bot, at least thats how I interpreted it. |
@Clyybber i received an auto response on an issue i bothered to box up a neat little test case for. on top of the code still doesn't work 3 years later (although hey, the error is different now!) a human couldn't even be bothered to #wontfix it by hand. |
@Skrylar To be clear, I hate stalebot and would like to see it removed :) |
so what's the conclusion? can we safely ignore the warning |
Another thing is that, we strongly request issue raisers to give us a minimal reproducing example. It may takes a couple hours to get one in complex codebases or when it touches complex parts of Nim. Closing those after 3 months is not respectful to people hard work (point raised by @arnetheduck) |
The list of open issues on Github is a useful database. When you start working on particular sub-system in Nim, it's often useful to take a look at the list of open issues that might be related. This helps you understand the overall requirements better and sometimes leads to more comprehensive fixes, closing several issues at once. Now, if we really want to reduce the number of Github issues for whatever reason, I think a better strategy is available. If the Nim test suite had a category of "known problems", we can close issues by importing the reported snippets into the known problems set. These would be tested in CI and we'll be aware when accidental fixes resolve some old long standing problems. |
I wonder how many commenters here also keep hundreds of tabs open in their browser because they are afraid that one of them might come in handy in the future? Then after years of this they end up with the same tabs opened over and over again, the old tabs long lost but there to give you comfort. Unlike tabs, when an issue is closed it is not lost forever, so I don't buy the "it's useful to see issues that may be related" argument. You'll see these issues even if they have been closed and can very rightly ask for them to be reopened. I wonder if everyone is on the same page when it comes to how this Stale bot should operate, personally here is what I envision:
I think that's perfectly reasonable. It is a means of prioritising our issues and that is what's important here. Issues which nobody cares about anymore should be forgotten, just like your hoarded tabs. Issues which multiple people agree are important and should never be closed should get a I probably have issues which I opened 4 years ago, if nobody else has ran into that issue then they will not comment on them to stop them being closed, in that case it's right that the issue is forgotten. If someone has run into that issue then we will get another piece of signal that it affects others, the issue won't be closed, and maybe someone will be inspired to fix it. |
the tissue tool, while valuable, is a little bit too far away from sight - it would be more useful that issues that have a clear automated repro should be included in the test suite and counted as "known broken" - this helps keep an eye on a statistic that is in many ways more important than the number of tests that worked: the number of tests that fail and are known to fail - in particular, this would give a number to the low quality of certain nim features which usually helps focus attention on them. in such a world, |
I don't see any value at all to auto-closing issues. There's a Low Priority tag--why not use that? Close means something very different. (And if a bot started closing my browser tabs on me I would be quite unhappy ... not that I think that analogy is valid).
Lack of a recent comment does not mean that nobody cares about it. |
The stale bot now only works on pull requests, notifying the authors of the PRs which haven't had any activity in last two years to please rebase on the latest devel. |
One minor addition to the discussion: We don't know how many bugs remain unreported because there are 1700 open issues and reporters cannot be bothered to check for a duplicate of their bug. That would mean we care more about preserving history than about bugs newcomers actually encounter. |
If good (reproducible) issues were automatically added to a known-fail test-suite, duplicates wouldn't matter: the fix would make all relevant tests pass, thus resolve all duplicates. |
there isn't much automatic about this; someone has to fit the test in to a
framework and spot check it isn't trying to compile abuse code.
|
I think the general consensus is:
I think this may be a result of things that only the core devs have experienced, but I also believe that listening to the community is a good way to develop Nim so I support the decision to follow what appears to be the community consensus. I think we can close this now. |
Just to add a perspective, as an outside developer looking at the project, I am discouraged from creating new issues because looking at the 1.8k open ones, I feel that it's like a drop in the ocean and will likely be ignored (which of course there is no obligation for it not to be ignored so this is totally fine). Not sure if this is a benefit or drawback, but that's my perspective on the implicit effect of having many open issues. Also, having 1.8k issues (and of course always growing), I don't think there's much hope for most issues to get solved as it is a constant ongoing battle. Given this assumption, it is my inclination that issue prioritization is one of the most important details to get right. We already have data points like number of comments and last updated, but having one more data point of "this issue still affects at least one person" to me is very valuable. So, to me having some sort of stalebot to either close issues or mark them with a tag would seem to be valuable. |
It seems like Nim now has a stale bot.
Advantages:
Disadvantages:
Opinion
I don't think this is a right approach when there are so few core contributors to Nim:
The text was updated successfully, but these errors were encountered: