Integration of Github Pull Request in Perf system

  1. I think creating an Asana task makes sense. As asana would be our central database based on which we calculate scores. Would be interesting to know @mrjn views about this.

  2. You’d want to create a task both for the committer for the reviewer , because the review might take some iterations. We can refine the formula later, for starters we can count the number of changed lines in the code except those in the vendor folder and assign a score based on that.
    If you are creating the task when a pull request is created , you’d have to see how do you update the same tasks when the PR is merged/closed. Remember you want to avoid storing state in the MySQL DB.

  3. The web hook can be part of perf and would listen to events on pull requests and take action based on that.