Skip to content

build: patch wp-env's PHP 7.4 image for Debian bullseye's EOL archive - #126

Merged
josephfusco merged 1 commit into
mainfrom
fix/wp-env-bullseye-apt
Sep 5, 2026
Merged

build: patch wp-env's PHP 7.4 image for Debian bullseye's EOL archive#126
josephfusco merged 1 commit into
mainfrom
fix/wp-env-bullseye-apt

Conversation

@josephfusco

Copy link
Copy Markdown
Collaborator

Closes #123. Bullseye's LTS ended 2026-08-31; @wordpress/env's PHP 7.4 image still apt-get installs from deb.debian.org, which now 404s on bullseye packages. Redirects to a pinned snapshot.debian.org mirror via a postinstall script, ported from WordPress/presence-api's fix for the same gap. Verified the patched sources.list installs sudo cleanly against wordpress:php7.4 where the unpatched one 404s.

Bullseye's LTS ended 2026-08-31 and deb.debian.org 404s on bullseye packages
now; wp-env's PHP 7.4 image apt-get installs sudo and git from it during
docker build. Redirects to a pinned snapshot.debian.org mirror instead,
ported from WordPress/presence-api's fix for the same @wordpress/env gap.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

🛝 WordPress Playgrounds

Built from 4014dbd

Solo 5 collaborators 40 collaborators
Launch solo Launch with 5 collaborators Launch with 40 collaborators

@codecov

codecov Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.09%. Comparing base (1f76ff6) to head (4014dbd).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #126   +/-   ##
=========================================
  Coverage     71.09%   71.09%           
  Complexity       52       52           
=========================================
  Files            11       11           
  Lines           384      384           
=========================================
  Hits            273      273           
  Misses          111      111           
Flag Coverage Δ
multisite 71.09% <ø> (ø)
phpunit 66.14% <ø> (ø)

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

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

🚀 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.

@josephfusco
josephfusco marked this pull request as ready for review September 5, 2026 17:21
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: josephfusco <joefusco@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@josephfusco
josephfusco merged commit f7553b8 into main Sep 5, 2026
22 checks passed
@josephfusco
josephfusco deleted the fix/wp-env-bullseye-apt branch September 5, 2026 17:21
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.

Nightly matrix is failing

1 participant