aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/label.go
Commit message (Collapse)AuthorAgeFilesLines
* dashboard/app: add race harmfullness labelDmitry Vyukov2026-01-131-4/+17
| | | | | Add race:harmful/benign label. Set it automatically by confirmed AI jobs.
* all: use any instead of interface{}Dmitry Vyukov2025-12-221-2/+2
| | | | Any is the preferred over interface{} now in Go.
* all: fix up context import after go fixDmitry Vyukov2024-04-261-2/+1
|
* all: go fix everythingDmitry Vyukov2024-04-261-1/+1
|
* dashboard: remove too granular config helpersAleksandr Nogikh2023-10-121-1/+1
| | | | | Now that we mock the config as a whole and not parts of it, these functions have boiled down to 1-liners. We don't need them anymore.
* dashboard: introduce a getNsConfig() helperAleksandr Nogikh2023-10-121-1/+1
| | | | | In many cases we want to just access the namespaces's config. Introduce a special helper function to keep code shorter and more conscise.
* 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: order bugs in a report by their priorityAleksandr Nogikh2023-07-061-1/+30
| | | | | Display high prio bugs on top of the list and low prio bugs at the bottom.
* dashboard: determine bug origin trees and missing backportsAleksandr Nogikh2023-04-281-6/+33
| | | | | | | | | | | | | | | Run reproducers on other trees in order to determine 1) Trees where a bug originates (i.e. the reproducer can trigger a bug in none of the further trees, from which commits flow). 2) Trees, to which the bug has already spread (i.e. the reproducer works on none of the trees that receive commits from the current one). 3) The abscence of a backport (= the reproducer used to work on some upstream tree and then stopped). For (1) the bot assigns the LabelIntroduced from KernelRepo. For (2) -- the value of LabelReached. For better understanding see sample configs in tree_test.go.
* dashboard: support bug labelsAleksandr Nogikh2023-04-271-0/+198
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