Giter VIP home page Giter VIP logo

Comments (5)

webknjaz avatar webknjaz commented on June 9, 2024

So staring at this more I noticed the following:

  1. This is called by an HTTP 404 response from GitHub API
  2. The call seems to have been for retrieving the installation metadata
  3. There are mentions of @bmillemathias and @fao89 on the Sentry event page
  4. The event might be uninstall

from octomachinery.

webknjaz avatar webknjaz commented on June 9, 2024

This is likely the bit of payload that would explain things:

GidgetHubWebhookEvent(name='installation', payload={'action': 'deleted', 'installation': {'id': 11811136, 'account': {'login': 'bmillemathias', 'id': 8579,

My latest theory is that @bmillemathias removed the app installation during the bot's startup from the user account, but I'm not sure what's the usual API response because of GitHub's eventual consistency.

Although, this would explain the non-existing install if the App is trying to get the data of a just-deleted installation. This would mean a problem in octomachinery and not patchback.

from octomachinery.

webknjaz avatar webknjaz commented on June 9, 2024

Aha! So it seems like 94e7765#diff-dfc12ecf149560867a2fea1a08ae6d29dbe742b16d964aec485cb5cfb392c2a6R133-R134 needs to be extended here https://github.com/sanitizers/octomachinery/blob/3ce9e19/octomachinery/github/api/app_client.py#L111 so that https://github.com/sanitizers/octomachinery/blob/3ce9e19/octomachinery/routing/webhooks_dispatcher.py#L60 actually works.

from octomachinery.

webknjaz avatar webknjaz commented on June 9, 2024

Transferring this to the octomachinery repo now.

from octomachinery.

webknjaz avatar webknjaz commented on June 9, 2024

Turns out, an issue for this already exists at #34.

from octomachinery.

Related Issues (20)

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.