@@ -53,23 +53,25 @@ const (
5353 issueBodyTemplate = `
5454Auto-generated report for ${jobName} job build.
5555
56- Link to failed build : ${linkToBuild}
56+ Failing job(s) : ${linkToBuild}
5757Commit: ${commit}
5858PR: ${prNumber}
5959
6060### Component(s)
6161${component}
6262
63+ The following tests failed:
6364${failedTests}
6465
6566**Note**: Information about any subsequent build failures that happen while
6667this issue is open, will be added as comments with more information to this issue.
6768`
6869 issueCommentTemplate = `
69- Link to latest failed build : ${linkToBuild}
70+ Failing job(s) : ${linkToBuild}
7071Commit: ${commit}
7172PR: ${prNumber}
7273
74+ The following tests failed:
7375${failedTests}
7476`
7577 prCommentTemplate = `@${prAuthor} some tests are failing on main after these changes.
@@ -330,7 +332,7 @@ func (c *Client) getFailedJobURLs(ctx context.Context, runID int64) (map[string]
330332 return nil , err
331333 }
332334 for _ , job := range jobs .Jobs {
333- if job .GetConclusion () == "failure" || job . GetConclusion () == "timed_out" {
335+ if job .GetConclusion () == "failure" {
334336 failedJobs [job .GetName ()] = job .GetHTMLURL ()
335337 }
336338 }
@@ -531,7 +533,7 @@ func (c *Client) CreateIssue(ctx context.Context, r report.Report) *github.Issue
531533 c .handleBadResponses (response )
532534 }
533535
534- // After creating the issue, also comment on the PR with a link to the created issue
536+ // After creating the issue, also comment on the PR with a link to the created issue
535537 if prNumber > 0 && issue != nil && issue .HTMLURL != nil {
536538 if prAuthor := c .GetPRAuthor (ctx , prNumber ); prAuthor != "" {
537539 _ = c .CommentOnPR (ctx , prNumber , prAuthor , * issue .HTMLURL )
0 commit comments