Skip to content

[php] Add laravel weblog#6871

Open
estringana wants to merge 28 commits into
mainfrom
estringana/add-laravel-weblog
Open

[php] Add laravel weblog#6871
estringana wants to merge 28 commits into
mainfrom
estringana/add-laravel-weblog

Conversation

@estringana

@estringana estringana commented May 7, 2026

Copy link
Copy Markdown
Contributor

Motivation

This PR lays the groundwork for multi-framework PHP weblog testing by restructuring the existing plain-PHP weblog and introducing Laravel 11.x as the first framework variant.

  • Restructure existing plain-PHP weblog: Moves the plain-PHP weblog from common/ into weblogs/plain/ to establish a modular weblogs/<framework>/ pattern. common/ is now reserved for truly shared infrastructure (installation scripts, config)
  • New laravel11x Dockerfile (PHP 8.2 + Apache mod)
  • Update php manifest with new laravel11x passing tests: For now the approach has been to ensure all appsec tests pass and those non-appsec tests which did not require a tons of effort. Enabling all non-appsec tests will be required to be own by another team at some other time
  • Refine AppSec tests for multi-weblog robustness
    • test_lfi.py
    • test_automated_login_events.py
    • test_schemas.py

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 May 7, 2026

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

utils/build/docker/php/laravel11x.Dockerfile                            @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/.apache.conf                  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/app/Http/Controllers/LoginController.php  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/app/Models/User.php           @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/app/Providers/AppServiceProvider.php  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/artisan                       @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/bootstrap/app.php             @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/bootstrap/cache/.gitkeep      @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/bootstrap/providers.php       @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/composer.json                 @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/config/auth.php               @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/config/database.php           @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/database/migrations/2014_10_12_000000_create_users_table.php  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/database/seeders/DatabaseSeeder.php  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/database/seeders/UserSeeder.php  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/public/.htaccess              @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/public/index.php              @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/routes/console.php            @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/routes/web.php                @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/storage/app/.gitkeep          @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/storage/app/public/.gitkeep   @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/storage/framework/cache/data/.gitkeep  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/storage/framework/sessions/.gitkeep  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/storage/framework/testing/.gitkeep  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/storage/framework/views/.gitkeep  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/Acme/composer.json                 @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/Acme/src/Acme.php                  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/appsec_compat.php                  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/stub_dbm.php                       @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/rasp/test_lfi.py                                           @DataDog/asm-libraries @DataDog/system-tests-core
tests/appsec/test_automated_login_events.py                             @DataDog/asm-libraries @DataDog/system-tests-core
tests/schemas/test_schemas.py                                           @DataDog/system-tests-core
utils/build/docker/php/apache-mod-7.0-zts.Dockerfile                    @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/apache-mod-7.0.Dockerfile                        @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/apache-mod-7.1-zts.Dockerfile                    @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/apache-mod-7.1.Dockerfile                        @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/apache-mod-7.2-zts.Dockerfile                    @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/apache-mod-7.2.Dockerfile                        @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/apache-mod-7.3-zts.Dockerfile                    @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/apache-mod-7.3.Dockerfile                        @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/apache-mod-7.4-zts.Dockerfile                    @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/apache-mod-7.4.Dockerfile                        @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/apache-mod-8.0-zts.Dockerfile                    @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/apache-mod-8.0.Dockerfile                        @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/apache-mod-8.1-zts.Dockerfile                    @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/apache-mod-8.1.Dockerfile                        @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/apache-mod-8.2-zts.Dockerfile                    @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/apache-mod-8.2.Dockerfile                        @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/apache-mod/build.sh                              @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/php-fpm-7.0.Dockerfile                           @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/php-fpm-7.1.Dockerfile                           @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/php-fpm-7.2.Dockerfile                           @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/php-fpm-7.3.Dockerfile                           @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/php-fpm-7.4.Dockerfile                           @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/php-fpm-8.0.Dockerfile                           @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/php-fpm-8.1.Dockerfile                           @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/php-fpm-8.2.Dockerfile                           @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/php-fpm-8.5.Dockerfile                           @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/php-fpm/build.sh                                 @DataDog/apm-php @DataDog/system-tests-core
utils/scripts/ci_orchestrators/time-stats.json                          @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/Acme/composer.json            @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/laravel11x/Acme/src/Acme.php             @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/404.php                            @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/api_security_sampling.php          @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/await-agent-info.php               @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/composer.gte8.2.json               @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/composer.json                      @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/cookie_manager.php                 @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/crashme.php                        @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/custom_event.php                   @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/db.php                             @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/dbm.php                            @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/debugger.php                       @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/e2e_otel_span.php                  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/e2e_single_span.php                @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/endpoint_fallback.php              @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/headers.php                        @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/healthcheck.php                    @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/identify-propagate.php             @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/identify.php                       @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/index.php                          @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/inferred_span.php                  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/llm.php                            @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/load_dependency.php                @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/log-library.php                    @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/login.php                          @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/make_distant_call.php              @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/otel_drop_in.php                   @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/otel_drop_in_baggage_api_datadog.php  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/otel_drop_in_baggage_api_otel.php  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/rasp/lfi.php                       @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/rasp/multiple.php                  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/rasp/sqli.php                      @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/rasp/ssrf.php                      @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/read_file.php                      @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/requestdownstream.php              @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/resource_renaming.php              @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/returnheaders.php                  @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/sample_rate_route.php              @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/session_new.php                    @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/shell_execution.php                @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/signup.php                         @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/stats-unique.php                   @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/status.php                         @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/tag_value.php                      @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/trace_mongo.php                    @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/trace_sql.php                      @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/user_login_failure_event.php       @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/user_login_failure_event_v2.php    @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/user_login_success_event.php       @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/user_login_success_event_v2.php    @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/users.php                          @DataDog/apm-php @DataDog/system-tests-core
utils/build/docker/php/weblogs/plain/waf.php                            @DataDog/apm-php @DataDog/system-tests-core

