Commit 2dd4548
committed
cmd/coordinator: consider explicitly requested builders as SlowBots
Previously, a builder was considered to be "SlowBot" whenever it was
requested via the TRY= syntax, and it wasn't already a part of the
default set of trybot builders.
This change makes it so that a builder is considered a SlowBot if
it was explicitly requested via the TRY= syntax, even if it was
already going to run anyway.
The goal behind this change is to improve the experience of using
SlowBots, by making them more useful and predictable.
The UI currently reports that "SlowBots are starting ..." whenever
there is a non-zero amount of SlowBots. So if a user requested
TRY=linux-amd64, they'd likely see "TryBots are starting ...",
which can be misunderstood to mean that SlowBots are not working.
Additionally, if a user requested three builders via TRY= syntax,
but one of them happened to be a part of the default try set, then
the message at the end would be "Extra slowbot builds that ran:"
including only 2 builders. At that point, it's hard to tell whether
they got the TRY= syntax wrong for one of the builders, or if it was
omitted because it's always run anyway.
A future usability improvement in golang.org/issue/38279 is to make
SlowBots not skip any tests that normal trybots may skip for faster
results. This change is in preparation for that.
For golang/go#38279.
For golang/go#34501.
Change-Id: Idb7f1bcb1694fe72f85237976995a94f273c7c16
Reviewed-on: https://go-review.googlesource.com/c/build/+/227778
Run-TryBot: Dmitri Shuralyov <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
Reviewed-by: Alexander Rakoczy <[email protected]>1 parent b7c61f7 commit 2dd4548
File tree
3 files changed
+36
-27
lines changed- cmd/coordinator
- types
3 files changed
+36
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1167 | 1167 | | |
1168 | 1168 | | |
1169 | 1169 | | |
1170 | | - | |
1171 | | - | |
1172 | | - | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
1173 | 1173 | | |
1174 | 1174 | | |
1175 | 1175 | | |
| |||
1342 | 1342 | | |
1343 | 1343 | | |
1344 | 1344 | | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
1345 | 1362 | | |
1346 | 1363 | | |
1347 | 1364 | | |
| |||
1541 | 1558 | | |
1542 | 1559 | | |
1543 | 1560 | | |
1544 | | - | |
| 1561 | + | |
1545 | 1562 | | |
1546 | 1563 | | |
1547 | 1564 | | |
| |||
2073 | 2090 | | |
2074 | 2091 | | |
2075 | 2092 | | |
| 2093 | + | |
| 2094 | + | |
2076 | 2095 | | |
2077 | 2096 | | |
| 2097 | + | |
2078 | 2098 | | |
2079 | 2099 | | |
2080 | 2100 | | |
| |||
2093 | 2113 | | |
2094 | 2114 | | |
2095 | 2115 | | |
2096 | | - | |
| 2116 | + | |
2097 | 2117 | | |
2098 | 2118 | | |
2099 | 2119 | | |
| |||
3942 | 3962 | | |
3943 | 3963 | | |
3944 | 3964 | | |
3945 | | - | |
3946 | | - | |
3947 | | - | |
3948 | | - | |
3949 | | - | |
3950 | | - | |
3951 | | - | |
3952 | | - | |
3953 | | - | |
3954 | | - | |
| 3965 | + | |
| 3966 | + | |
| 3967 | + | |
| 3968 | + | |
3955 | 3969 | | |
3956 | | - | |
3957 | 3970 | | |
3958 | | - | |
3959 | | - | |
3960 | | - | |
3961 | 3971 | | |
3962 | 3972 | | |
3963 | | - | |
| 3973 | + | |
3964 | 3974 | | |
3965 | 3975 | | |
3966 | 3976 | | |
3967 | 3977 | | |
3968 | | - | |
3969 | | - | |
| 3978 | + | |
| 3979 | + | |
3970 | 3980 | | |
3971 | | - | |
| 3981 | + | |
3972 | 3982 | | |
3973 | 3983 | | |
3974 | 3984 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
275 | 274 | | |
276 | 275 | | |
277 | 276 | | |
| |||
289 | 288 | | |
290 | 289 | | |
291 | 290 | | |
292 | | - | |
| 291 | + | |
293 | 292 | | |
294 | | - | |
| 293 | + | |
295 | 294 | | |
296 | 295 | | |
297 | 296 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
0 commit comments