Repository navigation
Asserted the 'php' container PHP settings through 'php-fpm -i' in the Docker Compose workflow test. - #3223
Merged
Conversation
…'php-fpm -i' instead of the CLI SAPI.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Code coverage (threshold: 90%) Per-class coverage |
Member
Author
|
Code coverage (threshold: 90%) Per-class coverage |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3223 +/- ##
==========================================
- Coverage 92.29% 92.09% -0.20%
==========================================
Files 113 105 -8
Lines 5099 4933 -166
Branches 49 3 -46
==========================================
- Hits 4706 4543 -163
+ Misses 393 390 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
📖 Documentation preview for this pull request has been deployed to Netlify: https://6ad873a69a6bc0745ec0b51c--vortex-docs.netlify.app This preview is rebuilt on every commit and is not the production documentation site. |
This was referenced Oct 22, 2026
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.
Summary
subtestDockerComposePhpConfig()checks thephpcontainer withphp-fpm -iinstead ofphp --iniandphp -i. A single call assertsServer API => FPM/FastCGI, the parsed/usr/local/etc/php/conf.d/custom.iniandsession.upload_progress.enabled => Off => Off.The earlier assertions ran the PHP CLI binary inside the
phpcontainer. That provedcustom.inisits in the shared scan directory, but it didn't show that the FPM SAPI serving web requests reads it. A probe script behind nginx can't cover that: Lagoon'snginx-drupalconfig routes every direct*.phprequest to Drupal's front controller (location ~* ^.+\.php$ { try_files /dev/null @drupal; }), so the script would never run.The workflow test now fails if a later image change gives PHP-FPM a different
php.inior scan directory from the CLI binary. Theclicontainer assertion stays onphp --ini, because the CLI SAPI is what that container runs. Nothing outside.vortex/tests/changes.Before / After
Changes
.vortex/tests/phpunit/Traits/Subtests/SubtestDockerComposeTrait.php,subtestDockerComposePhpConfig()merges the 2phpcontainer assertions into 1php-fpm -icall with 3*substring expectations.php-fpm -iin an image built from.docker/php.dockerfileonuselagoon/php-8.4-fpm:26.9.0prints all 3 expected strings.Summary by CodeRabbit