Skip to content
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

Actions: Auto-labeling, testing changes to a package #18722

Closed

Conversation

jeherve
Copy link
Member

@jeherve jeherve commented Feb 5, 2021

Do not merge, just check the labels applied to this PR.

@jeherve jeherve added the DO NOT MERGE don't merge it! label Feb 5, 2021
@jeherve jeherve self-assigned this Feb 5, 2021
Copy link

@test-case-reminder test-case-reminder bot left a 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.

@github-actions github-actions bot added [Package] Connection [Status] Needs Package Release This PR made changes to a package. Let's update that package now. labels Feb 5, 2021
@jetpackbot
Copy link

jetpackbot commented Feb 5, 2021

Warnings
⚠️ The Privacy section is missing for this PR. Please specify whether this PR includes any changes to data or privacy.
⚠️ "Proposed changelog entry" is missing for this PR. Please include any meaningful changes
⚠️ "Testing instructions" are missing for this PR. Please add some

This is an automated check which relies on PULL_REQUEST_TEMPLATE. We encourage you to follow that template as it helps Jetpack maintainers do their job. If you think 'Testing instructions' or 'Proposed changelog entry' are not needed for your PR - please explain why you think so. Thanks for cooperation 🤖

Generated by 🚫 dangerJS against eef7289

@jeherve jeherve changed the title Actions: add labels to all PRs, based on list of modified files Actions: Auto-labeling, testing changes to a package Feb 5, 2021
@jeherve jeherve force-pushed the add/auto-label-gardening-action branch from bbfc8ef to fb5b04b Compare February 5, 2021 13:40
sergeymitr and others added 21 commits February 5, 2021 08:44
The authorize webhook is used as a fallback action for Calypso authorization flow.
This PR is moving the webhook from Jetpack to `jetpack-connection`, making it available for plugins that use the package.
* Deprecate jetpack_json_wrap and migrate functionality into Sync/Functions for usage.

* removal of errant comment

* typo
Co-authored-by: Grant Kinney <hi@grant.mk>
…e method (#18540)

* added new bridge method to sync block replacement mediaFilesBlockReplaceSync

* added es-lint skip line directive
Co-authored-by: Glen Davies <glen.davies@a8c.com>
Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>
The general idea here is that each project should define composer commands for the different types of tests we support, and the infrastructure should just run them without doing too much that's specific to any one plugin.

Thus, the PHP, JS, and Coverage workflows are rewritten to move all the Jetpack-specific stuff into Jetpack, and as a side effect the packages also get some changes to be more flexible than they had been previously.

I also added some logic to better avoid running unnecessary tests: A change that only touches the Beta plugin, for example, probably doesn't need Jetpack's tests run. But a change that touches the Autoloader package will also need Jetpack tests to ensure that it didn't break Jetpack.

I punted for now on the E2E tests. They're done in their own weirdly complicated way so it'll take more work to figure out which parts can be made generic, which are Jetpack-specific, and which if any we might be able to get rid of entirely.
- The new package
- JS building configuration
- Handy yarn commands
- The WP admin menu link

The new commands (run from `packages/connection-ui/` directory):
- `yarn build`
- `yarn watch`

The Jetpack command `yarn build-packages` was also edited to also build the Connection UI package.
…ack versions (#18662)

Co-authored-by: Brandon Kraft <public@brandonkraft.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>
@github-actions github-actions bot added [Package] Assets [Package] Autoloader [Package] Blocks [Package] Codesniffer [Package] Compat [Package] Connection [Package] Constants [Package] Error [Package] Heartbeat [Package] Jitm [Package] Licensing [Package] Logo [Package] Partner [Package] Redirect [Package] Roles [Package] Status [Package] Sync [Package] Tracking [Plugin] Beta For serving live branches and the beta versions. https://github.com/automattic/jetpack-beta [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Status] Needs Package Release This PR made changes to a package. Let's update that package now. Actions GitHub actions used to automate some of the work around releases and repository management Admin Page React-powered dashboard under the Jetpack menu [Feature] Carousel A fullscreen modal appearing when clicking on an image in a gallery or tiled gallery. [Feature] Custom Content Types Custom post or content types (usually for testimonials and portfolios) and their settings. Docker [Feature] Masterbar WordPress.com Toolbar and Dashboard customizations Unit Tests [Feature] WPCOM API labels Feb 9, 2021
@jeherve jeherve closed this Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions GitHub actions used to automate some of the work around releases and repository management Admin Page React-powered dashboard under the Jetpack menu [Block] Anchor Fm Anchor.fm integration [Block] Conversation [Block] Dialogue [Block] Send a message [Block] Story DO NOT MERGE don't merge it! Docker [Feature] Carousel A fullscreen modal appearing when clicking on an image in a gallery or tiled gallery. [Feature] Custom Content Types Custom post or content types (usually for testimonials and portfolios) and their settings. [Feature] Masterbar WordPress.com Toolbar and Dashboard customizations [Feature] WPCOM API [Package] Abtest [Package] Analyzer [Package] Assets [Package] Autoloader [Package] Blocks [Package] Codesniffer [Package] Compat [Package] Connection [Package] Constants [Package] Error [Package] Heartbeat [Package] Jitm [Package] Licensing [Package] Logo [Package] Partner [Package] Redirect [Package] Roles [Package] Status [Package] Sync [Package] Tracking [Plugin] Beta For serving live branches and the beta versions. https://github.com/automattic/jetpack-beta [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Status] Needs Package Release This PR made changes to a package. Let's update that package now. [Status] Needs Tracks Review Added/removed/modified a tracks event. Touches WP.com Files Unit Tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet