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

Feature/improve polling strategy new stores #9215

Merged
merged 2 commits into from
Jun 13, 2023

Conversation

JorgeMucientes
Copy link
Contributor

@JorgeMucientes JorgeMucientes commented Jun 13, 2023

Description

After the Jetpack Sync issues were resolved: pe5sF9-1xN-p2. We decided we can rely back on the values for fields:
jetpack/jetpack_connection/woocommerce_is_active/is_wpcom_store to check if a site is ready.
Moreover, now that we have a notification in place that will inform the user when their store is ready, and given we want to ensure all the previous fields have the expected value before taking the user to My Store tab, we'll increase the timeout threshold to provide more time for the Atomic transfer to run successfully.

Note that after several tests with these new checks, from the moment you tap on "Start Free Trial" button to landing on My Store tab, the user will roughly wait 1 min 10secs.

Testing instructions

Create a few stores using the store creation flow and check that after around 1 min from loading, you are taken to the My store tab and the free trial banner is displayed correctly.

@JorgeMucientes JorgeMucientes added the feature: store creation Store creation flow label Jun 13, 2023
@JorgeMucientes JorgeMucientes added this to the 14.1 milestone Jun 13, 2023
@wpmobilebot
Copy link
Collaborator

You can test the changes on this Pull Request by downloading an installable build, or scanning this QR code:

@codecov-commenter
Copy link

codecov-commenter commented Jun 13, 2023

Codecov Report

Patch coverage: 25.00% and project coverage change: -0.01 ⚠️

Comparison is base (1c7447e) 44.29% compared to head (4c06fae) 44.29%.

Additional details and impacted files
@@             Coverage Diff              @@
##              trunk    #9215      +/-   ##
============================================
- Coverage     44.29%   44.29%   -0.01%     
- Complexity     4250     4251       +1     
============================================
  Files           854      854              
  Lines         45108    45111       +3     
  Branches       5905     5908       +3     
============================================
+ Hits          19980    19981       +1     
  Misses        23382    23382              
- Partials       1746     1748       +2     
Impacted Files Coverage Δ
...recreation/installation/ObserveSiteInstallation.kt 73.52% <25.00%> (-3.89%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@0nko 0nko self-assigned this Jun 13, 2023
Copy link
Contributor

@0nko 0nko left a comment

Choose a reason for hiding this comment

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

It's taken me around 1.5 minutes, but everything seems to be working correctly. Nice work! 🎖️

@0nko 0nko merged commit 2524de3 into trunk Jun 13, 2023
@0nko 0nko deleted the feature/improve-polling-strategy-new-stores branch June 13, 2023 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: store creation Store creation flow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants