-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standalone billing features, scenarios and tests reorg #4216
base: main
Are you sure you want to change the base?
Conversation
utils/_features.py
Outdated
@@ -2056,7 +2056,7 @@ def iast_standalone_v2(test_object): | |||
return test_object | |||
|
|||
@staticmethod | |||
def sca_standalone(test_object): | |||
def sca_standalone_experimental(test_object): | |||
"""SCA Standalone Billing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"""SCA Standalone Billing | |
"""Experimental SCA Standalone Billing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
@@ -808,6 +808,7 @@ tests/: | |||
'*': v1.45.0 | |||
spring-boot-3-native: missing_feature (GraalVM. Tracing support only) | |||
# SQLi was introduced in v1.38.0 (with RASP disabled by default, but was flaky) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's from the linter...
@@ -201,6 +201,7 @@ tests/: | |||
Test_Parametric_DDTrace_Current_Span: incomplete_test_app (current_span endpoint is not implemented) | |||
Test_Parametric_DDTrace_Extract_Headers: v1.0.1.dev | |||
# cpp tracer does not support the OpenTelemetry API, otel parametric endpoints are not implemented | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one also (./format.sh
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I've left some minor comments
appsec_standalone_v2 = EndToEndScenario( | ||
"APPSEC_STANDALONE_V2", | ||
appsec_standalone_experimental = EndToEndScenario( | ||
"APPSEC_STANDALONE_EXPERIMENTAL", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renaming scenario is dangerous, you need to crawl all CI to verify that they do not refer to it, and update them if needed.
Two good enough solution for that issue :
- do not rename scenarios : it's just names
- rename, but handle in
run.sh
legacy names , see line 378
Motivation
Standalone billing feature naming was confusing. the V2 is meant to be the official first release, while the previous V1 was an experimental feature.
Changes
Renamed original standalone billing as Experimental, and the new V2 as no suffix or prefix.
Workflow
codeowners
file quickly.🚀 Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist
[<language>]
, double-check that only<language>
is impacted by the changebuild-XXX-image
label is present