Skip to content

Renovate: merge WP deps config blocks - #50868

Open
simison wants to merge 1 commit into
trunkfrom
update/renovate-merge-wp
Open

Renovate: merge WP deps config blocks#50868
simison wants to merge 1 commit into
trunkfrom
update/renovate-merge-wp

Conversation

@simison

@simison simison commented Jul 28, 2026

Copy link
Copy Markdown
Member

Proposed changes

Merges the two separate "externalized" and "bundled" wp deps configs into one.

While this makes each update more elaborate (especially when studying changelogs) and harder to grok which packages are "externalized" and which "bundled", it's still beneficial to combine these.

Devs testing need to pay special attention to bundled packages, as they may contain larger changes that affect product UIs. Meanwhile, it's hard to keep up with new packages added to bundled deps, and we may end up with situations where we're updating a package in two separate deploys, potentially days or weeks apart, but they depended on specific versions of each other.

Following changes to what is bundled and what isn't can be challenging, and configs can drift from upstream:

  • Jetpack bundles some additional dependencies separately from WP's own determination (see wp-build-polyfill package or various Webpack configs bundling wp-theme).
  • WP-Build tool and Webpack configs in Gutenberg use different ways to determine what needs bundling (ref)
  • We use wp-theme (an externalised dependency) as part of build and linter processes

Related product discussion/links

  • Avoids issues described in peKye1-26O-p2

Does this pull request change what data or activity we track or use?

Testing instructions

  • N/A

@simison
simison requested a review from a team as a code owner July 28, 2026 14:42
@simison simison added Build [Status] Needs Review This PR is ready for review. Reviewer Can Merge PR author indicates the reviewer is free to merge/deploy if they want to own the change. labels Jul 28, 2026
@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.

  • To test on WoA, go to the Plugins menu on a WoA dev site. Click on the "Upload" button and follow the upgrade flow to be able to upload, install, and activate the Jetpack Beta plugin. Once the plugin is active, go to Jetpack > Jetpack Beta, select your plugin (Jetpack or WordPress.com Site Helper), and enable the update/renovate-merge-wp branch.
  • To test on Simple, run the following command on your sandbox:
bin/jetpack-downloader test jetpack update/renovate-merge-wp
bin/jetpack-downloader test jetpack-mu-wpcom-plugin update/renovate-merge-wp

Interested in more tips and information?

  • In your local development environment, use the jetpack rsync command to sync your changes to a WoA dev blog.
  • Read more about our development workflow here: PCYsg-eg0-p2
  • Figure out when your changes will be shipped to customers here: PCYsg-eg5-p2

@github-actions

Copy link
Copy Markdown
Contributor

Thank you for your PR!

When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:

  • ✅ Include a description of your PR changes.
  • ✅ Add a "[Status]" label (In Progress, Needs Review, ...).
  • ✅ Add testing instructions.
  • ✅ Specify whether this PR includes any changes to data or privacy.
  • ✅ Add changelog entries to affected projects

This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖


Follow this PR Review Process:

  1. Ensure all required checks appearing at the bottom of this PR are passing.
  2. Make sure to test your changes on all platforms that it applies to. You're responsible for the quality of the code you ship.
  3. You can use GitHub's Reviewers functionality to request a review.
  4. When it's reviewed and merged, you will be pinged in Slack to deploy the changes to WordPress.com simple once the build is done.

If you have questions about anything, reach out in #jetpack-developers for guidance!

@simison
simison requested a review from a team July 28, 2026 14:44
@jp-launch-control

jp-launch-control Bot commented Jul 28, 2026

Copy link
Copy Markdown

Code Coverage Summary

This PR did not change code coverage!

That could be good or bad, depending on the situation. Everything covered before, and still is? Great! Nothing was covered before? Not so great. 🤷

Full summary · PHP report · JS report

@simison
simison requested a review from retrofox July 28, 2026 16:09
@CGastrell

Copy link
Copy Markdown
Contributor

LGTM, I guess there's no actual way to put this to the test? We might be better off just keeping an eye on next renovate run?

@simison

simison commented Jul 30, 2026

Copy link
Copy Markdown
Member Author

It could be tested with a separate repo, but honestly, I don't think this is that risky to do testing like that. :-)

The file is also covered by a basic JSON linter.

@simison
simison force-pushed the update/renovate-merge-wp branch from b5ef0d1 to 2a459c3 Compare July 30, 2026 10:29
@simison
simison force-pushed the update/renovate-merge-wp branch from 2a459c3 to 7fbc48c Compare July 31, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build [Package] Wp Build Polyfills Reviewer Can Merge PR author indicates the reviewer is free to merge/deploy if they want to own the change. [Status] Needs Review This PR is ready for review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants