Remove feature flag and ship Woo database sync from staging sites #94518
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Review it but do not merge this
We are removing the
staging-site-sync-woo
feature flag and releasing the Woo SQL Sync to all users.Testing Instructions
The new messaging should be displayed when WooCommerce plugin is active on the site.
Before creating a staging site
The new
Preview and troubleshoot changes before updating your production site
message should be visible only when WooCommerce is active.Toggling Site database (SQL)
If WooCommerce is not active on the site, you should be able to Sync SQL without any warning.
If WooCommerce is active, you should see the new messaging. If user toggle to sync SQL, the
Synchronize
button should be disabled until the confirmation checkbox is checked.Confirmation modal
After clicking on
Synchronize
button user should see the final confirmation modal.If WooCommerce is active, you should see the new warning box.
If WooCommerce is not active, the warning box should not be present.
Also test that if the SQL option is not toggled, the new warning box should not be present even if WooCommerce is active.
Test syncing
Complete the sync with WooCommerce toggling the SQL option.
It may take some time, but syncing data from staging to production should work.
Pre-merge Checklist