Enable PHP FFE evaluation metric system tests#7033
Draft
leoromanovsky wants to merge 1 commit into
Draft
Conversation
Contributor
|
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
PHP FFE evaluation metrics need system-test coverage before dd-trace-php PR 3911 can be treated as review-ready. The PHP runtime now records
feature_flag.evaluationsthrough native/libdatadog-sidecar code, so we need the shared FFE metric tests enabled against a locally built PHP tracer artifact rather than relying only on PHPT coverage.Design doc: https://docs.google.com/document/d/1NvMfTpZWLBlFmEFNjdnlMyeVpy5l7KD8qujGFco6w2w/edit?tab=t.0
Related PRs:
Changes
This PR enables
tests/ffe/test_flag_eval_metrics.pyfor PHP in the manifest only. It intentionally does not enable exposure tests; exposure validation is tracked separately in #7031 so each PHP milestone can be reviewed independently.Decisions
The PR is stacked on
leo.romanovsky/pr-g-php-ffe-scaffoldbecause PR 3906 has not landed yet and the PHP FFE system-test hooks are introduced there. The local validation used a PHP 8.0 debug artifact from the PR 3911 dd-trace-php branch because the default FEATURE_FLAGGING_AND_EXPERIMENTATION weblog usesapache-mod-8.0.Validation evidence:
Result:
17 passed in 81.21s.