aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/main_test.go
Commit message (Collapse)AuthorAgeFilesLines
* dashboard: support manual reproduction requestsAleksandr Nogikh2024-06-251-0/+20
| | | | | | | As it is problematic to set up automatic bidirectional sharing of reproducer files between namespaces, let's support the ability to manually request a reproduction attempt on a specific syz-manager instance. That should help in the time being.
* all: fix up context import after go fixDmitry Vyukov2024-04-261-1/+1
|
* all: go fix everythingDmitry Vyukov2024-04-261-1/+1
|
* dashboard: serve per-manager pagesAleksandr Nogikh2023-12-131-0/+60
| | | | Display last 500 successful builds for every manager.
* dashboard: throttle incoming requestsAleksandr Nogikh2023-11-031-0/+51
| | | | | To ensure service stability, let's rate limit incoming requests to our web endpoints.
* dashboard: access config through contextAleksandr Nogikh2023-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | | We used to have a single global `config` variable and access it throughout the whole dashboard application. However, this approach has been more and more complicated test writing -- sometimes we want the config to be only slightly different, so that it's not worth it adding new namespaces, sometimes we have to test how dashboard handles config changes over time. This has already led to a number of hacky contextWithXXX methods that mocked various parts of the global variable. The rest of the code had to sometimes still use `config` directly and sometimes invoke getXXX(c) methods. This is very inconsistent and prone to errors. With more and more situations where we need to patch the config appearing (see #4118), let's refactor the application to always access config via the getConfig(c) method. This allows us to uniformly patch the config and be sure that the non-patched copy is not accessible from anywhere else.
* dashboard: support subsystem redirectsAleksandr Nogikh2023-08-081-0/+18
| | | | | | | | There are cases when subsystem names change over time. As we share /namespace/s/name links in our reminder emails, we have to make sure they remain valid. Introduce an old => new name map into the dashboard configuration.
* dashboard: show per-bisect type job lists for adminsAleksandr Nogikh2023-07-171-0/+41
| | | | | Currently we only show running/pending/recent jobs. Let admins also see the list of the latest cause/fix bisections.
* dashboard: support filtering over multiple labelsAleksandr Nogikh2023-05-101-0/+48
| | | | | | For each label, allow only one value to be specified. At the same time, allow multiple different labels (subsystem, origin, prio, etc) be specified together.
* dashboard: support bug labelsAleksandr Nogikh2023-04-271-3/+3
| | | | | | | | | | | | | | | | Let bug labels come in three flavours: 1) Bug labels with multiple values (e.g. `subsystems`). 2) Bug labels with only one value (e.g. `prio`). 3) Flags. Let users configure bug labels via email by issuing the following commands: #syz set subsystems: abc, def #syz set no-reminders #syz unset no-reminders Also let users set tags for invididual bugs in reported bug lists: #syz set <1> some-tag
* dashboard: filter by no subsystemsAleksandr Nogikh2023-02-221-0/+6
| | | | | Count the number of bugs without any subsystem and let users filter bugs by this criteria.
* dashboard: hide empty subsystems from listAleksandr Nogikh2023-02-221-0/+5
| | | | Add a link to show everything.
* dashboard: introduce a subsystem pageAleksandr Nogikh2023-02-211-0/+26
| | | | | Display the list of open bugs, subsystem info and stats there. Make the URL look nice, e.g. /upstream/s/fs
* dashboard: display the subsystem listAleksandr Nogikh2023-02-171-0/+27
| | | | Take the counts from the cache, include links to the filtered bug views.
* dashboard/app: infer bug subsystems from crashesAleksandr Nogikh2023-02-161-8/+9
| | | | | | After each saved crash, invoke the new pkg/subsystem machinery to infer the subsystem list. Use 5 crashes with biggest priority to base the inference on.
* dashboard: display the list of applied filtersAleksandr Nogikh2023-02-141-0/+26
| | | | | | | Currently it's non obvious whether and what filters are applied to a bug list. Display the list to the user and enable them to drop individual filters.
* dashboard: test subsystem filteringAleksandr Nogikh2023-01-271-0/+81
| | | | | In order to do that, we need to tweak the subsystem extraction code. Use context values, as this should simplify the flow.
* dashboard: support the only_manager filterAleksandr Nogikh2023-01-111-0/+77
The manager= filter limits the dashboard output only to the bugs that happened on the specified manager (but not exclusively there). Introduce the only_manager= filter to only show the bugs that happened ONLY on the specified manager.