Skip to content

Instantly share code, notes, and snippets.

@ryanflorence
Last active May 18, 2022 03:11
Show Gist options
  • Save ryanflorence/8a62abea562ca2896dee to your computer and use it in GitHub Desktop.
Save ryanflorence/8a62abea562ca2896dee to your computer and use it in GitHub Desktop.

Turning Off Github Issues

My friend Michael Jackson turned off github issues on one of his smaller projects. It got me thinking...

Maintainers getting burned out is a problem. Not just for the users of a project but the mental health of the maintainer. It's a big deal for both parties. Consumers want great tools, maintainers want to create them, but maintainers don't want to be L1 tech support, that's why they burn out and everybody suffers.

The solution is to get more people involved, but how? Some of us think that letting people open issues helps. I don't. Most issues opened are bogus: an incorrect module import, not knowing that promises swallow errors and incorrectly assuming it's the project's problem, or they're questions that are already answered in the README or docs.

This isn't a rigorous statistic, but I'm pretty sure these are 99% of the issues on Github.

Issues aren't creating contributors, and they aren't really helping the project's code either. You're either spending time closing bogus issues or you're trying to find other people to do it, either way it's not healthy for any of you.

What if we just turned off the issues tab?

Consider this: issues are for powerless customers. You open an issue with your software vendor because you don't have the power to fix the problem. But programmers, using open source, do.

Pull Requests for Everything

Opening a Github issues doesn't require you to learn anything new, write any code, or even see the source code of the project. If we turn off issues, then the only feedback mechanism is a pull request. Let's explore the only use-cases I can think of for issues, and how they can be handled with pull requests.

Think you found a bug?

Fork the repo, add a failing test. This will encourage devs to learn how to write tests, and in the process, maybe discover that the test passes and something is broken in their app.

Too early in your career to take on writing a test case? Add an example in the repo that illustrates the bug. If you are able to write enough code to think you've found a bug and open an issue, you are able to open the examples/ directory of a project and make a new one that shows the bug. You may, again, find that the bug is in your app, saving the mental health of the maintainers from wild goose chases for bugs that don't exist. Or, you'll make the pull request, the maintainer can run your example and see "ah there is a bug" and then fix it.

Using issues for this doesn't give the developer any new experience and usually leads to the maintainers chasing down bugs that don't exist.

Using a pull requests with a test case or an example gives the developer new experience, puts the project's code into their editor, and validates or invalidates their bug before ever asking for the free time of the maintainers.

If we want to include more people in open source, I can't think of a better way than getting open source code on their machines and into their editors.

Want to discuss a feature?

Talking about code is often fruitless until there's some actual code to talk about. Pull requests require some code in order to start a conversation.

Write a proof of concept and make a pull request. Nothing is better than code that kind of works when discussing features. It reveals shortcomings of the current code and helps everybody understand better what it's going take.

Don't have time or know-how to write a PoC? write some tests that illustrate the feature. You don't need an implementation, just write some assertions that show the API you think would be good. Or, write an example that doesn't work. These options let everybody involved know exactly what you're trying to do and the conversation will go way faster.

It's social coding. Let's have our conversations start with code, working or otherwise. Let's build up contributors by getting some OSS in their editor, and get them writing some code.

Have a question?

Okay, we can't do pull requests for this. But issues are a terrible place for questions anyway. Read the docs, read the examples, go to stack overflow. Questions aren't issues.

Whatever community of folks answering questions you want to build you can build on a platform designed for it. Maintainers can look at the questions over there to get a feel for where their documentation is lacking, but you don't need the issue tracker cluttered up overwhelming maintainers. Turning off issues forces this optimal scenario.

@aequitas
Copy link

Cannot agree with the idea behind this more. Like said, any suggestion or bug can have a contribution as starting point, be it just a testcase, documentation example, README entry. This also opens up the road for documentation/design/test first development and makes people actually look at your docs and tests (also a pet peeve of mine).

As @kentcdodds mentioned, this pattern stands or falls with proper documentation in the README (link to CONTRIBUTING.md). As this is the first (only) page users see there should be a good funnel to direct them right way for this project. Otherwise they can only fall back to known pattern like going to stackoverflow or giving up. Not everyone is fluent in 'Github'.

I have to disagree with disabling the 'Issues' tab. Maybe instead putting enough information and the expectations people can have in the issue template. This way you keep the door open for people who just don't know how but still want to contact you but you do not have to be the rude person when closing trivial bug reports. As open source projects are mostly voluntary my opinion is the effort should come from both sides as much as possible.

