Skip to content

Conversation

@avara1986
Copy link
Member

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

@github-actions
Copy link
Contributor

CODEOWNERS have been resolved as:

manifests/cpp_nginx.yml                                                 @DataDog/system-tests-core
manifests/dotnet.yml                                                    @DataDog/apm-dotnet @DataDog/asm-dotnet
manifests/golang.yml                                                    @DataDog/dd-trace-go-guild
manifests/java.yml                                                      @DataDog/asm-java @DataDog/apm-java
manifests/nodejs.yml                                                    @DataDog/dd-trace-js
manifests/php.yml                                                       @DataDog/apm-php @DataDog/asm-php
manifests/python.yml                                                    @DataDog/apm-python @DataDog/asm-python
manifests/ruby.yml                                                      @DataDog/ruby-guild @DataDog/asm-ruby
manifests/rust.yml                                                      @DataDog/apm-rust
tests/auto_inject/test_auto_inject_install.py                           @DataDog/system-tests-core
tests/docker_ssi/test_docker_ssi_appsec.py                              @DataDog/system-tests-core

@avara1986 avara1986 marked this pull request as ready for review January 30, 2026 10:08
@avara1986 avara1986 requested review from a team as code owners January 30, 2026 10:08
@avara1986 avara1986 requested review from christophe-papazian, jandro996 and juanjux and removed request for a team January 30, 2026 10:08
@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"
Copy link
Collaborator

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 ?

Copy link
Member Author

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?

Copy link
Collaborator

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.

Copy link
Member Author

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 ;)

Copy link
Collaborator

@robertomonteromiguel robertomonteromiguel left a 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"
Copy link
Collaborator

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.

@avara1986 avara1986 merged commit 36ce3e5 into main Feb 2, 2026
1949 checks passed
@avara1986 avara1986 deleted the avara1986/APPSEC-60926_restructure_appsec_ssi_tests branch February 2, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants