diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-02-06 19:35:29 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-02-14 13:40:12 +0000 |
| commit | 5b082ecabf223d8f52f6bb9e4acd8ace0bffc902 (patch) | |
| tree | fec57f8b12bd6a583c68c87da9ef66d5c8e4de04 /syz-cluster/workflow/fuzz-step | |
| parent | 1022af749615bfc4e3a305b891449d95d5fc050a (diff) | |
syz-cluster: report series/sessions via API
In the previous version of the code, series-tracker was directly pushing
patch series into the DB and the controller auto-created fuzzing
sessions.
Mediate these via the controller API instead.
Instead of creating Session objects on the fly, pre-create them and
let processor take them one by one.
The approach has multiple
benefits:
1) The same API might be used for the patch series sources other than
LKML.
2) If the existence of Session objects is not a sign that we have
started working on it, it allows for a more precise status display
(not created/waiting/running/finished).
3) We could manually push older patch series and manually trigger
fuzzing sessions to experimentally measure the bug detection rates.
4) The controller tests could be organized only by relying on the API
offered by the component.
Diffstat (limited to 'syz-cluster/workflow/fuzz-step')
| -rw-r--r-- | syz-cluster/workflow/fuzz-step/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syz-cluster/workflow/fuzz-step/main.go b/syz-cluster/workflow/fuzz-step/main.go index 4a07d2718..65e762b9b 100644 --- a/syz-cluster/workflow/fuzz-step/main.go +++ b/syz-cluster/workflow/fuzz-step/main.go @@ -83,7 +83,7 @@ func run(baseCtx context.Context, client *api.Client) error { if err != nil { return fmt.Errorf("failed to load configs: %w", err) } - manager.PatchFocusAreas(patched, series.Patches) + manager.PatchFocusAreas(patched, series.PatchBodies()) eg, ctx := errgroup.WithContext(baseCtx) bugs := make(chan *manager.UniqueBug) |