There is still one loophole though, using --allow-empty to just create an empty commit and dump the 'issue' in the PR description ;).

@cweiske
Copy link

cweiske commented May 24, 2017

Issues is what you help to build a better product, create trust with users

I do not sell my open source libraries and applications, so they are not a product. I don't care if users trust me because I don't need them to buy my code.

@ummahusla
Copy link

Interesting idea, but it won't work well in a lot of cases, especially if there are not contributing guide or documentation around.

@kyprifog
Copy link

@cweiske remind me not to use any of your repos. Maintainers have to realize that while they are spending a lot of time maintaining, they are also asking those who use their libraries for a lot of time because they have been sold into the process of using their frameworks which in some cases may be a huge time investment. Therefore, the users have to be sold on using your "product" and their purchase is with the currency of time. In exchange you get free engineering help, and community notoriety.

I dont like this attitude that the maintainer doesn't owe anything to those who are using the code, without fans the project would go nowhere.

@msimpson
Copy link

Forcing the onus of support onto the end user isn't a winning idea. It breaks abstraction and will cause a reduction in user base.

@fevangelou
Copy link

A freakin' option to have a warning/disclaimer/whatever as a banner at the top of GitHub Issues would also be a good starting point...

@mdoar
Copy link

mdoar commented May 24, 2017

Code is clearer than anything else, but I think somewhere for asynchronous discussions is still needed for fast communication.

@le0nik
Copy link

le0nik commented May 24, 2017

Why turn them off? Who's making you read through them or reply to each one? Issues are not meant for YOU alone.

  • They help new potential users assess how useful this library is for them.
  • They are for other maintainers or power users to give replies. Those maintainers or power users might have a better grasp at the source code than the user who submitted the issue and they might submit a PR to fix it. Or they might point the user in the right direction so that he can try to fix this issue himself.
  • Have you ever googled or searched through project's issues for an error message that library spitted out? I know I have. Users don't always have time to dive deep into the library's source code. What should they do if issues are gone in your opinion?

You actually can(I know that's a huge secret) ignore stuff on the internet. You can ignore issues if you want. Other people who maintain or use this project might not want to ignore them from time to time.
Or you can enforce the quality of issues by closing them if they don't provide a test repo or proper description and reopening them when they do.

I've seen projects that closed issues under false pretense of encouraging people to submit PRs. These projects now have multiple open PRs just hanging unanswered because without issues there was no feedback, no confidence that there were people(besides other maintainers) using it and the maintainer completely lost interest in this project or OSS. Or maybe he closed issues because he had begun to loose interest in OSS in the first place...

Either way I think you just fool yourself when you say it's a useful step that's going to help you avoid burnout or encourage contributions or whatever.
It's the same as you would block google search for the name of your library or block tags that relate to it on stackoverflow if you had this ability because of "burnout" or in order to encourage PRs. Ridiculous.

@AndrewMcSwain
Copy link

As a former total noob that stumbled on all of this years ago trying to get sticky windows on my mac. I could handle writing tests for lots of problems i've encountered with OSS, but I've never written a test. Tests are something professionals do, beginners these days don't hear any talk about testing freecodecamp and eloquent javascript and even sicp dont go into it. I've picked up some books on the logic of programming to help me build systems, but I am still far from considering myself fluent in anything from this rabbit hole i'be crawled into.

Github is too involved for most, and Stack Overflow is too discontinuous for some serious edge cases.

As an example, I have spent countless hours studying the bcma b43(BroadCom) frameworks for linux boxes. I could probably, with social coding, try to fix my own issue and learn a shit ton about wiress network interfaces in the process.

Which would connect very well with my studies into radio.

@hypeJunction
Copy link

I guess the first question you need to answer is who you write the code for? Do you just share with the world for the good will (why waste code laying around with no good use to you, maybe it helps others), or do you actually want to grow a user base (framework wars). I think this idea is great for the former, but might not be suited for the latter. I think what you really want is just disable notifications, put a disclaimer in the readme, and fix bugs when you actually get to it next time you need the package. I think we burn out striving for perfection, we just need to accept that we are human and move on. I think we need to learn when to stop, it's good enough that we make our work available for free.

@Aboelfotoh83
Copy link

I think Github is not like any other ordinary website. It is a huge reference for many programming and other issues. Of course it is up to the person himself to turn off the issues. But for myself I don't because I want to know any new idea or opinion or point of view about the issue.

@kj7rrv
Copy link

kj7rrv commented Apr 27, 2020

What if a user does not know the language? You can get valuable info about bugs from nonprogrammers filing issues, even if the useful ones are a minority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment