diff --git a/dashboard/builders.go b/dashboard/builders.go index 4579b0f5de..b99e80b703 100644 --- a/dashboard/builders.go +++ b/dashboard/builders.go @@ -1614,7 +1614,7 @@ func init() { HostType: "host-nacl-kube", buildsRepo: func(repo, branch, goBranch string) bool { // nacl support is removed in Go 1.14. - return repo == "go" && !atLeastGo1(goBranch, 14) + return repo == "go" && !atLeastGo1(goBranch, 14) && !strings.HasPrefix(goBranch, "dev.") }, MaxAtOnce: 2, numTryTestHelpers: 3, @@ -1625,7 +1625,7 @@ func init() { HostType: "host-nacl-kube", buildsRepo: func(repo, branch, goBranch string) bool { // nacl support is removed in Go 1.14. - return repo == "go" && !atLeastGo1(goBranch, 14) + return repo == "go" && !atLeastGo1(goBranch, 14) && !strings.HasPrefix(goBranch, "dev.") }, tryBot: explicitTrySet("go"), MaxAtOnce: 2, diff --git a/dashboard/builders_test.go b/dashboard/builders_test.go index 53649f4574..729eae5f4e 100644 --- a/dashboard/builders_test.go +++ b/dashboard/builders_test.go @@ -104,6 +104,30 @@ func TestTrybots(t *testing.T) { "windows-amd64-2016", }, }, + { + repo: "go", + branch: "dev.link", + want: []string{ + "freebsd-amd64-12_0", + "js-wasm", + "linux-386", + "linux-amd64", + "linux-amd64-race", + "misc-compile-other", + "misc-compile-darwin", + "misc-compile-linuxarm", + "misc-compile-solaris", + "misc-compile-freebsd", + "misc-compile-mips", + "misc-compile-netbsd", + "misc-compile-openbsd", + "misc-compile-plan9", + "misc-compile-ppc", + "openbsd-amd64-64", + "windows-386-2008", + "windows-amd64-2016", + }, + }, { repo: "go", branch: "release-branch.go1.12", @@ -388,9 +412,11 @@ func TestBuilderConfig(t *testing.T) { {b("android-386-emu", "go"), isBuilder}, {b("nacl-386", "go"), none}, + {b("nacl-386@dev.link", "go"), none}, {b("nacl-386@go1.13", "go"), onlyPost}, {b("nacl-386", "net"), none}, {b("nacl-amd64p32", "go"), none}, + {b("nacl-amd64p32@dev.link", "go"), none}, {b("nacl-amd64p32@go1.13", "go"), both}, {b("nacl-amd64p32", "net"), none},