Commit Graph

471 Commits

Author SHA1 Message Date
Dmitry Vyukov
172189e955 dashboard/app: heavylifting of email reporting
- save Message-ID and use In-Reply-To in subsequent messages
- remember additional CC entries added manually
- don't mail to maintainers if maintainers list is empty
- improve mail formatting and add a footer
- implement upstream/fix/dup/invalid commands over email
- add tests
2017-08-17 19:42:11 +02:00
Dmitry Vyukov
c34b3819ce dashboard/app: various improvements/fixes for email reporting
Detect when we send first/non-first email for a bug.
Detect when we send moderation/non-moderation email for a bug.
Fix setting repro level in email reports.
Add end-to-end email reporting tests.
2017-08-11 18:33:31 +02:00
Dmitry Vyukov
125de3e4eb dashboard/app: fix build again 2017-08-10 19:34:38 +02:00
Dmitry Vyukov
0327584e99 dashboard/app: tell managers when dashboard needs a repro
Managers can't decide when a repro is required.
First, there can be bugs with seq>0.
Second, a repro can be already obtained on another manager.
2017-08-10 19:29:42 +02:00
Dmitry Vyukov
89e74d8ccb dashboard/app: don't print resource for log records
The resource is not informative in this case.
2017-08-10 19:28:37 +02:00
Dmitry Vyukov
32e992a642 dashboard/app: show syzkaller commit for crashes 2017-08-10 13:23:42 +02:00
Dmitry Vyukov
1db36864e9 dashboard/app: fix build 2017-08-08 17:40:52 +02:00
Dmitry Vyukov
3aabbf13cf dashboard/app: output more info about crashes 2017-08-08 14:31:39 +02:00
Dmitry Vyukov
d23bf3250e dashboard/app: fix report_failed_repro api call
We are seeing the following errors in this handler:
cross-group transaction need to be explicitly specified, see TransactionOptions.Builder.withXG
2017-08-04 19:19:43 +02:00
Dmitry Vyukov
44347e8742 dashboard/app: purge at most 10 crashes at once
We see some episodic
"failed to delete old crash texts: Call error 11: Deadline exceeded (timeout)"
errors in logs.
Deleting at most 10 bugs should be enough since we do this check
after adding each new crash.
2017-08-02 16:37:42 +02:00
Dmitry Vyukov
61d1beb284 dashboard/app: new dashboard app
The new app is based on our experience with syz-dash
and is meant to supersede it. This app aims at full
automation of bug lifecycle: reporting, tracking updates,
closing fixed bugs.
The main differences are:
 - this app has support for reporting bugs
   either by email or using an arbitrary external reporting system
 - this app tracks status of bugs
 - this app captures more info about kernel builds
2017-08-02 15:11:03 +02:00
Dmitry Vyukov
75342d238b dashboard/dashapi: add support for bug fixing commits 2017-07-27 17:02:47 +02:00
Dmitry Vyukov
841aeb0303 dashboard/dashapi: always zero reply
json decoding behavior is somewhat surprising
(see // https://github.com/golang/go/issues/21092).
This behavior is especially easy to hit in tests
that reuse reply objects.
To avoid any surprises, we zero the reply.
2017-07-25 20:25:53 +02:00
Dmitry Vyukov
4f5ad2aa53 dashboard/dashapi: add link to BugUpdate and BugUpdateReply type 2017-07-25 20:25:05 +02:00
Dmitry Vyukov
df92da0d0e dashboard/dashapi: don't send manager name in crashes
We already have manager name in Build and Crash references Build.
2017-07-25 20:23:37 +02:00
Dmitry Vyukov
87f9bdb868 dashboard/dashapi: add customizable Qeury function
Query is useful for tests and other contexts
where non-standard request creation/sending is necessary.
2017-07-21 12:43:09 +02:00
Dmitry Vyukov
0f42bbec24 syz-ci: extend dashboard interface
1. Add manager name to builds.
2. Add centralized logging.
3. Add types for bug reports and bug updates.
2017-07-21 10:06:46 +02:00
Dmitry Vyukov
1b8e07333a dashboard/dashapi: add API for new dashboard 2017-06-30 16:00:09 +02:00
Dmitry Vyukov
9af3153420 syz-dash/dashboard: move from dashboard
Move the old dashboard API into syz-dash
to get it out of the way of the new dashboard.
2017-06-23 15:22:34 +02:00
Dmitry Vyukov
653ec8a64a dashboard: add New function 2017-06-20 19:52:50 +02:00
Dmitry Vyukov
1466d0cb9f manager: add ability to communicate with dashboard
Manager can send crashes and repros to a dashboard app.
Dashboard app is not checked-in yet.
2017-02-17 18:52:07 +01:00