Skip to content
A probot app that asks if you're sure something is "super simple"
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__
docs
.gitignore
.travis.yml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
app.json
index.js
package.json

README.md

untrivializer

a GitHub App built with probot that asks in Github comments if you're really sure something is trivial.

screenshot

But why tho

A lot of times we'll write up an issue without really thinking it through:

We want X. Just do thing Y to get it, that should be really simple.

Make change Z, it should be trivial.

Do thing Foo, it's super easy.

Doing those things (almost without fail) takes way, way more time than we think it will. Why? A couple reasons:

  • If we're making a comment like that we're probably not thinking through all the little details anyway,
  • We're all just terrible at estimating, even when we know we're terrible at estimating (it's truly incredible),
  • We often forget the downstream repercussions of "simple" changes -- one line of code for you might mean 3 hours or more of code review, testing, etc.

So this little robot tries to detect when you've said something "should be simple" and asks if that's really the case. The default reply is:

Did you mean, "might be straightforward, but could have unforseen complexities that would completely change the prioritization of the issue, so we should let it go through the normal planning and estimation process"?

Detection is an ugly regex.

Running

I think you can run this as a Github app here: https://github.com/apps/untrivializer but no guarantees that the backend will stay up. If you'd rather run it yourself (I don't blame you) look below.

Setup

# Install dependencies
npm install

# Run the bot
npm start

See docs/deploy.md if you would like to run your own instance of this app.

You can’t perform that action at this time.