Skip to content

[php] Add symfony framework#7193

Draft
estringana wants to merge 10 commits into
mainfrom
estringana/symfony
Draft

[php] Add symfony framework#7193
estringana wants to merge 10 commits into
mainfrom
estringana/symfony

Conversation

@estringana

Copy link
Copy Markdown
Contributor

Motivation

Changes

Workflow

  1. ⚠️ Create your PR as draft ⚠️
  2. Work on you PR until the CI passes
  3. Mark it as ready for review
    • Test logic is modified? -> Get a review from RFC owner.
    • Framework is modified, or non obvious usage of it -> get a review from R&P team

🚀 Once your PR is reviewed and the CI green, you can merge it!

🛟 #apm-shared-testing 🛟

Reviewer checklist

  • Anything but tests/ or manifests/ is modified ? I have the approval from R&P team
  • A docker base image is modified?
    • the relevant build-XXX-image label is present
  • A scenario is added, removed or renamed?

@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

utils/build/docker/php/symfony7x.Dockerfile                             @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/.apache.conf                   @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/Acme/composer.json             @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/Acme/src/Acme.php              @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/bin/console                    @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/bin/init-db.php                @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/composer.json                  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/config/bundles.php             @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/config/packages/doctrine.yaml  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/config/packages/framework.yaml  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/config/packages/security.yaml  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/config/routes.yaml             @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/config/services.yaml           @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/public/.htaccess               @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/public/index.php               @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/src/Controller/AppController.php  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/src/Controller/LoginController.php  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/src/Entity/User.php            @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/src/Kernel.php                 @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/src/Repository/UserRepository.php  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/src/Security/AppAuthenticator.php  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/src/Security/User.php          @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/src/Security/UserProvider.php  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/symfony7x/var/cache/.gitkeep             @DataDog/apm-php @DataDog/system-tests-core
docs/execute/build.md                                                   @DataDog/system-tests-core
manifests/php.yml                                                       @DataDog/apm-php @DataDog/asm-php
tests/appsec/test_automated_login_events.py                             @DataDog/asm-libraries @DataDog/system-tests-core

@datadog-system-tests-org

datadog-system-tests-org Bot commented Jun 22, 2026

Copy link
Copy Markdown

Pipelines

⚠️ Warnings

🚦 61 Pipeline jobs failed

Testing the test | System Tests (golang, prod) / parametric / parametric (1)   View in Datadog   GitHub Actions

Testing the test | System Tests (php, dev) / End-to-end #1 / apache-mod-7.2-zts 1   View in Datadog   GitHub Actions

Testing the test | System Tests (php, dev) / End-to-end #1 / laravel11x 1   View in Datadog   GitHub Actions

View all 61 failed jobs.

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 6c14076 | Docs | Give us feedback!

@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Jun 22, 2026

Copy link
Copy Markdown

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 7 Pipeline jobs failed

Testing the test | System Tests (golang, dev) / End-to-end #2 / echo 2   View in Datadog   GitHub Actions

🧪 1 Test failed

tests.ffe.test_flag_eval_evp.Test_FFE_EVP_Flagevaluation_Degradation.test_ffe_evp_flagevaluation_degradation[echo] from system_tests_suite   View in Datadog
AssertionError: Timed out waiting for EVP flagevaluation count >= 12000 for flag evp-degradation-flag
assert False
 +  where False = <bound method ProxyBasedInterfaceValidator.wait_for of AgentInterfaceValidator('agent')>(<function wait_for_evp_flagevaluation_count.<locals>.<lambda> at 0x7f13feb658a0>, timeout=60)
 +    where <bound method ProxyBasedInterfaceValidator.wait_for of AgentInterfaceValidator('agent')> = AgentInterfaceValidator('agent').wait_for
 +      where AgentInterfaceValidator('agent') = interfaces.agent

self = <tests.ffe.test_flag_eval_evp.Test_FFE_EVP_Flagevaluation_Degradation object at 0x7f1431ffdd90>

    def test_ffe_evp_flagevaluation_degradation(self) -> None:
        for index, response in enumerate(self.responses):
