Skip to content

Conversation

@lavarou
Copy link
Member

@lavarou lavarou commented Dec 11, 2024

PHP's build system received a fix for 'out of tree' builds - see php/php-src#13516. This broke build of agent's unit tests which require agent's source directory to be in the include search path. Working agent's unit tests showed that test_function_debug_name needed its expectations tweaked - closures are named differently on PHP 8.4.

Ensure including agent's source directory in the include search path. This
used to be provided by 'broken' php build system which was fixed in PHP 8.4.
Closures are named differently on PHP 8.4.
@lavarou lavarou requested a review from ZNeumann December 11, 2024 21:53
@lavarou lavarou self-assigned this Dec 11, 2024
@newrelic-php-agent-bot
Copy link

newrelic-php-agent-bot commented Dec 11, 2024

Test Suite Status Result
Multiverse 6/7 passing
SOAK 61/62 passing

@codecov-commenter
Copy link

codecov-commenter commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (feat/php-8.4/fix-api-number@bbe7ed0). Learn more about missing BASE report.

Additional details and impacted files
@@                      Coverage Diff                       @@
##             feat/php-8.4/fix-api-number     #994   +/-   ##
==============================================================
  Coverage                               ?   77.85%           
==============================================================
  Files                                  ?      195           
  Lines                                  ?    26363           
  Branches                               ?        0           
==============================================================
  Hits                                   ?    20525           
  Misses                                 ?     5838           
  Partials                               ?        0           
Flag Coverage Δ
agent-for-php-8.0 77.20% <ø> (?)
agent-for-php-8.1 77.86% <ø> (?)
agent-for-php-8.2 77.45% <ø> (?)
agent-for-php-8.3 77.45% <ø> (?)
agent-for-php-8.4 77.45% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lavarou lavarou merged commit 8c3dfdc into feat/php-8.4/fix-api-number Dec 12, 2024
55 of 61 checks passed
@lavarou lavarou deleted the feat/php-8.4/fix-agent-tests branch December 12, 2024 16:12
@lavarou lavarou restored the feat/php-8.4/fix-agent-tests branch December 15, 2024 21:47
lavarou added a commit that referenced this pull request Dec 16, 2024
PHP's build system received a fix for 'out of tree' builds. This broke build of
agent's unit tests which require agent's source directory to be in the include
search path. Working agent's unit tests showed that `test_function_debug_name`
needed its expectations tweaked - closures are named differently on PHP 8.4.
@lavarou lavarou deleted the feat/php-8.4/fix-agent-tests branch December 16, 2024 14:39
zsistla pushed a commit that referenced this pull request Dec 20, 2024
PHP's build system received a fix for 'out of tree' builds. This broke build of
agent's unit tests which require agent's source directory to be in the include
search path. Working agent's unit tests showed that `test_function_debug_name`
needed its expectations tweaked - closures are named differently on PHP 8.4.
lavarou added a commit that referenced this pull request Dec 20, 2024
PHP's build system received a fix for 'out of tree' builds. This broke build of
agent's unit tests which require agent's source directory to be in the include
search path. Working agent's unit tests showed that `test_function_debug_name`
needed its expectations tweaked - closures are named differently on PHP 8.4.
ZNeumann pushed a commit that referenced this pull request Jan 7, 2025
PHP's build system received a fix for 'out of tree' builds. This broke build of
agent's unit tests which require agent's source directory to be in the include
search path. Working agent's unit tests showed that `test_function_debug_name`
needed its expectations tweaked - closures are named differently on PHP 8.4.
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.

5 participants