Skip to content

Expand appsec integrations to Laminas Framework#3716

Draft
estringana wants to merge 5 commits intomasterfrom
estringana/add-laminas-appsec-integration
Draft

Expand appsec integrations to Laminas Framework#3716
estringana wants to merge 5 commits intomasterfrom
estringana/add-laminas-appsec-integration

Conversation

@estringana
Copy link
Contributor

Description

Reviewer checklist

  • Test coverage seems ok.
  • Appropriate labels assigned.

@estringana estringana force-pushed the estringana/add-laminas-appsec-integration branch from 820057d to eae5325 Compare March 23, 2026 11:22
@datadog-prod-us1-4
Copy link

datadog-prod-us1-4 bot commented Mar 23, 2026

⚠️ Tests

Fix all issues with BitsAI or with Cursor

⚠️ Warnings

❄️ 4 New flaky tests detected

testLoggedInCalls from tests/Integrations/Laminas/Mvc/V3_3.DDTrace\Tests\Integrations\Laminas\Mvc\V3_3\AutomatedLoginEventsTest   View in Datadog   (Fix with Cursor)
DDTrace
Failed asserting that 0 matches expected 1.

tests/Integrations/Laminas/Mvc/AutomatedLoginEventsTestSuite.php:122
tests/Common/RetryTraitVersionGeneric.php:28
phpvfscomposer://tests/vendor/phpunit/phpunit/phpunit:106
testUserLoginFailureEvent from tests/Integrations/Laminas/Mvc/V3_3.DDTrace\Tests\Integrations\Laminas\Mvc\V3_3\AutomatedLoginEventsTest   View in Datadog   (Fix with Cursor)
DDTrace
Failed asserting that 0 matches expected 1.

tests/Integrations/Laminas/Mvc/AutomatedLoginEventsTestSuite.php:72
tests/Common/RetryTraitVersionGeneric.php:28
phpvfscomposer://tests/vendor/phpunit/phpunit/phpunit:106
testUserLoginSuccessEvent from tests/Integrations/Laminas/Mvc/V3_3.DDTrace\Tests\Integrations\Laminas\Mvc\V3_3\AutomatedLoginEventsTest   View in Datadog   (Fix with Cursor)
DDTrace
Failed asserting that 0 matches expected 1.

tests/Integrations/Laminas/Mvc/AutomatedLoginEventsTestSuite.php:58
tests/Common/RetryTraitVersionGeneric.php:28
phpvfscomposer://tests/vendor/phpunit/phpunit/phpunit:106
testUserSignUp from tests/Integrations/Laminas/Mvc/V3_3.DDTrace\Tests\Integrations\Laminas\Mvc\V3_3\AutomatedLoginEventsTest   View in Datadog   (Fix with Cursor)
DDTrace
Failed asserting that 0 matches expected 1.

tests/Integrations/Laminas/Mvc/AutomatedLoginEventsTestSuite.php:88
tests/Common/RetryTraitVersionGeneric.php:28
phpvfscomposer://tests/vendor/phpunit/phpunit/phpunit:106
View all

🧪 16 Tests failed

testSearchPhpBinaries from integration.DDTrace\Tests\Integration\PHPInstallerTest   View in Datadog   (Fix with Cursor)
Risky Test
phpvfscomposer://tests/vendor/phpunit/phpunit/phpunit:60
testSimplePushAndProcess from laravel-58-test.DDTrace\Tests\Integrations\Laravel\V5_8\QueueTest   View in Datadog   (Fix with Cursor)
DDTrace\Tests\Integrations\Laravel\V5_8\QueueTest::testSimplePushAndProcess
Test code or tested code printed unexpected output: spanLinksTraceId: 69c15b0e00000000cfcf868cf8aea71a
tid: 69c15b0e00000000
hexProcessTraceId: cfcf868cf8aea71a
hexProcessSpanId: 0a06ea6dcf880067
processTraceId: 14974335226055927578
processSpanId: 722522547593674855

phpvfscomposer://tests/vendor/phpunit/phpunit/phpunit:106
testSimplePushAndProcess from laravel-8x-test.DDTrace\Tests\Integrations\Laravel\V8_x\QueueTest   View in Datadog   (Fix with Cursor)
DDTrace\Tests\Integrations\Laravel\V8_x\QueueTest::testSimplePushAndProcess
Test code or tested code printed unexpected output: spanLinksTraceId: 69c15d87000000005e7f6db5476bda0b
tid: 69c15d8700000000
hexProcessTraceId: 5e7f6db5476bda0b
hexProcessSpanId: 125d4ec24d10b404
processTraceId: 6809281786962237963
processSpanId: 1323300461940356100

phpvfscomposer://tests/vendor/phpunit/phpunit/phpunit:106
View all
This comment will be updated automatically if new data arrives.
🔗 Commit SHA: f9ebd59 | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback!

@codecov-commenter
Copy link

codecov-commenter commented Mar 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.68%. Comparing base (78ecdb0) to head (f9ebd59).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3716      +/-   ##
==========================================
- Coverage   68.81%   68.68%   -0.14%     
==========================================
  Files         166      166              
  Lines       19030    19030              
  Branches     1797     1797              
==========================================
- Hits        13096    13070      -26     
- Misses       5121     5145      +24     
- Partials      813      815       +2     
Flag Coverage Δ
helper-rust-integration 78.82% <ø> (-0.03%) ⬇️
helper-rust-unit 49.17% <ø> (-0.20%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 6 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 78ecdb0...f9ebd59. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pr-commenter
Copy link

pr-commenter bot commented Mar 23, 2026

Benchmarks [ tracer ]

Benchmark execution time: 2026-03-23 16:32:35

Comparing candidate commit f9ebd59 in PR branch estringana/add-laminas-appsec-integration with baseline commit 78ecdb0 in branch master.

Found 3 performance improvements and 1 performance regressions! Performance is the same for 190 metrics, 0 unstable metrics.

scenario:MessagePackSerializationBench/benchMessagePackSerialization

  • 🟩 execution_time [-6.859µs; -5.581µs] or [-6.113%; -4.973%]

scenario:MessagePackSerializationBench/benchMessagePackSerialization-opcache

  • 🟩 execution_time [-3.543µs; -2.397µs] or [-3.213%; -2.174%]

scenario:PHPRedisBench/benchRedisOverhead

  • 🟥 execution_time [+30.284µs; +59.801µs] or [+3.852%; +7.606%]

scenario:SamplingRuleMatchingBench/benchRegexMatching1-opcache

  • 🟩 execution_time [-9.770µs; -9.517µs] or [-87.318%; -85.061%]

@github-actions
Copy link
Contributor

Snapshots difference summary

The following differences have been observed in committed snapshots. It is meant to help the reviewer.
The diff is simplistic, so please check some files anyway while we improve it.

If you need to update snapshots, please refer to CONTRIBUTING.md

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.

2 participants