...

Testing the test | System Tests (php, dev) / End-to-end #2 / symfony7x 2   View in Datadog   GitHub Actions

🧪 2 Tests failed

tests.appsec.test_automated_login_events.Test_V3_Login_Events_Anon.test_signup_local[symfony7x] from system_tests_suite   View in Datadog
AssertionError: assert 'anon_3de740d...699424c130847' == 'anon_6724757...ec57003bf7b3e'
  - anon_6724757d2d9a8113ec9ec57003bf7b3e
  + anon_3de740d12dc67b5b1db699424c130847

self = <tests.appsec.test_automated_login_events.Test_V3_Login_Events_Anon object at 0x7f368c207ad0>

    def test_signup_local(self):
        assert self.r_success.status_code == 200
        for _, _, span in interfaces.library.get_spans(request=self.r_success):
            assert_priority(span)
...
tests.appsec.test_automated_login_events.Test_V3_Login_Events.test_signup_local[symfony7x] from system_tests_suite   View in Datadog
AssertionError: assert 'testnew' == 'new-user'
  - new-user
  + testnew

self = <tests.appsec.test_automated_login_events.Test_V3_Login_Events object at 0x7fea58395190>

    def test_signup_local(self):
        assert self.r_success.status_code == 200
        for _, _, span in interfaces.library.get_spans(request=self.r_success):
            assert_priority(span)
...

Testing the test | System Tests (php, prod) / End-to-end #2 / symfony7x 2   View in Datadog   GitHub Actions

🧪 2 Tests failed

tests.appsec.test_automated_login_events.Test_V3_Login_Events_Anon.test_signup_local[symfony7x] from system_tests_suite   View in Datadog
AssertionError: assert 'anon_3de740d...699424c130847' == 'anon_6724757...ec57003bf7b3e'
  - anon_6724757d2d9a8113ec9ec57003bf7b3e
  + anon_3de740d12dc67b5b1db699424c130847

self = <tests.appsec.test_automated_login_events.Test_V3_Login_Events_Anon object at 0x7f0e51e2e390>

    def test_signup_local(self):
        assert self.r_success.status_code == 200
        for _, _, span in interfaces.library.get_spans(request=self.r_success):
            assert_priority(span)
...
tests.appsec.test_automated_login_events.Test_V3_Login_Events.test_signup_local[symfony7x] from system_tests_suite   View in Datadog
AssertionError: assert 'testnew' == 'new-user'
  - new-user
  + testnew

self = <tests.appsec.test_automated_login_events.Test_V3_Login_Events object at 0x7f9cf41089b0>

    def test_signup_local(self):
        assert self.r_success.status_code == 200
        for _, _, span in interfaces.library.get_spans(request=self.r_success):
            assert_priority(span)
...

View all 7 failed jobs.

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: ac7cac8 | Docs | Datadog PR Page | Give us feedback!

@estringana estringana changed the title Estringana/symfony [php] Add symfony framework Jun 25, 2026
@estringana estringana force-pushed the estringana/symfony branch 2 times, most recently from 421f8d9 to acc6539 Compare June 25, 2026 13:31
@estringana estringana changed the base branch from main to estringana/add-laravel-weblog June 25, 2026 14:51
@estringana estringana force-pushed the estringana/add-laravel-weblog branch 2 times, most recently from 3c04eef to 8eb08bc Compare June 29, 2026 15:15
Base automatically changed from estringana/add-laravel-weblog to main June 30, 2026 08:57
@estringana estringana force-pushed the estringana/symfony branch from 7cb8e54 to c0e235b Compare June 30, 2026 08:59
estringana and others added 2 commits June 30, 2026 16:11
Use function_exists() to call either the public automated tracking
functions (dd-trace-php 1.23+) or the internal equivalents (1.20-1.22),
so login/signup events are tracked explicitly in both CI and local builds.

Revert makeDistantCall from HttpClient to curl to preserve http.url span tag.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant