diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-05-17 18:18:03 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-05-25 14:59:38 +0200 |
| commit | 6b7e906bb1dbb3bd49f58b79b00ea928ade236ba (patch) | |
| tree | c67d1af43b9c80aa5ace62c040f8165fff843da4 /dashboard/app/app_test.go | |
| parent | ed3c42cc79baba7bc8e90ff1f7d56103509d4d9d (diff) | |
dashboard: send per-label notifications
If the label is not user-set and the config specifies a message for it,
send a bug notification.
If the label is related to bug origin testing, attach the list of tested
trees.
Diffstat (limited to 'dashboard/app/app_test.go')
| -rw-r--r-- | dashboard/app/app_test.go | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dashboard/app/app_test.go b/dashboard/app/app_test.go index 3ffe322ea..537f653b4 100644 --- a/dashboard/app/app_test.go +++ b/dashboard/app/app_test.go @@ -510,6 +510,45 @@ var testConfig = &GlobalConfig{ }, }, }, + "tree-tests": { + AccessLevel: AccessPublic, + Key: "treeteststreeteststreeteststreeteststreeteststreetests", + Clients: map[string]string{ + clientTreeTests: keyTreeTests, + }, + Repos: []KernelRepo{ + { + URL: "git://syzkaller.org/test.git", + Branch: "main", + Alias: "main", + DetectMissingBackports: true, + }, + }, + Reporting: []Reporting{ + { + AccessLevel: AccessUser, + Name: "non-public", + DailyLimit: 1000, + Filter: func(bug *Bug) FilterResult { + return FilterReport + }, + Config: &TestConfig{Index: 1}, + }, + { + AccessLevel: AccessPublic, + Name: "public", + DailyLimit: 1000, + Config: &EmailConfig{ + Email: "bugs@syzkaller.com", + SubjectPrefix: "[syzbot]", + }, + Labels: map[string]string{ + "origin:downstream": "Bug presence analysis results: the bug reproduces only on the downstream tree.", + }, + }, + }, + FindBugOriginTrees: true, + }, }, } @@ -558,6 +597,8 @@ const ( keyMgrDecommission = "keyMgrDecommissionkeyMgrDecommission" clientSubsystemRemind = "client-subystem-reminders" keySubsystemRemind = "keySubsystemRemindkeySubsystemRemind" + clientTreeTests = "clientTreeTestsclientTreeTests" + keyTreeTests = "keyTreeTestskeyTreeTestskeyTreeTests" restrictedManager = "restricted-manager" noFixBisectionManager = "no-fix-bisection-manager" |
