Skip to content

Commit d074347

Browse files
craig[bot]herkolategan
craig[bot]
andcommittedApr 2, 2025
Merge #143734
143734: bazci, roachtest: github template parameter r=DarrylWong,rickystewart a=herkolategan Adding a template parameter to the GitHub issue creation URL is required to be able to view the rendered template on GitHub, otherwise it just takes you to the template selection page. Epic: None Release note: None Co-authored-by: Herko Lategan <[email protected]>
2 parents bbaf1b3 + 110cc19 commit d074347

File tree

51 files changed

+57
-49
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+57
-49
lines changed
 

‎pkg/cmd/bazci/githubpost/issues/issues_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,10 @@ func ghURL(t *testing.T, title, body string) string {
499499
q := u.Query()
500500
q.Add("title", title)
501501
q.Add("body", body)
502+
// Adding a template parameter is required to be able to view the rendered
503+
// template on GitHub, otherwise it just takes you to the template selection
504+
// page.
505+
q.Add("template", "none")
502506
u.RawQuery = q.Encode()
503507
return u.String()
504508
}

‎pkg/cmd/bazci/githubpost/issues/testdata/post/failure-engflow-matching-issue.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachl
2727
</sub>
2828

2929

30-
Rendered: https://github.com/cockroachdb/cockroach/issues/new?body=storage.TestReplicateQueueRebalance+%5Bfailed%5D%28https%3A%2F%2Ffake.cluster.engflow.com%2Finvocations%2Fdefault%2Ffake-invocation-id%3FtestReportRun%3D2%26testReportShard%3D3%26testReportAttempt%3D1%23targets-Ly90aGUvZmFrZS9sYWJlbDpsYWJlbF90ZXN0%29+on+release-0.1+%40+%5Babcd123%5D%28https%3A%2F%2Fgithub.com%2Fcockroachdb%2Fcockroach%2Fcommits%2Fabcd123%29%3A%0A%0A%0A%60%60%60%0A%09%3Cautogenerated%3E%3A12%3A+storage%2Freplicate_queue_test.go%3A103%2C+condition+failed+to+evaluate+within+45s%3A+not+balanced%3A+%5B10+1+10+1+8%5D%0A%60%60%60%0A%0AParameters%3A%0A+-+%3Ccode%3EROACHTEST_cloud%3Dgce%3C%2Fcode%3E%0A%3Cdetails%3E%3Csummary%3EHelp%3C%2Fsummary%3E%0A%3Cp%3E%0A%0ASee+also%3A+%5BHow+To+Investigate+a+Go+Test+Failure+%5C%28internal%5C%29%5D%28https%3A%2F%2Fcockroachlabs.atlassian.net%2Fl%2Fc%2FHgfXfJgM%29%0A%3C%2Fp%3E%0A%3C%2Fdetails%3E%0A%3Csub%3E%0A%0A%5BThis+test+on+roachdash%5D%28https%3A%2F%2Froachdash.crdb.dev%2F%3Ffilter%3Dstatus%3Aopen%2520t%3A.%2ATestReplicateQueueRebalance.%2A%26sort%3Dtitle%2Bcreated%26display%3Dlastcommented%2Bproject%29+%7C+%5BImprove+this+report%21%5D%28https%3A%2F%2Fgithub.com%2Fcockroachdb%2Fcockroach%2Ftree%2Fmaster%2Fpkg%2Fcmd%2Fbazci%2Fgithubpost%2Fissues%29%0A%0A%3C%2Fsub%3E%0A&title=%3Ccomment%3E
30+
Rendered: https://github.com/cockroachdb/cockroach/issues/new?body=storage.TestReplicateQueueRebalance+%5Bfailed%5D%28https%3A%2F%2Ffake.cluster.engflow.com%2Finvocations%2Fdefault%2Ffake-invocation-id%3FtestReportRun%3D2%26testReportShard%3D3%26testReportAttempt%3D1%23targets-Ly90aGUvZmFrZS9sYWJlbDpsYWJlbF90ZXN0%29+on+release-0.1+%40+%5Babcd123%5D%28https%3A%2F%2Fgithub.com%2Fcockroachdb%2Fcockroach%2Fcommits%2Fabcd123%29%3A%0A%0A%0A%60%60%60%0A%09%3Cautogenerated%3E%3A12%3A+storage%2Freplicate_queue_test.go%3A103%2C+condition+failed+to+evaluate+within+45s%3A+not+balanced%3A+%5B10+1+10+1+8%5D%0A%60%60%60%0A%0AParameters%3A%0A+-+%3Ccode%3EROACHTEST_cloud%3Dgce%3C%2Fcode%3E%0A%3Cdetails%3E%3Csummary%3EHelp%3C%2Fsummary%3E%0A%3Cp%3E%0A%0ASee+also%3A+%5BHow+To+Investigate+a+Go+Test+Failure+%5C%28internal%5C%29%5D%28https%3A%2F%2Fcockroachlabs.atlassian.net%2Fl%2Fc%2FHgfXfJgM%29%0A%3C%2Fp%3E%0A%3C%2Fdetails%3E%0A%3Csub%3E%0A%0A%5BThis+test+on+roachdash%5D%28https%3A%2F%2Froachdash.crdb.dev%2F%3Ffilter%3Dstatus%3Aopen%2520t%3A.%2ATestReplicateQueueRebalance.%2A%26sort%3Dtitle%2Bcreated%26display%3Dlastcommented%2Bproject%29+%7C+%5BImprove+this+report%21%5D%28https%3A%2F%2Fgithub.com%2Fcockroachdb%2Fcockroach%2Ftree%2Fmaster%2Fpkg%2Fcmd%2Fbazci%2Fgithubpost%2Fissues%29%0A%0A%3C%2Fsub%3E%0A&template=none&title=%3Ccomment%3E
3131
----
3232
----

0 commit comments

Comments
 (0)