Skip to content
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

Show PR experiment info in Cloud Build Page. #2008

Open
DonggeLiu opened this issue Jul 30, 2024 · 1 comment
Open

Show PR experiment info in Cloud Build Page. #2008

DonggeLiu opened this issue Jul 30, 2024 · 1 comment

Comments

@DonggeLiu
Copy link
Contributor

DonggeLiu commented Jul 30, 2024

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
Copy link
Contributor Author

DonggeLiu commented Jul 30, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant