Code Monkey home page Code Monkey logo

chrome-devrel-review-bot's Issues

Return meaningful response status for webhook error

Instead of always returning an HTTP 200 in /approvals handler, we should propagate some errors that come from handling the webhook and use those to trigger an error response whose body contains details about the failure.

https://docs.github.com/en/github-ae@latest/rest/guides/best-practices-for-integrators#use-appropriate-http-status-codes-when-responding-to-github makes it sound like including errors about the failure in the response body could be helpful in debugging.

context: #12

Migrate to GitHub actions

I think we could save ourselves some sanity by migrating this to GitHub actions. The main motivation is getting rid of using Glitch as a sort of production backend but also:

  • being able to trace runs via the GitHub actions UI (why did a run fail, when did it run, ...)
  • making use of action annotations to visually connect Markdown lint errors to the PR code. This will make reviews easier
  • being able to use existing actions like Sticky Pull Request comment to reduce noise

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.