News for hackers. Stuff that matters.
Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Tuesday September 06, 2022 @03:24AM (#32734033)
Little bit related: When I come into a company as CTO, and there are too many bugs, I just close all bugs older than 6 months. Usually that's more than 10% (and the org wasn't capable or willing to fix them). Hasn't created any problems yet, but everyone feels better immediately (and we implement ways to not reach high bug levels again).
Re:My goal of closing 10% of Emacs bugs (2020) by account42 on Tuesday September 06, 2022 @03:42AM (#32734158)
This might be an OK strategy for an internal bug tracker but for an open source project or something else with a public bug tracker just closing unresolved bugs is the best way to alienate your most dedicated users who have taken the time to file bug reports.
Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Tuesday September 06, 2022 @03:58AM (#32734264)
Yes you're right, in an open source project the bug tracker helps developers understand why something doesn't work and if it's their problem or a library bug.
Re:My goal of closing 10% of Emacs bugs (2020) by ThePadawan on Tuesday September 06, 2022 @03:59AM (#32734270)
I'm calling Poe's Law [0] on this one.

I could 100% believe this is genuine, but I would also 100% believe this is a quote from a Dilbert-like comic strip.

[0] https://en.wikipedia.org/wiki/Poe%27s_law

Re:My goal of closing 10% of Emacs bugs (2020) by bee_rider on Tuesday September 06, 2022 @04:39AM (#32734514)
The followup

https://news.ycombinator.com/item?id=32734254

even retains the ambiguity. Magnificent.

Re:My goal of closing 10% of Emacs bugs (2020) by ThePadawan on Tuesday September 06, 2022 @05:37AM (#32734855)
The ambiguity of referring to both the undesired code behaviors and the tickets tracking those issues as "the bugs" is giving me PTSD, too.
Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Tuesday September 06, 2022 @06:58AM (#32735378)
Never saw myself as PHB :-)
Re:My goal of closing 10% of Emacs bugs (2020) by newaccount74 on Tuesday September 06, 2022 @06:30AM (#32735202)
As someone who takes a lot of care to document bugs, I would quit if you did that to my bugs. If something isn't reproducible anymore, fine, close it. But just closing stuff that nobody got around to fixing yet is evil.
Re:My goal of closing 10% of Emacs bugs (2020) by lamontcg on Tuesday September 06, 2022 @10:15AM (#32737371)
> But just closing stuff that nobody got around to fixing yet is evil.

If nobody is ever going to get around to fixing it, then I'd argue that it needs to be closed.

Which isn't to defend blindly closing issues open more than X days, but in a bugtracker I think it needs to be valid to close an issue was WONTFIX when it might be a valid issue, but the code owners are simply never going to budget the time to get around to it in the next 10 years.

And the bug will still be there and searchable, and people can find it and see the resolution. It may not be satisfying, but the end result communicates clearly that any fix will need to be externally contributed.

Keeping around hundreds of bugs that will never be allocated resources or closed is a drain on the team who is maintaining the bugtracker, they have to periodically go through and curate all those issues, and just looking at the number is fatiguing. The result is usually that people stop interacting with the bugtracker and users really wind up shouting into the void.

There seems to be this attitude by users that they can demand that their issues stay open forever, and that the negative impact on the developers is some kind of punishment for them not having the time to address the issue and that it is unfair to just close issues that won't be addressed, but that's a very self-centered perspective on the part of the user, and the developers wind up suffering a psychological death-by-1000-cuts problem that doesn't help the project or anything get done.

But that means you need to accept at some point that someone is going to kill your baby that you produced and close an issue and tell you that they're not prioritizing it. But they're communicating that they've made a choice, rather than making that choice anyway while leaving the issue open for multiple years and never doing anything about it because they don't have infinite time to fix everything (and every large codebase will always have more bugs than time to fix them).

Re:My goal of closing 10% of Emacs bugs (2020) by newaccount74 on Tuesday September 06, 2022 @01:11PM (#32740027)
Closing a bug as "wontfix" is very different from "just close all bugs older than 6 months".
Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Tuesday September 06, 2022 @07:20AM (#32735539)
Usually people don't quit when I join and are rather happy that problems are solved instead of not solved.

I would also not sit at my desk one day, and close all the bugs - but talk to developers, managers, leads, QA and product on how we solve the bug problems together. Slashing the number of bugs in the bugtracker is only one task and people didn't object but agreed to it as a way forward.

I created by first bugs 40 years ago, I've created bugs that brought down sites and have been a tech manager for 25+ years learning on the way on how to deal with bugs. From my experience: "fixing yet" this is the problem. It's not "yet" it's "ever". If a company doesn't fix bugs in 6 or 12 months, it's never spending enough time to fix these bugs because new feature development is always more important.

With the slashing of the bugs and a different approach to quality (E.g. fix bugs first) I would assume you're much happier that the bugs you report get fixed and developers are happy for your good bug reports than bug reports sitting in a bug tracker who no one acts upon.

Re:My goal of closing 10% of Emacs bugs (2020) by mpol on Tuesday September 06, 2022 @07:26AM (#32735590)
> ...rather happy that problems are solved instead of not solved.

But they are not solved, are they?

> With the slashing of the bugs...

And it's not slashing bugs, but slashing bug reports. The bugs are still there.

Re:My goal of closing 10% of Emacs bugs (2020) by everforward on Wednesday September 07, 2022 @11:07AM (#32751625)
I would say that closing the bugs as WONTFIX is just changing the specs of the application so it's not a bug anymore.

E.g. if you've got a bug that emojis cause an endpoint to throw a 500, closing the bug as WONTFIX is akin to just saying that emojis are invalid input to the application.

After 6 months or a year, that's how everyone is treating it anyways.

Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Tuesday September 06, 2022 @07:32AM (#32735637)
"But they are not solved, are they?"

You might have overseen

"and we implement ways to not reach high bug levels again"

Re:My goal of closing 10% of Emacs bugs (2020) by yourapostasy on Tuesday September 06, 2022 @06:30AM (#32735197)
This approach flattens the complexity of bugs into a single value, then measures the importance of bugs by a loosely-correlated, highly-noisy signal: time in queue.

This is also why a recent client dumped a decades-long vendor in an enterprise setting that by proxy implemented this approach through a newly-offshored support team that didn't understand the product and stalled on difficult bugs until the bug reports died on the vine even after repeated executive meetings. Ask the account executive how they felt about losing out on an easy seven-figure annual renewal to a rival who won't likely come up for displacement until after the account exec retires.

To add to the sting, the displacement came at a time that the role of the software product was planned for a big expansion. The tab for more licenses and the work was so high but close enough between the incumbent and challenger that it opened the door...and there went an 8-figure year for the incumbent's account executive. Decades of brand-building and relationship management down the tubes all so some support department head can show off on their scope's bottom line.

We understood these were challenging problems to solve, were patient, and willing to put in the significant person-months of time it would take to help solve them. Client leadership however, was not willing to just get indefinitely shuffled onto the bug queue.

We're not stupid. We know what being blown off looks like. We know when we're talking with a Regex Support organization versus a Semantic Support organization. The lag time between realizing that and acting upon it might take a few years, but once it happens in enterprise software, vendors rarely get another shot within another decade.

Re:My goal of closing 10% of Emacs bugs (2020) by tinus_hn on Tuesday September 06, 2022 @04:13AM (#32734356)
And as a plus, it teaches your customers not to waste their time filing bugs, so your stats look even better! A perfect example of management by excel sheet.
Re:My goal of closing 10% of Emacs bugs (2020) by TomSwirly on Tuesday September 06, 2022 @08:18AM (#32736090)
> I just close all bugs older than 6 months [...] everyone feels better immediately

I mean, people would feel even better if you just closed all the bugs, right?

Some of the oldest unclosed bug reports are the most valuable. because they document long-standing pain points. Not that you would know... :-)

If there were, say, 300 open bugs, you and 4 other people go through and triage them. ("You get bugs whose numbers are 0 mod 5, I get bugs wholes numbers are 1 mod 5", ... )

Organizing lots of tiny bugs into an omnibus bug is also great if all the tasks can be done at the same time. "OMNIBUS: fix help messages. See.... (list of a dozen old closed bugs)"

Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Tuesday September 06, 2022 @08:41AM (#32736308)
"Some of the oldest unclosed bug reports are the most valuable. because they document long-standing pain points."

Say there is a bug, "The line should be 2 em high" and the bug is not fixed for 6+ months, how is this more valuable because it's older?

Yes, I would agree with the triage, and do it if possible. If an organisation is unwilling to spend resources to fix bugs, a triage doesn't work.

It's the same with this 100 item backlogs, people put things in backlogs at position 20+ that are never developed but suggest they are developed, reducing immediate pain ("No, we're not going to develop this") but trading it for long term pain ("No, it's not in the next Sprint").

Yes, aggregating bugs into an OMNIBUS or aggregating bugs into a feature as requirements is valuable too.

Re:My goal of closing 10% of Emacs bugs (2020) by bee_rider on Tuesday September 06, 2022 @12:32PM (#32739499)
"The line should be 2 em high" seems more like a feature request or... like just a general whining, than a bug. Your strategy of just closing these is probably valid. But I would call it "closing non-bug complaints which abuse the bug tracker," not slashing bugs.

The reason people are so confused here, I think, is because to programmers, bugs are incorrect behavior of the program. These bugs exist whether they are reported or not. Removing bug reports does not remove bugs.

In other comments you mention "and we implement ways to not reach high bug levels again." Is it possible that from a programmer's point of view, you are actually enforcing proper use of the bug tracker? i.e., keeping graphic design opinions about line widths out of it.

Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Wednesday September 07, 2022 @12:26AM (#32746292)
"is because to programmers"

You might be overgeneralizing, I have been coding for 40+ years, maintained several successful open source projects, fixed many bugs, created even more, wrote bug reports and have a Go IDE open right now.

Re:My goal of closing 10% of Emacs bugs (2020) by bee_rider on Sunday September 11, 2022 @02:11AM (#32797237)
So do you disagree with my definition of a bug?
Re:My goal of closing 10% of Emacs bugs (2020) by neilv on Tuesday September 06, 2022 @03:32AM (#32734105)
On the theory that the valid and important enough bugs would've been fixed within 6 months?

Any idea the breakdown of the bugs that were closed?

(Guesses at percentages of which were user error, applied only to an older version, duplicates, irreproducibile, valid but would happen only in freak circumstances, low impact, etc.)

Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Tuesday September 06, 2022 @03:57AM (#32734254)
Yes. Many old bugs are no longer there, because dozens or hundreds of features have been built since upon the buggy code.
Re:My goal of closing 10% of Emacs bugs (2020) by eloop on Tuesday September 06, 2022 @03:56AM (#32734251)
The age old ostrich approach!
Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Tuesday September 06, 2022 @03:57AM (#32734259)
"and we implement ways to not reach high bug levels again"
Re:My goal of closing 10% of Emacs bugs (2020) by gpderetta on Tuesday September 06, 2022 @04:07AM (#32734321)
This a well known bug handling workflow known as the "CADT Model".
Re:My goal of closing 10% of Emacs bugs (2020) by falcor84 on Tuesday September 06, 2022 @05:46AM (#32734914)
Thank you, this was a fun read

https://www.jwz.org/doc/cadt.html

And it was particularly nice to see that is by Jamie Zawinski of Zawinski's Law fame:

"Every program attempts to expand until it can read mail. Those programs which cannot so expand are replaced by ones which can."

Re:My goal of closing 10% of Emacs bugs (2020) by gpderetta on Tuesday September 06, 2022 @05:48AM (#32734924)
Directly linking to jwz from HN doesn't lead to the expected result though :)
Re:My goal of closing 10% of Emacs bugs (2020) by falcor84 on Tuesday September 06, 2022 @06:10AM (#32735058)
Sorry for being obtuse, but could you please explain what I'm missing. I hope to be one of today's lucky 10,000
Re:My goal of closing 10% of Emacs bugs (2020) by tialaramex on Tuesday September 06, 2022 @06:25AM (#32735167)
Jamie (JWZ) doesn't like Hacker News, so like several other sites he detects this site in referrer headers sent by browsers and if it's present you get a custom image instead of what you wanted to read.

I think it's currently this: https://cdn.jwz.org/images/2016/hn.png

Re:My goal of closing 10% of Emacs bugs (2020) by TMWNN on Tuesday September 06, 2022 @08:58AM (#32736480)
>Jamie (JWZ) doesn't like Hacker News

Having read his blog for years, I don't think he likes anything or anyone. Not even his nightclub, based on his the past 2.5 years simultaneously a) describing COVID19 as an existential threat to humanity, b) insisting on/bragging about maintaining super-strict requirements for patrons (when San Francisco loosened restrictions, he of course denounced the city as going "against science"), and c) lamenting the continued money drain that his club is.

Re:My goal of closing 10% of Emacs bugs (2020) by newaccount74 on Tuesday September 06, 2022 @06:25AM (#32735163)
If you click the link you see a picture of an egg that looks like a hairy testicle with a quote complaining about HN.

(Assuming you use a browser that sends the referer header)

Re:My goal of closing 10% of Emacs bugs (2020) by falcor84 on Tuesday September 06, 2022 @06:41AM (#32735270)
Lol. I don't know why, but apparently my browser isn't sending the referrer header, and I'm using vanilla chrome on Android.

EDIT: Sorry, I think it might actually just be that because I first visited that page before coming in via HN, I've just been seeing the cached version of the real page, instead of the DDoS-protecting testicle.

Re:My goal of closing 10% of Emacs bugs (2020) by cinntaile on Tuesday September 06, 2022 @06:21AM (#32735139)
Click on your link that you just posted.
Re:My goal of closing 10% of Emacs bugs (2020) by kqr on Tuesday September 06, 2022 @04:28AM (#32734438)
This is sometimes called a "bug bankrupcty". I'm not that convinced of its usefulness.

Let's apply basic systems theory: if bugs are filed faster than they are resolved, the tendency of the open bug count is toward the infinite. You can declare bankruptcy but it won't change the dynamics of the system: bugs will keep piling up. So you may feel temporary relief, but the underlying problem is still there, causing stress.

You could apply the rule more dynamically: all bugs older than X are always automatically demoted to wontfix status, on the basis that factually, they haven't actually been prioritised for a while. In this case you're using real-world prioritisation decisions to drive the prioritisation status in your bug tracker. This is a more stable solution.

----

But here's where you can take it to the next level. You're de-prioritising a bug for 6 months and then automatically marking it as wontfix. Using "open for 6 months" as the signal to wontfix a bug is relying on a lagging signal.

It would be nice with a leading signal instead, so that you can mark it as wontfix immediately as soon as you know it won't be fixed for six months.

How do you know which bugs fall into the wontfix category immediately? Here's one way:

Make note of the average rate of commits the team is capable of, and decide how much of their time they should spend on bugs, and call the product of that M. Let's say you like the 6 month wontfix threshold, and call this time W. Apply Little's law:

    L = M*W
L is the number of open bugs you can have. Find the top L bugs, and mark the rest as wontfix (or the lowest priority level, depending on what angers your users less.)

Concrete example: my previous team committed stuff at a rate of 6.2/day. They spent 30 % of their time fixing bugs. That's roughly 1.9 bug fixed per day. Six months is on average something like 110 workdays. All in all 1.9 * 110 ~= 200 bugs can be open with this the team at any given time.

Anything other than the most important 200 gets marked wontfix immediately.

----

You might complain that it's difficult to say that a bug is less important than 200 other bugs, and you'd be right. Based on my experience, I'd run this with two priority levels and much stricter thresholds. When I have run the analysis on internal bug databases, bugs that are allowed to linger for more than a month are very rarely fixed anyway.

When you have stricter thresholds, you can't just mark everything else "wontfix", because it makes your users angry when it seems like you won't even bother with most of their reported bugs, so you have to add a third priority level that serves as the "probablywontfix" bucket in practise.

- Priority 1 bugs should be fixed within a week,

- Priority 2 bugs should be fixed within a month.

- Priority 3 bugs come without any sort of SLO.

How many open bugs can we have of the priority levels? Same sort of reasoning, but we also need to allocate effort toward priority 1 and priority 2. Let's say 50/50 because I haven't tried evaluating the optimal split.

- Priority 1 bugs open: 1.9 bugs/day * 0.5 * 5 days ~= 5 open bugs

- Priority 2 bugs open: 1.9 bugs/day * 0.5 * 22 days ~= 20 open bugs

- Priority 3 bugs open: everything else.

This you can actually work with.

Re:My goal of closing 10% of Emacs bugs (2020) by kjetilho on Tuesday September 06, 2022 @05:18AM (#32734736)
Thanks, this was very useful.

For an Open Source project, WONTFIX is particularily disheartening, but also annoying to the next user wanting to report the same bug and not finding it in the list of open bugs. In such cases, it would be better to set the level PATCHESWELCOME to control expectation. I guess this corresponds to your "Priority 3", but is more explicit about it.

Re:My goal of closing 10% of Emacs bugs (2020) by bnj on Tuesday September 06, 2022 @05:32AM (#32734828)
Big appreciation for this post. Ironically recently I’ve been drowning in emails and this walkthrough made me think about how I can apply the same reasoning to managing my inbox.
Re:My goal of closing 10% of Emacs bugs (2020) by caboteria on Tuesday September 06, 2022 @08:23AM (#32736152)
When I buy a second-hand car, if there's a warning light on the instrument panel I put a piece of electrician's tape over it. Hasn't created any problems yet, but everyone feels better immediately.
Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Tuesday September 06, 2022 @08:26AM (#32736181)
When my leg is broken, I write a report and it feels much better already.
Re:My goal of closing 10% of Emacs bugs (2020) by cma on Tuesday September 06, 2022 @04:56AM (#32734619)
Boeing?
Re:My goal of closing 10% of Emacs bugs (2020) by gspr on Tuesday September 06, 2022 @03:26AM (#32734043)
Wh... why?
Re:My goal of closing 10% of Emacs bugs (2020) by dj_mc_merlin on Tuesday September 06, 2022 @03:29AM (#32734074)
> the org wasn't capable or willing to fix them

Probably this. Can't fix everything, and the bugs piling up demoralizes many engineers. Six months is a bit low, I'd go higher, but there's no point having a bug on your board that you're not realistically actually going to fix.

Re:My goal of closing 10% of Emacs bugs (2020) by gspr on Tuesday September 06, 2022 @06:40AM (#32735257)
But the proposed action isn't to fix the bugs, it's to delete the documentation of the bugs! Closing your eyes don't make a problem go away. Surely the engineers understand that too, and won't get a moral boost from ignoring the known problems.
Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Tuesday September 06, 2022 @08:42AM (#32736322)
I did not suggest to ignore the known problems: "and we implement ways to not reach high bug levels again"

I suggest to close bug reports of bugs that will never get fixed.

Re:My goal of closing 10% of Emacs bugs (2020) by gspr on Tuesday September 06, 2022 @10:03AM (#32737262)
> I suggest to close bug reports of bugs that will never get fixed.

OK. We still disagree about whether that is smart, but one thing is sure: that's not what you wrote originally.

Re:My goal of closing 10% of Emacs bugs (2020) by rad_gruchalski on Tuesday September 06, 2022 @03:30AM (#32734097)
Because if they’re not resolved yet, there’s no client suffering from them in short term. If they suffer from such a bug, someone will raise it again.
Re:My goal of closing 10% of Emacs bugs (2020) by speedgoose on Tuesday September 06, 2022 @04:19AM (#32734391)
Users don't always complain, they sometimes simply go away.
Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Tuesday September 06, 2022 @07:14AM (#32735495)
If an organisation is not willing to fix the bug, the customer will go away, if you have the bug in your bugtracker or not.

Bugs in a bugtracker are not important. Fixed bugs are important. There is a distinction. Bugs in a bugtracker that are not fixed get you nowhere.

Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Tuesday September 06, 2022 @07:27AM (#32735591)
"And so are unfixed ones! I'd say even more so."

It's better to not fix bugs than to fix them?

"But the worst thing is to pretend the problem doesn't exist"

No where did I pretend the problem does not exist.

I wrote

"and we implement ways to not reach high bug levels again"

to fix the problem. I'm not advocating slashing all the bugs every month, or every year. I propose slashing bugs once when the reports got out of hand because of a bad bug culture and then implement better QA and bug fixing practices. This is the opposite of what you imply.

Re:My goal of closing 10% of Emacs bugs (2020) by gspr on Tuesday September 06, 2022 @07:23AM (#32735564)
> Bugs in a bugtracker are not important.

Your customers must be reeling at this! Do you really not think it's important to them that known flaws in the product are documented?

> Fixed bugs are important.

Sure. And so are unfixed ones! I'd say even more so.

> Bugs in a bugtracker that are not fixed get you nowhere.

Of course they do! The best thing, as you say, is to fix the problem. But the worst thing is to pretend the problem doesn't exist – documenting it is clearly better.

Re:My goal of closing 10% of Emacs bugs (2020) by rad_gruchalski on Tuesday September 06, 2022 @06:30AM (#32735201)
Same outcome, no user to complain. When/if the bug reappears, it is reported again.
Re:My goal of closing 10% of Emacs bugs (2020) by gspr on Tuesday September 06, 2022 @06:44AM (#32735285)
> Because if they’re not resolved yet, there’s no client suffering from them in short term.

This seems like an unrealistically perfect product.

> If they suffer from such a bug, someone will raise it again.

And this seems terrible for everyone involved. Terrible for the customers who have to nag, stay "on the ball" and make sure bugs get re-filed, and terrible for the developers who have to figure out which old (fake-closed) bug reports actually match the new filings.

Re:My goal of closing 10% of Emacs bugs (2020) by ZephyrBlu on Tuesday September 06, 2022 @03:31AM (#32734102)
Can imagine it's for a lot of reasons. Like:

- Improves morale

- Focuses the team

- Makes the task more approachable

Etc.

The important ones will probably bubble up again in due time.

Re:My goal of closing 10% of Emacs bugs (2020) by gspr on Tuesday September 06, 2022 @06:45AM (#32735297)
> - Improves morale

I'd buy this if the bug was actually gone. But it's not! Closing a bug report doesn't make the bug go away!

> - Focuses the team

A decent bug tracker should have priority levels for various bugs, surely.

> - Makes the task more approachable

I don't understand. Can you elaborate?

> The important ones will probably bubble up again in due time.

This seems like a terrible waste of everyone's time.

Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Tuesday September 06, 2022 @07:07AM (#32735434)
> I'd buy this if the bug was actually gone. But it's not! Closing a bug report doesn't make the bug go away!

It does improve morale. Developers see a mountain of bugs they could never fix.

> I don't understand. Can you elaborate?

Say you have 100 bugs open for 10 developers, and you close all bugs older than 6 months. Then you go through the remaining one and close all the ones who have no impact ("css line should be 2 pixel but is one pixel") on customers and you get to 30. Then you implement (better) code reviews, phase injection analysis (in which phase a bug was introduced, E.g. missing requirement, and where it was found E.g. customer), enforce static tools (Clippy) policy. Then you do two bug fixing sprints and refactoring of code that gets a high amount of bugs and you have a manageable bug count of 10 (1/dev instead of 10/dev) which keeps low because of the quality improvements you made.

> This seems like a terrible waste of everyone's time.

No managing hundreds of bugs in a bugtracker that do not get fixed is a terrible waste of everyone's time.

Re:My goal of closing 10% of Emacs bugs (2020) by gspr on Tuesday September 06, 2022 @10:02AM (#32737247)
> It does improve morale. Developers see a mountain of bugs they could never fix.

So you propose that telling them that the mountain is gone will actually make them believe that it is?

> No managing hundreds of bugs in a bugtracker that do not get fixed is a terrible waste of everyone's time.

How do bug tracker entries waste people's time? Sure, confirming or fixing or otherwise working on a bug takes time, but that's hardly wasted. And if the bug just sits there, how does it waste time?

Re:My goal of closing 10% of Emacs bugs (2020) by ZephyrBlu on Tuesday September 06, 2022 @05:01PM (#32743167)
> So you propose that telling them that the mountain is gone will actually make them believe that it is?

Yes... at least in the short term.

Think about seeing 100 issues vs 1000 issues. 1000 issues is clearly more demotivating. It's also a lot harder to tackle because of the sheer amount. You don't have enough time to fix all of them, so how to do you prioritize and distribute the work? With 100 issues you can get stuck in much quicker and prevent those 1000 issues from stacking up again.

> How do bug tracker entries waste people's time? Sure, confirming or fixing or otherwise working on a bug takes time, but that's hardly wasted. And if the bug just sits there, how does it waste time?

How many bugs do not have payoff proportional to the time spent triaging and working on them? Probably most. Cutting a whole lot of issues probably makes the 'right' decision for >50% of them.

Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Tuesday September 06, 2022 @03:55AM (#32734242)
It enables the company to get to a different level of fixing bugs. Say you have 10+bugs/engineer, it's hard to realistically lower them. So you slash the number of bugs and that enables you to implement ways to keep the bug count low: fix-bug-first, code reviews, checklists, static tools, phase injection analysis, bug council, etc.
Re:My goal of closing 10% of Emacs bugs (2020) by gspr on Tuesday September 06, 2022 @06:49AM (#32735320)
No! You slash the number of bug reports. The bugs are still there! Am I missing some joke here?
Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Tuesday September 06, 2022 @07:12AM (#32735476)
1. You don't know if they are still there. Thousands of commits have been done since then. Whenever I did go through a long list of old bugs, many were not reproduceable.

2. Many companies have no bug triage process and just fill every bug that is reported. So these are bugs that no one has any intention of fixing. So it's not important if they are there or not.

3. You seem to think that only the bugs in your bugtracker are there. They might be the minority of bugs in your code. Whenever I increase unit testing in my own code, I find dozens of bugs. I was once in a company that hired students during holidays for explorative testing. Dozens of bugs were found every time. The amount of bugs in your bugtracker depends on how much customers you have, how much they care and how big your QA effort is. It's nowhere the number of bugs in your application. The bugs in your bugtracker are a random selection with a bias to the more obvious ones of the bugs in your code.

4. If you don't want to fix bugs, you don't need to track them.

Re:My goal of closing 10% of Emacs bugs (2020) by gspr on Tuesday September 06, 2022 @10:00AM (#32737221)
> 1. You don't know if they are still there. Thousands of commits have been done since then. Whenever I did go through a long list of old bugs, many were not reproduceable.

It can certainly be reasonable to close unreproducable bugs. But you said that you habitually come in and close any bug older than 6 months. Those are different things.

> 2. Many companies have no bug triage process and just fill every bug that is reported. So these are bugs that no one has any intention of fixing. So it's not important if they are there or not.

Surely it's important to know that the bug exists even if it's unlikely to be fixed?

> 3. You seem to think that only the bugs in your bugtracker are there.

Not at all. What makes you think that?

> The bugs in your bugtracker are a random selection with a bias to the more obvious ones of the bugs in your code.

OK. And? You propose throwing out a list of problems because that list is biased and incomplete? "– My roof is leaking! – Yes, but you're focusing on that because it's easy to see! You should ignore it unless you are also sure that your electrical wiring is sound."

> 4. If you don't want to fix bugs, you don't need to track them.

With respect, this is absolutely nuts! Knowing of deficiencies in a program can be very, very useful!

Re:My goal of closing 10% of Emacs bugs (2020) by matkoniecz on Tuesday September 06, 2022 @08:17AM (#32736080)
If the closing was was purging of not reproduceable/low quality/useless bug reports then it would be different.

Would 10 month old well documented report of critical security issue also would be closed after your purge?

Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Tuesday September 06, 2022 @08:44AM (#32736353)
If you have a critical security issue not fixed ASAP but lying around for 10 months I'd say you have other problems in your organisation than a high bug count.
Re:My goal of closing 10% of Emacs bugs (2020) by gspr on Tuesday September 06, 2022 @10:03AM (#32737254)
Maybe it didn't look like a security problem at first?
Re:My goal of closing 10% of Emacs bugs (2020) by eru on Tuesday September 06, 2022 @03:33AM (#32734117)
You can just archive the bugs somewhere, so you can open them again later if you want to. (You don't need to completely delete them or so.)

I can see how this can provide psychological benefits to some people.

Re:My goal of closing 10% of Emacs bugs (2020) by KingOfCoders on Tuesday September 06, 2022 @03:53AM (#32734224)
Yes, if the org is vehemently against it, you can create another project as a "bad bank".
Re:My goal of closing 10% of Emacs bugs (2020) by eru on Tuesday September 06, 2022 @04:26AM (#32734426)
That might actually also be a good technical way to keep track of which bugs were already 'properly' closed, and which were only closed as part of the clean slate.

(Depending on what kind of operations your bug tracker supports or doesn't support.)