Skip to content

Commit f1ed2d1

Browse files
committed
cmd/coordinator: add link to known issue on builders page
The tooltip for builders with a known issue is displayed consistently as of the last commit, but accessing a link in a tooltip is not easy. It's reasonable to expect that known issues would be linked on the builders page. Add a column with links there to make it so. For golang/go#42405. Change-Id: I5e915132f2ca05efc69bc76da1f25b897569be5d Reviewed-on: https://go-review.googlesource.com/c/build/+/370335 Trust: Dmitri Shuralyov <[email protected]> Run-TryBot: Dmitri Shuralyov <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 09d1af2 commit f1ed2d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/coordinator/builders.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,14 @@ var buildersTmpl = template.Must(template.New("builders").Funcs(template.FuncMap
9292
<h2 id='builders'>Defined Builders</h2>
9393
9494
<table>
95-
<thead><tr><th>name</th><th>pool</th><th>owners</th><th>notes</th></tr>
95+
<thead><tr><th>name</th><th>pool</th><th>owners</th><th>known issue</th><th>notes</th></tr>
9696
</thead>
9797
{{range .Builders}}
9898
<tr>
9999
<td>{{.Name}}</td>
100100
<td><a href='#{{.HostType}}'>{{.HostType}}</a></td>
101101
<td>{{builderOwners .}}</td>
102+
<td>{{with .KnownIssue}}<a href="https://go.dev/issue/{{.}}" title="This builder has a known issue. See go.dev/issue/{{.}}.">#{{.}}</a>{{end}}</td>
102103
<td>{{.Notes}}</td>
103104
</tr>
104105
{{end}}

0 commit comments

Comments
 (0)