-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lightly refactor main pubsub handler #513
Conversation
de687de
to
a94df0e
Compare
b00d339
to
f75a0fb
Compare
57a831c
to
1fd3e8b
Compare
f75a0fb
to
d295d48
Compare
d295d48
to
480a698
Compare
What do you mean here? Isn't repos already in the payload? |
Do you mean hard requiring repos to be in the payload? And raising if it isn't? I guess we can do that but that's defined in the ops repo already so we have full control over that. https://github.com/getsentry/ops/blob/master/terraform/super-big-data/super-big-consumers/schedule.tf |
It's optional, though ... eng-pipes/src/webhooks/pubsub/index.ts Line 17 in 78b7021
... and we fall back to a default. eng-pipes/src/webhooks/pubsub/index.ts Line 65 in 78b7021
Where is the payload defined? In GCP somewhere? |
The missing link! Thank you! 😁 🙏 |
Part of #482, after #512.
I'm pretty sure what I want to do is loop over multiple orgs in this handler (
getsentry
,codecov
). This sets me up for that.This also switches to requiring thatDecided against this for now, too controversial.repos
be inpayload
. Can we do that? 🤔