Skip to content

Commit

Permalink
Don't include chrome restrictions on uploads in oss-fuzz (#4610)
Browse files Browse the repository at this point in the history
Don't force users to sign trusted agreement.
  • Loading branch information
jonathanmetzman authored Jan 15, 2025
1 parent 01239a0 commit a6cffd4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/appengine/handlers/upload_testcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,9 @@ def do_post(self):
trusted_agreement_signed = request.get(
'trustedAgreement') == TRUSTED_AGREEMENT_TEXT.strip()

if (not trusted_agreement_signed and
# Chrome is the only ClusterFuzz deployment where there are trusted bots running utasks.
# This check also fails on oss-fuzz because of the way it abuses platform.
if (not trusted_agreement_signed and utils.is_chromium() and
task_utils.is_remotely_executing_utasks() and
((platform_id and platform_id != 'Linux') or
job.platform.lower() != 'linux')):
Expand Down

0 comments on commit a6cffd4

Please sign in to comment.