aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/dashapi/dashapi.go
Commit message (Collapse)AuthorAgeFilesLines
* dashboard/app: implement bug notifications/actionsDmitry Vyukov2019-02-221-9/+60
| | | | | | | | | | | | | | | | Currently dashboard can only report new bugs and add reproducers to already reported bugs. This change adds infrastructure for the dashboard to actively act on existing bugs in different ways. 4 new notifications (actions) added: - dashboard can auto-upstream bugs from moderation after an embargo period - dashboard can auto-upstream bugs if reporting criteria changes (e.g. it reported a bug into moderation because there was no repro, but then repro appears and the bug is automatically sent upstream) - dashboard detects when a fixing commit does not appear in any tested trees for too long and sends a notification about this - dashboard detects stale bugs (last happened monts ago, no repro, no activity) and auto-invalidates them This will also be useful to send pings for old bugs and do other automation.
* dashboard/app: poll commits infoDmitry Vyukov2019-02-171-4/+35
| | | | | | | | | | | | | | | This implements 2 features: - syz-ci polls a set of additional repos to discover fixing commits sooner (e.g. it can now discover a fixing commit in netfilter tree before it reaches any of the tested trees). - syz-ci uploads info about commits to dashboard. For example, a user marks a bug as fixed by commit "foo: bar". syz-ci will find this commit in the main namespace repo and upload commmit hash/date/author to dashboard. This in turn allows to show links to fixing commits. Fixes #691 Fixes #610
* dashboard/dashapi: remove unused typeDmitry Vyukov2019-02-141-5/+0
| | | | | Stray change in the previous commit. This unbreaks CI build.
* dashboard/app: remove unused functionDmitry Vyukov2019-02-131-0/+5
|
* dashboard/app: refactor testsDmitry Vyukov2018-06-111-29/+88
| | | | | | | Use standard dashboard client provided by dashapi package in tests. Switch everything to use the client instead of API method. Fixes #606
* gometalinter: enable package comment checkingDmitry Vyukov2018-05-031-1/+1
| | | | Update #538
* dashboard/app: use links instead of attachments in emailsDmitry Vyukov2018-03-251-0/+7
| | | | | As per discussion at: https://groups.google.com/d/msg/syzkaller/zYlQ-b-QPHQ/AJzpeObcBAAJ
* all: fix gometalinter warningsDmitry Vyukov2018-03-081-1/+1
| | | | Fix typos, non-canonical code, remove dead code, etc.
* dashboard/app: switch API to passing args as form-encoded valuesDmitry Vyukov2018-03-081-25/+10
| | | | This is slightly more secure and does not pollute URLs.
* dashboard/app: improve report formatDmitry Vyukov2018-01-171-0/+2
| | | | | | | | | - show kernel repo alias - show commit title/date - say how many times the crash happened/where - some minor tweaks Fixes #468
* dashboard/app: collect more info for better reportsDmitry Vyukov2018-01-171-35/+40
| | | | | | | | | | | | Collect kernel build commit title/date. Add support for kernel repo aliases (to be able to say linux-next instead of full git repo address). Collect on what managers a bug happened. Reuse Crash.ReportLen as generic crash reporting priority. Make it possible to prioritize reporting of particular kernel repos and arches. Fixes #473
* dashboard/app: remember what crashes we reported for what bugsDmitry Vyukov2018-01-161-0/+2
| | | | | | | | We currently can silently switch crashes when report to the next reporting, or test a patch using a repro from a different crash. Remember what crash we reported for a bug and use it in both cases.
* dashboard/app: extract fixing tags from commitsDmitry Vyukov2017-12-271-4/+13
| | | | | | | | | | | | | Support the new scheme of associating fixing commits with bugs. Now we provide a tag along the lines of: Reported-by: <syzbot+a4a91f6fc35e102@syzkaller.appspotmail.com> The tag is supposed to be added to the commit. Then we parse commit logs and extract these tags. The final part on the dashboard is not ready yet, but syz-ci should already parse and send the tags.
* dashboard/app: add API for polling for closed bugsDmitry Vyukov2017-12-191-2/+10
| | | | | | External reporting may need to know when dashboard is not interested in bugs anymore. Add API that returns list of bugs dashboard considers closed.
* syz-manager: send public web addr to dashboardDmitry Vyukov2017-12-041-0/+2
|
* dashboard/app: add manager monitoringDmitry Vyukov2017-12-011-0/+18
| | | | | | | | Make it possible to monitor health and operation of all managers from dashboard. 1. Notify dashboard about internal syz-ci errors (currently we don't know when/if they happen). 2. Send statistics from managers to dashboard.
* syz-ci: test images before using themDmitry Vyukov2017-11-301-0/+9
| | | | | | | Boot and minimally test images before declaring them as good and switching to using them. If image build/boot/test fails, upload report about this to dashboard.
* dashboard/app: support corrupted reportsDmitry Vyukov2017-11-221-2/+3
|
* syz-manager: send corrupted flag to dashboardDmitry Vyukov2017-11-211-0/+1
|
* dashboard/app: test fix patches by requestDmitry Vyukov2017-11-161-0/+51
| | | | | | | Add initial support for testing fix patches. A user on mailing list can request patch testing with: and attach a patch.
* dashboard/app: pass namespace in bug reportsDmitry Vyukov2017-11-061-0/+1
| | | | | Namespace can be used for some customization in external reporter.
* dashboard/app: better errors from bug update commandDmitry Vyukov2017-10-231-2/+6
| | | | | | | | Provide better errors from bug update command. In particular, distinguish between bad updates and internal errors. Also better messages. Allow duping onto closed bugs. Don't allow unduping from closed bugs.
* dashboard/app, syz-ci: upload target OS/arch to dashboardDmitry Vyukov2017-09-191-0/+6
|
* dashboard/app: heavylifting of email reportingDmitry Vyukov2017-08-171-1/+6
| | | | | | | | | - 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
* dashboard/app: various improvements/fixes for email reportingDmitry Vyukov2017-08-111-0/+1
| | | | | | | 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.
* dashboard/app: tell managers when dashboard needs a reproDmitry Vyukov2017-08-101-7/+24
| | | | | | 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.
* dashboard/dashapi: add support for bug fixing commitsDmitry Vyukov2017-07-271-0/+25
|
* dashboard/dashapi: always zero replyDmitry Vyukov2017-07-251-0/+11
| | | | | | | | 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.
* dashboard/dashapi: add link to BugUpdate and BugUpdateReply typeDmitry Vyukov2017-07-251-1/+7
|
* dashboard/dashapi: don't send manager name in crashesDmitry Vyukov2017-07-251-1/+0
| | | | We already have manager name in Build and Crash references Build.
* dashboard/dashapi: add customizable Qeury functionDmitry Vyukov2017-07-211-6/+16
| | | | | Query is useful for tests and other contexts where non-standard request creation/sending is necessary.
* syz-ci: extend dashboard interfaceDmitry Vyukov2017-07-211-2/+69
| | | | | | 1. Add manager name to builds. 2. Add centralized logging. 3. Add types for bug reports and bug updates.
* dashboard/dashapi: add API for new dashboardDmitry Vyukov2017-06-301-0/+132