@datadog-official

datadog-official Bot commented May 7, 2026

Copy link
Copy Markdown

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 60 Pipeline jobs failed

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

🧪 1 Test failed

tests.appsec.test_automated_payment_events.Test_Automated_Payment_Events_Stripe_Custom_Rules.test_checkout_session[apache-mod-7.0] from system_tests_suite   View in Datadog
AssertionError: assert 404 == 200
 &#43;  where 404 = HttpResponse(status_code:404, headers:{&#39;Date&#39;: &#39;Thu, 25 Jun 2026 14:09:46 GMT&#39;, &#39;Server&#39;: &#39;Apache/2.4.66 (Debian)&#39;, &#39;X-Powered-By&#39;: &#39;PHP/7.0.33&#39;, &#39;Content-Length&#39;: &#39;0&#39;, &#39;Content-Type&#39;: &#39;text/html; charset=UTF-8&#39;}, text:).status_code

self = &lt;tests.appsec.test_automated_payment_events.Test_Automated_Payment_Events_Stripe_Custom_Rules object at 0x7f1d4d9a27b0&gt;

    def test_checkout_session(self):
        &#34;&#34;&#34;R1&#34;&#34;&#34;
    
        def validator(span: DataDogLibrarySpan):
            assert span[&#34;meta&#34;][&#34;appsec.events.payments.creation.id&#34;] == &#34;cs_FAKE&#34;
...

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

🧪 1 Test failed

tests.appsec.test_automated_payment_events.Test_Automated_Payment_Events_Stripe_Custom_Rules.test_checkout_session[apache-mod-7.0-zts] from system_tests_suite   View in Datadog
AssertionError: assert 404 == 200
 &#43;  where 404 = HttpResponse(status_code:404, headers:{&#39;Date&#39;: &#39;Thu, 25 Jun 2026 14:07:57 GMT&#39;, &#39;Server&#39;: &#39;Apache/2.4.66 (Debian)&#39;, &#39;X-Powered-By&#39;: &#39;PHP/7.0.33&#39;, &#39;Content-Length&#39;: &#39;0&#39;, &#39;Content-Type&#39;: &#39;text/html; charset=UTF-8&#39;}, text:).status_code

self = &lt;tests.appsec.test_automated_payment_events.Test_Automated_Payment_Events_Stripe_Custom_Rules object at 0x7f8d9a6c69f0&gt;

    def test_checkout_session(self):
        &#34;&#34;&#34;R1&#34;&#34;&#34;
    
        def validator(span: DataDogLibrarySpan):
            assert span[&#34;meta&#34;][&#34;appsec.events.payments.creation.id&#34;] == &#34;cs_FAKE&#34;
...

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

🧪 1 Test failed

tests.appsec.test_automated_payment_events.Test_Automated_Payment_Events_Stripe_Custom_Rules.test_checkout_session[apache-mod-7.1] from system_tests_suite   View in Datadog
AssertionError: assert 404 == 200
 &#43;  where 404 = HttpResponse(status_code:404, headers:{&#39;Date&#39;: &#39;Thu, 25 Jun 2026 14:06:24 GMT&#39;, &#39;Server&#39;: &#39;Apache/2.4.66 (Debian)&#39;, &#39;X-Powered-By&#39;: &#39;PHP/7.1.33&#39;, &#39;Content-Length&#39;: &#39;0&#39;, &#39;Content-Type&#39;: &#39;text/html; charset=UTF-8&#39;}, text:).status_code

self = &lt;tests.appsec.test_automated_payment_events.Test_Automated_Payment_Events_Stripe_Custom_Rules object at 0x7f383ad2d1f0&gt;

    def test_checkout_session(self):
        &#34;&#34;&#34;R1&#34;&#34;&#34;
    
        def validator(span: DataDogLibrarySpan):
            assert span[&#34;meta&#34;][&#34;appsec.events.payments.creation.id&#34;] == &#34;cs_FAKE&#34;
...

View all 60 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: f36a8eb | Docs | Datadog PR Page | Give us feedback!

@estringana estringana force-pushed the estringana/add-laravel-weblog branch from 094c93a to 1351f06 Compare May 7, 2026 13:57
@estringana estringana force-pushed the estringana/add-laravel-weblog branch 4 times, most recently from 4db6332 to 478d31b Compare May 25, 2026 08:58
series_eval = find_series("appsec", "rasp.rule.match", is_metrics=True)
assert series_eval
assert series_eval[0]["points"][0][1] == 3.0
assert any(validate_metric("rasp.rule.match", "lfi", s) and s["points"][0][1] == 3.0 for s in series_eval), [

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All other validations on this file are done this way. This one was relying on the right order but it can't be preserverd 100% of the times

Comment on lines +1164 to +1173
def login_failure_includes_usr_exists_meta() -> bool:
"""True when this library and weblog emit usr.exists on login failure spans."""
return context.library not in libs_without_user_exist and context.weblog_variant not in weblogs_without_user_exist


def login_failure_includes_usr_id_meta() -> bool:
"""True when this library and weblog emit usr.id on login failure spans."""
return (
context.library not in libs_without_user_id_on_failure
and context.weblog_variant not in weblogs_without_user_id_on_failure

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two allow to have things working at a language level and not a a framework level

@estringana estringana marked this pull request as ready for review May 25, 2026 11:31
@estringana estringana requested review from a team as code owners May 25, 2026 11:31

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5163113baf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread manifests/php.yml
tests/appsec/rasp/test_sqli.py::Test_Sqli_Mandatory_SpanTags:
- weblog_declaration:
"*": missing_feature
laravel11x: v1.6.2

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep Laravel SQLi span-tag tests disabled

For the new laravel11x activation, the enabled tests call /rasp/sqli in tests/appsec/rasp/test_sqli.py, but I checked utils/build/docker/php/weblogs/laravel11x/routes/web.php and there is no Laravel route for /rasp/sqli (only the /db SQL helper routes exist). When these tests run with WEBLOG_VARIANT=laravel11x, the request will hit the 404 handler and validate_span_tags will inspect a root span without the SQLi RASP metrics, so these tests fail instead of validating span tags.

Useful? React with 👍 / 👎.

Comment thread tests/schemas/test_schemas.py
Comment thread tests/schemas/test_schemas.py
Comment thread utils/build/docker/php/weblogs/laravel11x/routes/web.php
Comment thread utils/build/docker/php/weblogs/laravel11x/routes/web.php
Comment thread utils/build/docker/php/weblogs/laravel11x/routes/web.php
Comment thread utils/build/docker/php/weblogs/laravel11x/routes/web.php
Comment thread utils/build/docker/php/weblogs/laravel11x/routes/web.php Outdated

@cbeauchesne cbeauchesne left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small RC.

Comment thread tests/schemas/test_schemas.py Outdated
@estringana estringana force-pushed the estringana/add-laravel-weblog branch from b3b3de8 to 354818a Compare June 2, 2026 10:23
@estringana estringana force-pushed the estringana/add-laravel-weblog branch 2 times, most recently from 8f78736 to d94d9fa Compare June 12, 2026 11:10
@estringana estringana changed the title [php] Expand weblogs: laying the groundwork [php] Add laravel weblog Jun 15, 2026

@cataphract cataphract left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two threads still need resolution:

  1. User.php offsetExists override -- The workaround hides a real ddtrace bug: the AppSec spec requires username/login to be preferred over email when resolving usr.login, but the PHP integration currently checks email first. Overriding offsetExists in the weblog masks this instead of surfacing it. The fix belongs in the tracer, not her -- mark XFAIL and create a jira ticket.

  2. LoginController.php callSdk() method -- Please inline this. It wraps single-line SDK calls, takes a parameter that goes unused in one branch, and makes the code harder to follow rather than easier.

On the CI failures: all PHP variants (apache-mod-7.0 through php-fpm-8.5, including laravel11x) are failing

The branch is also behind main and will need a rebase / merge.

@estringana estringana force-pushed the estringana/add-laravel-weblog branch 2 times, most recently from 7d83878 to 0ef95fe Compare June 18, 2026 08:21
@estringana

Copy link
Copy Markdown
Contributor Author

@cbeauchesne the PR is ready

@estringana

Copy link
Copy Markdown
Contributor Author

@cataphract pr is ready

@estringana estringana force-pushed the estringana/add-laravel-weblog branch from 6c3871c to 1a14aa8 Compare June 22, 2026 09:59
@datadog-system-tests-org

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

Copy link
Copy Markdown

Pipelines

⚠️ Warnings

🚦 62 Pipeline jobs failed

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

Testing the test | System Tests (java, dev) / End-to-end #1 / openai-java@4.29.0 1   View in Datadog   GitHub Actions

Testing the test | System Tests (java, dev) / End-to-end #3 / akka-http 3   View in Datadog   GitHub Actions

View all 62 failed jobs.

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

@estringana estringana force-pushed the estringana/add-laravel-weblog branch from 9ef5c68 to b90b75a Compare June 25, 2026 11:32
@estringana estringana force-pushed the estringana/add-laravel-weblog branch from b90b75a to f36a8eb Compare June 25, 2026 13: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.

3 participants