Skip to content

Commit

Permalink
Work around for JobRun not having the fuzz_target name set. (#4218)
Browse files Browse the repository at this point in the history
Workaround for #4217.
  • Loading branch information
oliverchang authored Sep 2, 2024
1 parent 31d40b6 commit e5d20ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/clusterfuzz/_internal/bot/tasks/utasks/fuzz_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -859,8 +859,10 @@ def postprocess_process_crashes(uworker_input: uworker_msg_pb2.Input,
# Artificial delay to throttle appengine updates.
time.sleep(1)

upload_job_run_stats(fully_qualified_fuzzer_name, uworker_input.job_type,
fuzz_task_output.crash_revision,
# TODO(metzman): Replace fuzz_task_output.fully_qualified_fuzzer_name` with
# `fuzz_task_input.fuzz_target` instead.
upload_job_run_stats(fuzz_task_output.fully_qualified_fuzzer_name,
uworker_input.job_type, fuzz_task_output.crash_revision,
fuzz_task_output.job_run_timestamp, new_crash_count,
known_crash_count, fuzz_task_output.testcases_executed,
crash_groups_for_stats)
Expand Down

0 comments on commit e5d20ea

Please sign in to comment.