[BP 7.1.4] - 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 February 15, 2023 at 11:08 AM

Confirmed that warning is no longer shown on 7.1.4-3596 build.

CB robot January 31, 2023 at 12:10 PM

Build couchbase-server-7.1.4-3574 contains eventing commit 05dc9b5 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:34 AM
Updated February 15, 2023 at 11:08 AM
Resolved January 31, 2023 at 11:25 AM
Instabug