Skip to content

Commit a979ae3

Browse files
dmitshurgopherbot
authored andcommitted
dashboard: re-enable js/wasm TryBot (with Node 18)
After all.bash is passing with Node.js 18, the js/wasm builder can be enabled as a regular TryBot again (this time with Node 18 in place of Node 14). For golang/go#57614. Change-Id: I714380fba89e37275aed4144a1e8b50e0cc57884 Reviewed-on: https://go-review.googlesource.com/c/build/+/464036 Auto-Submit: Dmitri Shuralyov <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Run-TryBot: Dmitri Shuralyov <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Reviewed-by: Carlos Amedee <[email protected]>
1 parent 89135c8 commit a979ae3

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

dashboard/builders.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1583,7 +1583,6 @@ func init() {
15831583
addMiscCompile("-other-1", "dragonfly-amd64", "linux-loong64")
15841584
addMiscCompile("-other-2", "linux-riscv64", "linux-s390x", "linux-arm-arm5") // 'linux-arm-arm5' is linux/arm with GOARM=5.
15851585
addMiscCompileGo1(20, "-go1.20", "freebsd-riscv64")
1586-
addMiscCompileGo1(21, "-go1.21", "js-wasm") // TODO(go.dev/issue/57614): Use a misc-compile trybot for js/wasm until Node 18 builder can work as a trybot.
15871586

15881587
// TODO: Issue 25963, get the misc-compile trybots for Android/iOS.
15891588
// Then consider subrepos too, so "mobile" can at least be included
@@ -1904,10 +1903,9 @@ func init() {
19041903
},
19051904
})
19061905
addBuilder(BuildConfig{
1907-
Name: "js-wasm-node18",
1908-
HostType: "host-linux-amd64-js-wasm-node18",
1909-
KnownIssues: []int{57614}, // After this known issue is resolved, re-enable it as a TryBot below:
1910-
//tryBot: explicitTrySet("go"),
1906+
Name: "js-wasm-node18",
1907+
HostType: "host-linux-amd64-js-wasm-node18",
1908+
tryBot: explicitTrySet("go"),
19111909
buildsRepo: func(repo, branch, goBranch string) bool {
19121910
b := buildRepoByDefault(repo) && atLeastGo1(goBranch, 21)
19131911
switch repo {

dashboard/builders_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ func TestTrybots(t *testing.T) {
9494
branch: "master",
9595
want: []string{
9696
"freebsd-amd64-12_3",
97+
"js-wasm-node18",
9798
"linux-386",
9899
"linux-amd64",
99100
"linux-amd64-boringcrypto",
@@ -119,14 +120,14 @@ func TestTrybots(t *testing.T) {
119120
"misc-compile-other-1",
120121
"misc-compile-other-2",
121122
"misc-compile-go1.20",
122-
"misc-compile-go1.21",
123123
},
124124
},
125125
{
126126
repo: "go",
127127
branch: "release-branch.go1.21",
128128
want: []string{
129129
"freebsd-amd64-12_3",
130+
"js-wasm-node18",
130131
"linux-386",
131132
"linux-amd64",
132133
"linux-amd64-boringcrypto",
@@ -152,7 +153,6 @@ func TestTrybots(t *testing.T) {
152153
"misc-compile-other-1",
153154
"misc-compile-other-2",
154155
"misc-compile-go1.20",
155-
"misc-compile-go1.21",
156156

157157
// Include longtest builders on Go repo release branches. See issue 37827.
158158
"linux-386-longtest",
@@ -501,8 +501,8 @@ func TestBuilderConfig(t *testing.T) {
501501
{b("android-amd64-emu", "go"), onlyPost},
502502
{b("android-386-emu", "go"), onlyPost},
503503

504-
{b("js-wasm-node18", "go"), onlyPost},
505-
{b("[email protected]", "go"), onlyPost},
504+
{b("js-wasm-node18", "go"), both},
505+
{b("[email protected]", "go"), both},
506506
{b("[email protected]", "go"), none},
507507
// Keep using js-wasm builder (with Node 14) only for Go 1.20 and older:
508508
{b("js-wasm", "go"), none},

0 commit comments

Comments
 (0)