Comments (5)
So staring at this more I noticed the following:
- This is called by an HTTP 404 response from GitHub API
- The call seems to have been for retrieving the installation metadata
- There are mentions of @bmillemathias and @fao89 on the Sentry event page
- The event might be uninstall
from octomachinery.
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.
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.
Transferring this to the octomachinery repo now.
from octomachinery.
Turns out, an issue for this already exists at #34.
from octomachinery.
Related Issues (20)
- [Research] Figure out how to migrate the API to a snekomatic-style shared-maintenance lib HOT 1
- [CRITICAL] Installation objects in API now have also `app_slug` key HOT 2
- [TODO] Schedule handler execution asynchronously HOT 1
- [TODO] Don't pre-authenticate installation removed event HOT 3
- [TODO] Add support for `GHE_HOST` and `GHE_PROTOCOL`
- [TODO] Implement support for routing a catch-all `*` event
- [QUESTION] Python 3.7 Distribution -- setup.cfg HOT 1
- [TODO] Choose a recommended nested dict access implementation
- [CRITICAL] Installation objects in API now have also `suspended_by` key
- [TODO] Implement Probot-like app manifest/permissions declaration via `app.yml`
- [TODO] Fix compatibility with anyio 2.0.0+
- [TODO] Implement a mechanism for synthetic events HOT 1
- Githubapi call make-request encounters TypeError due to missing argument HOT 1
- AttributeError 'str' object has no attribute 'decode' for func make_jwt_for
- [TODO] Think about gracefully handling `GitHubBroken: Server Error` HOT 2
- Unable to load app private key on Heroku HOT 11
- : TypeError: RawGitHubAPI._make_request() got an unexpected keyword argument 'extra_headers' HOT 10
- [TODO] Figure out the upstream issue causing `ClientPayloadError: Response payload is not completed` HOT 4
- ServerDisconnectedError
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octomachinery.