-
Notifications
You must be signed in to change notification settings - Fork 802
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
Post-migration task list: Add new ssl task #39686
Conversation
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. Follow this PR Review Process:
Still unsure? Reach out in #jetpack-developers for guidance! |
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
9412333
to
c5bdebe
Compare
projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php
Outdated
Show resolved
Hide resolved
9b8c43b
to
38b7c02
Compare
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.
LGTM as-is. Just added to suggestions in case that helps.
projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php
Outdated
Show resolved
Hide resolved
projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php
Outdated
Show resolved
Hide resolved
Hey @ramynasr! I applied your feedback. Can you review it again, please? |
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.
Thanks for looking into the suggestions. I'm concerned about the multiple calls to find_primary_by_blog_id
since my understanding this would run on every /home
page load. I left a suggestion that can possibly mitigate that.
projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php
Outdated
Show resolved
Hide resolved
projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php
Outdated
Show resolved
Hide resolved
projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php
Outdated
Show resolved
Hide resolved
The task was added in a separate PR. The check is implemented in this job: D164293-code . That job will be triggered when we detect ssl provisioning. |
Fixes Automattic/wp-calypso#95096
Proposed changes:
This change adds a new task to guide the user to provision their SSL certificate.
The check to see if the cert is provisioned is running on every /home render. It doesn't seem to be an issue since the call to
get_flags
(file:wp-content/lib/domains/domain-flags/domain-flags-store.php
) is cached. But I would like to get a green light from Nomado since it's my first time working with domains.Other information:
Jetpack product discussion
Does this pull request change what data or activity we track or use?
Testing instructions:
This code runs on simple since it's called via public-api. Please see the instructions here on how to test a PR: PCYsg-Osp-p2
0-sandbox.php
file:Provision SSL certificate
.On a site with a WPCOM primary domain
On a site with a non WPCOM primary domain, but without provisioned SSL
https://wordpress.com/domains/manage/[PRIMARY_DOMAIN]/edit/[PRIMARY_DOMAIN]
On a site with a non WPCOM primary domain, with provisioned SSL