Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Unified Diff: dashboard/dashboard/alerts.py

Issue 2627073006: Add a ref_test key to Anomaly entities and surface it in alerts JSON. (Closed)
Patch Set: Address review comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | dashboard/dashboard/alerts_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dashboard/dashboard/alerts.py
diff --git a/dashboard/dashboard/alerts.py b/dashboard/dashboard/alerts.py
index ac05ea7fc690ebc342d277c7193fbd6de6c00f46..c46440012390a9046053ba8147a90d16162a480e 100644
--- a/dashboard/dashboard/alerts.py
+++ b/dashboard/dashboard/alerts.py
@@ -165,6 +165,7 @@ def GetAnomalyDict(anomaly_entity, bisect_status=None):
'improvement': anomaly_entity.is_improvement,
'bisect_status': bisect_status,
'recovered': anomaly_entity.recovered,
+ 'ref_test': anomaly_entity.GetRefTestPath(),
'type': 'anomaly',
'units': anomaly_entity.units
})
« no previous file with comments | « no previous file | dashboard/dashboard/alerts_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698