fuzzbench icon indicating copy to clipboard operation
fuzzbench copied to clipboard

Show PR experiment info in Cloud Build Page.

Open DonggeLiu opened this issue 1 year ago • 1 comments

Currently, we have to write down the experiment report and data info manually. This is annoying because the experiment trigger always parses the last comment, so we must wait until the experiment has launched before pasting the links.

This PoC shows a way to automate this, which prints the PR ID as an example. We can extend the code to show the experiment report and data.

DonggeLiu avatar Jul 30 '24 05:07 DonggeLiu

Some extensions after the task is done:

  1. Check if the PR modified gcb_run_experiment.py and remind the owner.
  2. Only show the correct experiment report URL based on the fuzzer.
  3. Filter outputs. Omit everything from step 2 because PR experiment does not change that code section. Only show the customized log in step 1 and the experiment launch status in step 3.
  4. Also show the experiment info in a GitHub comment.

DonggeLiu avatar Jul 30 '24 06:07 DonggeLiu