MCPcopy Index your code
hub / github.com/nodejs/node / QueryTryBotsForFailures

Function QueryTryBotsForFailures

deps/v8/tools/release/roll_bisect.py:92–115  ·  view source on GitHub ↗
(change, patchset, timeout=300)

Source from the content-addressed store, hash-verified

90
91
92def QueryTryBotsForFailures(change, patchset, timeout=300):
93 builds = HttpJSONQuery(
94 "https://cr-buildbucket.appspot.com/prpc/buildbucket.v2.Builds/SearchBuilds",
95 method="POST",
96 body={
97 "fields":
98 "builds.*.builder,builds.*.id,builds.*.status,builds.*.startTime,builds.*.endTime",
99 "predicate": {
100 "tags": [{
101 "key": "cq_experimental",
102 "value": "false"
103 }],
104 "status":
105 "FAILURE",
106 "gerritChanges": [{
107 "project": "v8%2Fv8",
108 "host": "chromium-review.googlesource.com",
109 "patchset": patchset,
110 "change": change,
111 },],
112 },
113 },
114 timeout=timeout)
115 return builds["builds"]
116
117
118def main():

Callers 1

mainFunction · 0.85

Calls 1

HttpJSONQueryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…