Skip to content

Conversation

@mokagio
Copy link
Contributor

@mokagio mokagio commented Feb 27, 2023

Cherry picks the changes from #20214 onto 21.7.2.

Below the original PR description by @wargcm:


Partially fixes #20207

Description

Note
This does not fix the migration issue with 21.8 WordPress -> 21.7 Jetpack. It only fixes 21.7 WordPress -> 21.8 Jetpack. To fix both scenarios, these changes would need to be applied to the 21.7 branch.

Testing

To test:

WP -> JP Migration fix

  • Checkout the release/21.7.1 branch
  • Install WordPress and login
  • Begin the migration with any of the Jetpack powered banner entry points
  • Checkout this branch issue/20207-fix-model-jp-migration
  • Install Jetpack and launch
  • Verify your data was migrated successfully

App upgrade

  • Checkout the release/21.7.1 branch
  • Install WordPress and login
  • Install Jetpack and login
  • Checkout this branch issue/20207-fix-model-jp-migration
  • Install WordPress and launch
  • Verify you are still logged in with your data
  • Install Jetpack and launch
  • Verify you are still logged in with your data

Regression Notes

  1. Potential unintended areas of impact
    Potentially with the existing manual model migration functions

  2. What I did to test those areas of impact (or what existing automated tests I relied on)
    Manually testing the app upgrade scenario and comparing code to older working code

  3. What automated tests I added (or what prevented me from doing so)
    N/A

PR submission checklist:

  • I have completed the Regression Notes.
  • I have considered adding unit tests for my changes.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@mokagio mokagio changed the base branch from trunk to release/21.7.2 February 27, 2023 09:20
@mokagio
Copy link
Contributor Author

mokagio commented Feb 27, 2023

@wargcm, the original PR description said "Partially fixes #20207". I assume the partially was because of what was explained below "This does not fix the migration issue with 21.8 WordPress -> 21.7 Jetpack. It only fixes 21.7 WordPress -> 21.8 Jetpack. To fix both scenarios, these changes would need to be applied to the 21.7 branch."

So, I'd say this PR fully fixes #20207?

@dvdchr
Copy link
Contributor

dvdchr commented Feb 27, 2023

So, I'd say this PR fully fixes #20207?

Yes, that's correct @mokagio 👍🏼

@wpmobilebot
Copy link
Contributor

You can test the changes in Jetpack from this Pull Request by:
  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr20217-f353613 on your iPhone

If you need access to App Center, please ask a maintainer to add you.

@wpmobilebot
Copy link
Contributor

You can test the changes in WordPress from this Pull Request by:
  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr20217-f353613 on your iPhone

If you need access to App Center, please ask a maintainer to add you.

Copy link
Contributor

@dvdchr dvdchr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :shipit:.

Since this is also going to be shipped on the 21.8 beta, I've tested and verified that these scenarios work:

  • WP 21.7 App Store -> JP 21.8 beta with PR #20214
  • WP 21.8 TestFlight -> JP 21.7.2 (this PR) ✅
  • WP 21.8 beta -> JP 21.8 beta with PR #20214
  • WP 21.7.2 (this PR) -> JP 21.7.2 (this PR) ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Jetpack Migration] Migration main flow is broken on beta version 21.8

5 participants