-
Notifications
You must be signed in to change notification settings - Fork 14
Migrate SSI Appsec test definitions from decorators to manifest files #6134
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
Migrate SSI Appsec test definitions from decorators to manifest files #6134
Conversation
|
|
| @irrelevant( | ||
| context.library > "[email protected]" and context.installed_language_runtime < "3.9.0", | ||
| reason="python 3.8 is not supported on ddtrace >= 3.x", | ||
| context.library == "python" and context.installed_language_runtime < "3.9.0", reason="Python 3.9+ required" |
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.
@robertomonteromiguel if we are not testing anymore python version lower than 3.9, would it possible to simply remove those from the test matrix used in CI ?
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.
The Python tracer dropped support for Python 3.8 starting with tracer version 4.0, but there are still many clients using 3.x versions of the tracer, so I’m not sure whether we should keep some tests for 3.8 just in case?
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.
Tests are still being triggered for the Python tracer 2.x and 3.x branches. I think we should add a condition here to ensure the tests also pass for those branches.
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.
PR updated with your suggestions ;)
robertomonteromiguel
left a comment
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.
Only the decorators part for the Python tracer 2.x/3.x branches needs attention. Everything else LGTM.
| @irrelevant( | ||
| context.library > "[email protected]" and context.installed_language_runtime < "3.9.0", | ||
| reason="python 3.8 is not supported on ddtrace >= 3.x", | ||
| context.library == "python" and context.installed_language_runtime < "3.9.0", reason="Python 3.9+ required" |
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.
Tests are still being triggered for the Python tracer 2.x and 3.x branches. I think we should add a condition here to ensure the tests also pass for those branches.
Migrates the test activation/deactivation logic for SSI and auto-inject Appsec tests from decorators to language manifest files. This aligns with the system-tests best practice of managing language-specific test configurations in manifest files rather than in-line decorators