[BP Neo] : FunctionOverload parser resulting in false positives

Description

functionOverload regex results in false positives where it incorrectly flags function names having reserved function names as their prefix. Example:

Here, the regex finds "function createTimer" and falsely determines this to be an overload of the createTimer reserved function.

Similar examples include:

Regression was introduced in 7.1.0 : https://couchbasecloud.atlassian.net/browse/MB-51362

Components

Affects versions

Fix versions

Labels

Environment

None

Link to Log File, atop/blg, CBCollectInfo, Core dump

None

Release Notes Description

None

Activity

Show:

Sujay Gad March 7, 2023 at 9:27 AM

Verified the fix on 7.2.0-5230 build.

CB robot February 2, 2023 at 7:42 AM

Build couchbase-server-7.2.0-5127 contains eventing commit 947980d with commit message:
: Fix functionOverload regex

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Is this a Regression?

Unknown

Triage

Untriaged

Story Points

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created January 20, 2023 at 8:35 AM
Updated March 7, 2023 at 9:27 AM
Resolved February 2, 2023 at 5:30 AM
Instabug