Repository navigation
Repair wp/6.3 branch Actions: Fix wp-env Docker builds broken by archived Debian Buster/Bullseye repositories and expired Debian Stretch signing keys - #261
Closed
desrosj wants to merge 4 commits into
Conversation
desrosj
added this pull request to stack #97
September 11, 2026 15:22
desrosj
removed this pull request from stack #97
September 13, 2026 00:48
desrosj
added this pull request to stack #317
September 13, 2026 00:49
desrosj
removed this pull request from stack #317
September 13, 2026 01:26
desrosj
added this pull request to stack #320
September 13, 2026 01:27
wp/6.3 branch Actions: Fix wp-env Docker builds broken by archived Debian Bullseye repositorieswp/6.3 branch Actions: Fix wp-env Docker builds broken by archived Debian Bullseye repositories and expired Debian Stretch signing keys
desrosj
force-pushed
the
fix-actions-6.3/fix-wp-env-debian-bullseye
branch
from
September 14, 2026 01:37
68f8aab to
c67fe86
Compare
desrosj
force-pushed
the
fix-actions-6.3/fix-wp-env-debian-bullseye
branch
from
September 14, 2026 02:40
c67fe86 to
cf9b260
Compare
desrosj
removed this pull request from stack #320
September 14, 2026 03:09
desrosj
added this pull request to stack #351
September 14, 2026 03:11
desrosj
force-pushed
the
fix-actions-6.3/fix-wp-env-debian-bullseye
branch
from
September 15, 2026 19:14
fa44f09 to
14c3fe4
Compare
desrosj
removed this pull request from stack #351
September 21, 2026 18:35
desrosj
changed the base branch from
fix-actions-6.3/add-workflow-concurrency
to
wp/6.3
September 21, 2026 18:36
desrosj
force-pushed
the
fix-actions-6.3/fix-wp-env-debian-bullseye
branch
from
September 21, 2026 18:45
14c3fe4 to
fc04c96
Compare
desrosj
changed the base branch from
wp/6.3
to
fix-actions-6.3/fix-workflow-branch-filters
September 21, 2026 18:48
desrosj
added this pull request to stack #403
September 21, 2026 18:48
desrosj
removed this pull request from stack #403
September 21, 2026 19:36
desrosj
changed the base branch from
fix-actions-6.3/fix-workflow-branch-filters
to
wp/6.3
September 21, 2026 19:37
desrosj
force-pushed
the
fix-actions-6.3/fix-wp-env-debian-bullseye
branch
2 times, most recently
from
September 21, 2026 19:48
fc04c96 to
f1de22b
Compare
desrosj
changed the base branch from
wp/6.3
to
fix-actions-6.3/fix-workflow-branch-filters
September 21, 2026 19:52
desrosj
added this pull request to stack #420
September 21, 2026 19:52
desrosj
removed this pull request from stack #420
September 21, 2026 21:06
desrosj
changed the base branch from
fix-actions-6.3/fix-workflow-branch-filters
to
wp/6.3
September 21, 2026 21:06
desrosj
force-pushed
the
fix-actions-6.3/fix-wp-env-debian-bullseye
branch
from
September 21, 2026 21:17
f1de22b to
966e5de
Compare
desrosj
added this pull request to stack #477
September 22, 2026 20:20
desrosj
removed this pull request from stack #477
September 23, 2026 01:30
desrosj
changed the base branch from
fix-actions-6.3/docker-compose-v2
to
wp/6.3
September 23, 2026 01:31
desrosj
force-pushed
the
fix-actions-6.3/fix-wp-env-debian-bullseye
branch
from
September 23, 2026 01:39
ab4dfe4 to
f61e9f7
Compare
desrosj
changed the base branch from
wp/6.3
to
fix-actions-6.3/docker-compose-v2
September 23, 2026 01:41
desrosj
added this pull request to stack #486
September 23, 2026 01:41
desrosj
removed this pull request from stack #486
September 24, 2026 17:11
desrosj
changed the base branch from
fix-actions-6.3/docker-compose-v2
to
wp/6.3
September 24, 2026 17:11
desrosj
changed the base branch from
wp/6.3
to
fix-actions-6.3/docker-compose-v2
September 24, 2026 17:13
desrosj
added this pull request to stack #511
September 24, 2026 17:15
desrosj
removed this pull request from stack #511
September 24, 2026 17:44
desrosj
added this pull request to stack #515
September 24, 2026 17:45
desrosj
removed this pull request from stack #515
September 28, 2026 14:31
desrosj
added this pull request to stack #537
September 28, 2026 14:32
desrosj
removed this pull request from stack #537
September 28, 2026 15:24
desrosj
added this pull request to stack #552
September 28, 2026 15:25
desrosj
removed this pull request from stack #552
September 28, 2026 18:41
desrosj
changed the base branch from
fix-actions-6.3/docker-compose-v2
to
wp/6.3
September 28, 2026 18:42
desrosj
changed the base branch from
wp/6.3
to
fix-actions-6.3/docker-compose-v2
September 28, 2026 18:46
desrosj
added this pull request to stack #563
September 28, 2026 18:46
…Press#70718) Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtSAAJkQ9P6vPtDumqStg8
Cherry-picks d21304e (WordPress#82478) into the `wp/6.3` branch to fix failures encountered when attempting to use a version of PHP that relies on Debian Bullseye. Debian 11 ("bullseye") reached end-of-life on 2026-08-31 and its packages left the regular mirrors. Since then, `wp-env start`'s Docker build for the bullseye-based WordPress images fails during `apt-get -qy install sudo` with 404s against `deb.debian.org`. This is the same class of problem as the earlier Buster fix in this same PR, now extended to the Bullseye suite: point the `bullseye` apt suite at `archive.debian.org`, dropping the `bullseye-security`/`bullseye-updates` suites entirely (rather than rewriting them) since `archive.debian.org` doesn't carry `bullseye-security` yet. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtSAAJkQ9P6vPtDumqStg8
…ning keys. wp-env's existing archive.debian.org rewrite already redirects the Stretch suite's package mirrors (used by the PHP 7.0/7.1 Docker images), since Debian moved Stretch to its archive server. Since then, the archive's own Stretch-suite GPG signing keys have themselves expired, with no replacement key ever going to be published for this now fully end-of-life suite (unlike Buster/Bullseye, whose archived keys are still valid). apt-get -qy update still succeeds (with GPG warnings), but apt-get -qy install $PHPIZE_DEPS then fails with: E: There were unauthenticated packages and -y was used without --allow-unauthenticated This adds a conditional apt.conf.d override that allows unauthenticated packages, scoped to only take effect when the Stretch suite is actually present in /etc/apt/sources.list (matching how the existing stretch/buster/bullseye sed rewrites above it are each scoped by matching suite name rather than by PHP version), so Buster, Bullseye, and any newer Debian-based build stay unaffected. Ported verbatim from wp/6.5's equivalent fix (#127), already also ported to wp/6.4 (#126). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtSAAJkQ9P6vPtDumqStg8
…retch wp-env Docker build fixes. Per packages/README.md's "Maintaining Changelogs" section, every package PR needs an Unreleased changelog entry. This PR's commits fix wp-env's Docker builds for this branch's buster-based PHP versions (7.1 and 7.2), bullseye-based PHP versions (7.4, 8.0, and 8.2), and stretch-based PHP version (7.0); this entry documents all three under a new Bug fix heading, matching this file's existing heading style. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtSAAJkQ9P6vPtDumqStg8
desrosj
removed this pull request from stack #563
September 28, 2026 19:03
desrosj
changed the base branch from
fix-actions-6.3/docker-compose-v2
to
wp/6.3
September 28, 2026 19:03
desrosj
force-pushed
the
fix-actions-6.3/fix-wp-env-debian-bullseye
branch
from
September 28, 2026 19:03
f61e9f7 to
84ff48e
Compare
desrosj
changed the base branch from
wp/6.3
to
fix-actions-6.3/docker-compose-v2
September 28, 2026 19:04
desrosj
added this pull request to stack #566
September 28, 2026 19:04
Owner
Author
|
Moved to WordPress#83706. The branch is left in place. |
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.
What?
Repairs
wp-env's generated Dockerfile (packages/env/lib/init-config.js) so it can still build images for every PHP version this branch supports, across all three now-archived Debian releases:deb.debian.org/security.debian.orgtoarchive.debian.organd droppingbuster-updates.d21304e3323571401364805242fc26d1cf03a52d(#82478), rewriting the suite toarchive.debian.organd droppingbullseye-security/bullseye-updates— the security suite is not on the archive host, so it is removed rather than redirected.apt.conf.doverride allowing unauthenticated packages. The host rewrite for Stretch already existed on this branch, butarchive.debian.org's own Stretch signing keys have fully expired, soapt-get -qy install $PHPIZE_DEPSstill fails withE: There were unauthenticated packages and -y was used without --allow-unauthenticated.A final commit records all three in
packages/env/CHANGELOG.md.Why?
Debian moves a release's package repositories to its archive server once that release reaches end-of-life, and drops them from the regular mirrors.
wp-env start's Docker build then fails withapt-get404s for any PHP version whose base image relies on an archived release. Stretch and Buster are already gone fromdeb.debian.org; Bullseye's rewrite is preemptive, andarchive.debian.orgalready serves it.wp-envimposes no PHP allowlist —checkVersion()inpackages/env/lib/config/validate-config.jsonly checks the shape of the string, which is then interpolated straight intoFROM wordpress:php${version}. The effective range is therefore this branch'sRequires PHPfloor of 5.6 up to whateverwordpress:php*tags exist. All three suites above fall inside that range.The
test-phpmatrix (7.0, 7.4, 8.0, 8.2) exercises Stretch and Bullseye but not Buster, so the Buster rewrite is not observable from this branch's CI alone. It is still required:packages/env/README.mdon this branch uses"phpVersion": "7.2"as its worked example, and that value resolves to a Buster image.The Stretch override is scoped to take effect only when the Stretch suite is actually present in
/etc/apt/sources.list— matching how the per-suitesedrewrites are scoped by suite name rather than by PHP version — so Buster, Bullseye and any newer Debian-based build are unaffected.Use of AI Tools
This PR was authored with the help of Claude Code. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.