Predator is a culprit finder for Chrome crashes identified or reported on ClusterFuzz, Cracas and UMA Sampling Profiler. Key features include:
Run the below sample commands:
mkdir predator-dev
cd predator-dev
fetch infra
cd infra/appengine/predator
git checkout -b dev
cd infra/appengine/predator/app and run the below commands on your cloudtop:
make deploy_staging to deploy changes on Staging
make deploy_prod to deploy changes on Production
(1) Internal dashboards to monitor all the results:
Clusterfuzz: https://predator-for-me.appspot.com/clusterfuzz/dashboard
Cracas: https://predator-for-me.appspot.com/cracas/dashboard
UMA Sampling Profiler: https://predator-for-me.appspot.com/uma-sampling-profiler/dashboard
(2) Monitor metrics using vicerory dashboards:
Run cd infra/appengine/predator/app and verify:
Unit Test: Run make pytest and ensure all unit test cases passed
Debug on Staging: Run make deploy_staging to deploy changes on Staging. Please notice that ABF discards requests from Predator Staging, so no tickets will be created for Predator Staging. So it is very common to verify changes on Staging. However, we should be very careful about other use cases as the Staging traffic mirrors the Production traffic.