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

Side by Side Diff: appengine/findit/model/wf_config.py

Issue 2272953002: [Findit] Moving check flake parameters to config (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Updating swarming settings config example Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « appengine/findit/handlers/test/config_test.py ('k') | appengine/findit/templates/config.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Findit for Waterfall configuration.""" 5 """Findit for Waterfall configuration."""
6 6
7 from google.appengine.ext import ndb 7 from google.appengine.ext import ndb
8 8
9 from model.versioned_config import VersionedConfig 9 from model.versioned_config import VersionedConfig
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 # A dict containing common settings for swarming tasks. For example, 62 # A dict containing common settings for swarming tasks. For example,
63 # { 63 # {
64 # 'server_host': 'chromium-swarm.appspot.com', 64 # 'server_host': 'chromium-swarm.appspot.com',
65 # 'default_request_priority': 150, 65 # 'default_request_priority': 150,
66 # 'request_expiration_hours': 20, 66 # 'request_expiration_hours': 20,
67 # 'server_query_interval_seconds': 60, 67 # 'server_query_interval_seconds': 60,
68 # 'task_timeout_hours': 23, 68 # 'task_timeout_hours': 23,
69 # 'isolated_server': 'https://isolateserver.appspot.com', 69 # 'isolated_server': 'https://isolateserver.appspot.com',
70 # 'isolated_storage_url': 'isolateserver.storage.googleapis.com', 70 # 'isolated_storage_url': 'isolateserver.storage.googleapis.com',
71 # 'iterations_to_rerun': 10 71 # 'iterations_to_rerun': 10,
72 # 'get_swarming_task_id_timeout_seconds': 300,
73 # 'get_swarming_task_id_wait_seconds': 10
72 # } 74 # }
73 swarming_settings = ndb.JsonProperty(indexed=False, default={}) 75 swarming_settings = ndb.JsonProperty(indexed=False, default={})
74 76
75 # A dict containing build data download settings. For example, 77 # A dict containing build data download settings. For example,
76 # { 78 # {
77 # 'download_interval_seconds': 10, 79 # 'download_interval_seconds': 10,
78 # 'memcache_download_expiration_seconds': 3600, 80 # 'memcache_download_expiration_seconds': 3600,
79 # 'use_chrome_build_extract': True 81 # 'use_chrome_build_extract': True
80 # } 82 # }
81 download_build_data_settings = ndb.JsonProperty(indexed=False, default={}) 83 download_build_data_settings = ndb.JsonProperty(indexed=False, default={})
82 84
83 # A dict containing action settings for identified culprits or suspects. 85 # A dict containing action settings for identified culprits or suspects.
84 # { 86 # {
85 # 'cr_notification_build_threshold': 2, 87 # 'cr_notification_build_threshold': 2,
86 # 'cr_notification_latency_limit_minutes': 30, 88 # 'cr_notification_latency_limit_minutes': 30,
87 # } 89 # }
88 action_settings = ndb.JsonProperty(indexed=False, default={}) 90 action_settings = ndb.JsonProperty(indexed=False, default={})
91
92 # A dict containing settings for identifying the regression range that
93 # introduces test flakiness. For example,
94 # {
95 # 'lower_flake_threshold': 0.02,
96 # 'upper_flake_threshold': 0.98,
97 # 'max_flake_in_a_row': 4,
98 # 'max_stable_in_a_row': 4,
99 # 'iterations_to_rerun': 100
100 # }
101 check_flake_settings = ndb.JsonProperty(indexed=False, default={})
OLDNEW
« no previous file with comments | « appengine/findit/handlers/test/config_test.py ('k') | appengine/findit/templates/config.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698