From 30f26a32ed7339fe166aabaf1b79e436fceb4de9 Mon Sep 17 00:00:00 2001 From: Ice3man Date: Mon, 5 Dec 2022 23:07:38 +0530 Subject: [PATCH 1/2] Do not consider fuzzing template during clustering --- v2/pkg/protocols/http/cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/pkg/protocols/http/cluster.go b/v2/pkg/protocols/http/cluster.go index 61915bf58b..c50fb49dce 100644 --- a/v2/pkg/protocols/http/cluster.go +++ b/v2/pkg/protocols/http/cluster.go @@ -10,7 +10,7 @@ import ( // are similar enough to be considered one and can be checked by // just adding the matcher/extractors for the request and the correct IDs. func (request *Request) CanCluster(other *Request) bool { - if len(request.Payloads) > 0 || len(request.Raw) > 0 || len(request.Body) > 0 || request.Unsafe || request.NeedsRequestCondition() || request.Name != "" { + if len(request.Payloads) > 0 || len(request.Fuzzing) > 0 || len(request.Raw) > 0 || len(request.Body) > 0 || request.Unsafe || request.NeedsRequestCondition() || request.Name != "" { return false } if request.Method != other.Method || From 2230e0be49fe26561ccb070c31c1b19572f9bf39 Mon Sep 17 00:00:00 2001 From: sandeep <8293321+ehsandeep@users.noreply.github.com> Date: Mon, 5 Dec 2022 23:26:25 +0530 Subject: [PATCH 2/2] misc workflow update --- .github/workflows/build-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 2e5270241e..2a2b0f576f 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -4,6 +4,7 @@ on: pull_request: paths: - '**.go' + - 'v2/' workflow_dispatch: jobs: