{{.Config.Name}} has tested the following series

[v{{.Report.Series.Version}}] {{.Report.Series.Title}}
{{.Report.Series.Link}}
{{- range .Report.Series.Patches}}
* {{.Title}}
{{- end}}

{{- if gt (len .Report.Findings) 1 }}

and found the following issues:
{{- range .Report.Findings}}
* {{.Title}}
{{- end}}
{{- else if eq (len .Report.Findings) 1 }}

and found the following issue:
{{ (index .Report.Findings 0).Title }}
{{- else }}

and found no issues.
{{- end }}

Full report is available here:
{{.Report.Link}}

{{- range .Report.Findings}}

***

{{.Title}}

{{if .Build.TreeName -}}
tree:      {{.Build.TreeName}}
{{- end}}
{{- if .Build.TreeURL}}
URL:       {{.Build.TreeURL}}
{{- end}}
base:      {{.Build.BaseCommit}}
{{- if .Build.Arch}}
arch:      {{.Build.Arch}}
{{- end}}
{{- if .Build.Compiler}}
compiler:  {{.Build.Compiler}}
{{- end}}
{{- if .Build.ConfigLink}}
config:    {{.Build.ConfigLink}}
{{- end}}
{{- if .LinkCRepro}}
C repro:   {{.LinkCRepro}}
{{- end}}
{{- if .LinkSyzRepro}}
syz repro: {{.LinkSyzRepro}}
{{- end}}
{{- if and $.Report.Moderation .LinkTriageTrajectory}}
AI triage: {{.LinkTriageTrajectory}}
{{- end}}

{{.Report -}}
{{end}}

{{- if .Config.CreditEmail}}

***

If these findings have caused you to resend the series or submit a
separate fix, please add the following tag to your commit message:
  Tested-by: {{.Config.CreditEmail}} {{- end}}

---
This report is generated by a bot. It may contain errors.
{{- if .Config.DocsLink}}
See {{.Config.DocsLink}} for more information about {{.Config.Name}}.
{{- end}}
{{.Config.Name}} engineers can be reached at {{.Config.SupportEmail}}.
{{- if gt (len .Report.Findings) 0 }}

To test a fix for this bug, please reply with `#syz test`
(on a separate line) and attach the patch to the email.

Notes:
- The patch will be applied on top of the tested series (as an
  incremental fix).
{{- if .Config.DirectList}}
- To test a new version of the whole series, please send it directly
  to {{.Config.DirectList}}.
{{- end}}
- Arguments like custom git repos and branches are not supported.
{{- end }}

{{- if .Report.Moderation}}

The email will later be sent to:
{{.Report.Series.Cc}}

If the report looks fine to you, reply with:
#syz upstream

If the report is a false positive, reply with
#syz invalid
{{end}}
