Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Support for generic webhooks #8522
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
Support for generic webhooks #8522
Changes from 18 commits
12cd38b
ed703fd
2584afd
224622e
c531286
1a5c5b7
2e03439
9a961e7
297d1a6
73e5efb
c0689f1
c99df5d
c6c499b
0a031b3
9405d4b
2dd6b39
3e988a5
80446dd
ce31189
43f9dd4
e1b426e
b6fd66e
b443b4f
8f55e27
39c8ab2
37484f1
fe45d31
5ff125c
342eea7
509b09b
e4ea22e
2b16a86
33f9557
1077d61
481380d
19eec46
088e629
2a0a031
a26bd54
a2b6a2a
ec9b4fc
b049047
94f9fc1
a928097
8f20472
04e2953
d1a21f0
b6dd115
732ccdd
d2611b4
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this requires
version
andbuild
? It should be enough just with thebuild
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The old code was sending the build and version pk separately, don't know if there is a case where a build doesn't have the version attached.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it still required with the new code after the refactor? Can we remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea why the old code required it, so not sure about changing that on this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could create this object in two steps, before sending the request and updating it after the request was made. This is so we save the exchange even if the request failed (like timeout).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is better than the list, and we don't have that many events. I wanted to show something similar to what github does (the name and the description)

but looks like we would need to just manually do that, there isn't a widget that does it for us :/