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

Unified Diff: dashboard/dashboard/bisect_stats.py

Issue 1566013002: Add support for bisect bots to post results to dashboard. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: rebase Created 4 years, 10 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 | « dashboard/dashboard/bisect_report_test.py ('k') | dashboard/dashboard/dispatcher.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dashboard/dashboard/bisect_stats.py
diff --git a/dashboard/dashboard/bisect_stats.py b/dashboard/dashboard/bisect_stats.py
index 7d94a01ea7c080f1dcec91a59244c51919ecb5cf..088c7f5b87f1ec5bad3f1d78d6ab3eff03523bd4 100644
--- a/dashboard/dashboard/bisect_stats.py
+++ b/dashboard/dashboard/bisect_stats.py
@@ -91,7 +91,9 @@ def UpdateBisectStats(bot_name, status):
bot_name: Name of the bisect bot.
status: Bisect status. Either 'failed' or 'completed'.
"""
- assert status in ['failed', 'completed']
+ # TODO(chrisphan): Add stats for staled bisect.
+ if status not in ['failed', 'completed']:
+ return
series_name = _GetSeriesNameFromBotName(bot_name)
week_timestamp = _GetLastMondayTimestamp()
« no previous file with comments | « dashboard/dashboard/bisect_report_test.py ('k') | dashboard/dashboard/dispatcher.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698