Repair wp/7.0 branch Actions: Fix wp-env Docker builds broken by archived Debian Bullseye repositories - #82808
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Size Change: 0 B Total Size: 7.61 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
🟡 Changes recommended
The required package changelog entry is missing, and the PR description references the wrong upstream commit.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Backports Debian Bullseye archive handling to restore wp-env Docker builds.
Changes:
- Redirects Bullseye packages to
archive.debian.org. - Removes unavailable security and updates repositories.
File summaries
| File | Description |
|---|---|
packages/env/lib/runtime/docker/init-config.js |
Updates generated WordPress Dockerfiles for archived Bullseye repositories. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 2
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
13ca818 to
e5f89d2
Compare
e5f89d2 to
667f8ae
Compare
667f8ae to
7941a51
Compare
7941a51 to
482730f
Compare
482730f to
e21413c
Compare
packages/README.md requires a changelog entry under "Unreleased" for every package PR. Text matches upstream trunk's own entry for this fix (commit 1a1a07a).
|
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 If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
The Bullseye apt-source fix landed in the prior commit on this branch without a packages/env/CHANGELOG.md entry, matching the same gap that was flagged on WordPress#82808 for the equivalent trunk fix. Add an Unreleased > Bug Fixes entry documenting it. This branch's own test-php matrix (PHP 7.2, 7.4, 8.0, 8.5) and the official wordpress Docker Hub images confirm PHP 7.4 and 8.0 are the bullseye-based versions affected here, same as trunk.
The Bullseye apt-source fix landed in the prior commit on this branch without a packages/env/CHANGELOG.md entry, matching the same gap that was flagged on WordPress#82808 for the equivalent trunk fix. Add an Unreleased > Bug Fixes entry documenting it. This branch's own test-php matrix (PHP 7.2, 7.4, 8.0, 8.5) and the official wordpress Docker Hub images confirm PHP 7.4 and 8.0 are the bullseye-based versions affected here, same as trunk.
Part of #82782.
What?
Cherry-picks upstream trunk commit
1a1a07abb23000fd22cf6c8532a7b93c9919317a(#82478) into this branch'swp-envpackage source (packages/env/lib/runtime/docker/init-config.js) to fixwp-envDocker build failures caused by the Debian Bullseye repositories being archived after Debian 11 reached end-of-life.Why?
Debian moves a release's package repositories to its archive server once that release reaches end-of-life.
wp-env start's Docker build fails withapt-get404s against the regular mirrors for any PHP version whose base image relies on the now-archived Bullseye release.This branch supports PHP 7.4, 8.0, 8.1, and 8.2 within its wider support window, which fall in the affected range, so the fix is needed even though this branch's CI may not actively test every affected PHP version — a contributor could still use
wp-envlocally with any officially supported version.Use of AI Tools
This PR was authored with the help of Claude Code.