Repository navigation
[#3220] Installed PCOV with PIE instead of PECL in the CLI image. - #3221
Merged
Merged
Conversation
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 #3221 +/- ##
==========================================
- 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://6ad8428e87e973c3a9df9fb9--vortex-docs.netlify.app This preview is rebuilt on every commit and is not the production documentation site. |
AlexSkrypnyk
added a commit
that referenced
this pull request
Oct 26, 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.
Closes #3220
Summary
.docker/cli.dockerfilenow builds PCOV withpie install --no-build-tools-check pecl/pcovinstead ofpecl install pcov, using the PIE binary that theuselagoon/php-8.4-cli-drupal:26.9.0base image already ships at/usr/local/bin/pie. PIE enables the extension itself throughdocker-php-ext-enableand then checks thatphpactually loads it, so the separatedocker-php-ext-enable pcovcall is gone.pecl install pcovwas the template's only PECL call, while the base image had already moved on: Lagoon builds apcu, brotli, imagick, phpredis, xdebug and yaml withpie install, and PIE is the PHP Foundation's replacement for PECL. PCOV is published for PIE aspecl/pcovon Packagist, built fromkrakjoe/pcov. The flag is there because PIE runs a generic build-tools check before every install, and with theautoconf g++ makeset this step installs, it reportslibtoolize/glibtoolizeas missing on every cold build and suggestsapk add --no-cache --virtual .php-pie-deps libtool, even though PCOV doesn't need it.After merge, the CLI image still carries PCOV 1.0.12, enabled through
conf.d/docker-php-ext-pcov.inias before, andpie showlists it next to Lagoon's own extensions. The version stays unpinned, just aspecl install pcovwas. Theapkpackage list,docker-php-ext-install pcntland the other images don't change, and thebuilddemo video under.vortex/docs/static/img/keeps showing the old step until the release checklist re-records it.Before / After
Changes
CLI image
.docker/cli.dockerfile:pecl install pcovanddocker-php-ext-enable pcovbecome a singlepie install --no-build-tools-check pecl/pcov. The step still installs and removes its own toolchain, so a missing tool fails the build when PCOV compiles, exactly as it did with PECL.Installer fixtures
_baseline/.docker/cli.dockerfileis regenerated.theme_claro,theme_olivero,theme_stark,tools_groups_no_fe_lint_no_theme,tools_groups_no_fe_lint_no_theme_circleci,tools_no_eslint_no_theme,tools_no_stylelint_no_theme) only move their hunk header up by 1 line.Verification
uselagoon/php-8.4-cli-drupal:26.9.0with the CLI image'sCOMPOSER_*andPHP_INI_SCAN_DIRenvironment:pie -Vreports 1.5.0,php -mlistspcovandpcntl,php --ri pcovreportsPCOV support => Enabledwith version 1.0.12, andpie showlistspcov:1.0.12 (from pecl/pcov:v1.0.12).--no-build-tools-checkexists in PIE 1.4.0 and 1.5.0, and Lagoon's images moved to PIE 1.4.0 in April 2026.phpunit.xmlsetsfailOnWarning="true"andPostBuildTestasserts that the coverage reports exist, so an image without PCOV loaded fails CI.Summary by CodeRabbit