-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tools: Make "check-composer-deps" into "check-intra-monorepo-deps" #20297
Conversation
In other words, have it also check intra-monorepo JS package dependencies. And while I'm at it, have it check the monorepo root composer.json too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here are some suggested test cases for this PR.
Connection
- In-place connection with free plan
- In-place connection with paid plan
- In-place connection with product purchase
- Classic connection. Use Safari, or set a constant
JETPACK_SHOULD_NOT_USE_CONNECTION_IFRAME
to true - Disconnect/reconnect connection
- Secondary user connection
- Connection on multisite
Verify that the changes are compatible with the plugins that use the connection package.
- WooCommerce Payments
- Jetpack Boost
- Previous versions of Jetpack
If you think that suggestions should be improved please edit the configuration file here. You can also modify/add test-suites to be used in the configuration file.
Caution: This PR has changes that must be merged to WordPress.com |
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
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 🤖 The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available. Once your PR is ready for review, check one last time that all required checks (other than "Required review") appearing at the bottom of this PR are passing or skipped. Backup plugin:
Jetpack plugin:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This tests well for me. 🚢
Great news! One last step: head over to your WordPress.com diff, D63795-code, and commit it. Thank you! |
r228314-wpcom |
Changes proposed in this Pull Request:
In other words, have it also check intra-monorepo JS package
dependencies.
And while I'm at it, have it check the monorepo root composer.json too.
Jetpack product discussion
p1625657891311300-slack-CDLH4C1UZ
Does this pull request change what data or activity we track or use?
No
Testing instructions:
Test 1:
tools/check-intra-monorepo-deps.sh
, see it complain about@automattic/jetpack-connection
deps that weren't updated in Jetpack 9.9 Changelog #20214.tools/check-intra-monorepo-deps.sh -u
, see it reproduce the second commit of this PR.Test 2:
automattic/jetpack-codesniffer
.tools/check-intra-monorepo-deps.sh
, see it complain about that.tools/check-intra-monorepo-deps.sh -u
, see it fix it (and not try to create a change entry for the monorepo root).Test 3:
projects/plugins/backup/package.json
to change the version of@automattic/jetpack-connection
, andprojects/plugins/backup/composer.json
to change the version of one of the monorepo PHP packages.tools/check-intra-monorepo-deps.sh
, see it complain about both.tools/check-intra-monorepo-deps.sh -u
, see it fix both but only create one change entry.