Bug 235383 - [EWS] Use token when processing hook
Summary: [EWS] Use token when processing hook
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-01-19 14:31 PST by Jonathan Bedard
Modified: 2022-01-21 12:31 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Bedard 2022-01-19 14:31:51 PST
buildbot may make a GET request to GitHub when processing a GitHub hook. We should provide our authentication token when making this request so the build-master doesn't get throttled.
Comment 1 Radar WebKit Bug Importer 2022-01-19 14:32:06 PST
<rdar://problem/87791577>
Comment 2 Aakash Jain 2022-01-19 15:07:26 PST
> buildbot may make a GET request to GitHub when processing a GitHub hook.
Can you please elaborate more on this? Why is a outgoing network request needed to process incoming data?
Comment 3 Jonathan Bedard 2022-01-19 16:45:34 PST
(In reply to Aakash Jain from comment #2)
> > buildbot may make a GET request to GitHub when processing a GitHub hook.
> Can you please elaborate more on this? Why is a outgoing network request
> needed to process incoming data?

Looks like buildbot reaches out to the GitHub API to search commit messages for a skip pattern: https://github.com/buildbot/buildbot/blob/b856c90fb15e156903228f9a461f4ac8051d70cf/master/buildbot/www/hooks/github.py
Comment 4 Jonathan Bedard 2022-01-20 13:24:21 PST
Doing https://bugs.webkit.org/show_bug.cgi?id=235417 instead of this.
Comment 5 Jonathan Bedard 2022-01-21 12:31:34 PST
Landed 246270@main (r288368)