Skip to content

Reader module: ensure it's always active on Atomic sites - #46782

Merged
jeherve merged 9 commits into
trunkfrom
add/reader-module-active-woa
Feb 12, 2026
Merged

jeherve merged 9 commits into
trunkfrom
add/reader-module-active-woa

Conversation

@jeherve

@jeherve jeherve commented Jan 27, 2026 •

Copy link
Copy Markdown
Member

Fixes READ-291

Note

You'll want to merge #46781 before you can test this.

Warning

This is on hold until the feature makes it to Atomic sites.

Proposed changes:

The new module will replace the code that's currently always loaded via mu-wpcom, so it needs to continue to be always loaded.

Other information:

  • Have you written new tests for your changes, if applicable?
  • Have you checked the E2E test CI results, and verified that your changes do not break them?
  • Have you tested your changes on WordPress.com, if applicable (if so, you'll see a generated comment below with a script to run)?

Jetpack product discussion

  • pe7F0s-3kZ-p2

Does this pull request change what data or activity we track or use?

  • No

Testing instructions:

Note

This can only be tested on WoA sites.

  • Ensure WordPress.com Reader: add module skeleton #46781 is merged and this branch has been rebased on top of it, or check it out on top of this branch
  • On your WoA site, start with a site running trunk
  • Go to Jetpack > Settings > Modules
  • You should see the new module
  • Disable it
  • Now check out this branch
  • Refresh the page
  • The module should be gone
  • Now go to yoursite.com/_cli
  • Type jetpack module list
  • Ensure the WordPress.com Reader module is active.

The new module will replace the code that's currently always loaded via mu-wpcom, so it needs to continue to be always loaded.
@jeherve jeherve self-assigned this Jan 27, 2026
Copilot AI review requested due to automatic review settings January 27, 2026 16:42
@github-actions

github-actions Bot commented Jan 27, 2026 •

Copy link
Copy Markdown
Contributor

Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.

  • To test on WoA, go to the Plugins menu on a WoA dev site. Click on the "Upload" button and follow the upgrade flow to be able to upload, install, and activate the Jetpack Beta plugin. Once the plugin is active, go to Jetpack > Jetpack Beta, select your plugin (WordPress.com Site Helper), and enable the add/reader-module-active-woa branch.

Interested in more tips and information?

  • In your local development environment, use the jetpack rsync command to sync your changes to a WoA dev blog.
  • Read more about our development workflow here: PCYsg-eg0-p2
  • Figure out when your changes will be shipped to customers here: PCYsg-eg5-p2

@github-actions

github-actions Bot commented Jan 27, 2026 •

Copy link
Copy Markdown
Contributor

Thank you for your PR!

When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:

  • ✅ Include a description of your PR changes.
  • ✅ Add a "[Status]" label (In Progress, Needs Review, ...).
  • ✅ Add testing instructions.
  • ✅ Specify whether this PR includes any changes to data or privacy.
  • ✅ Add changelog entries to affected projects

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 🤖


Follow this PR Review Process:

  1. Ensure all required checks appearing at the bottom of this PR are passing.
  2. Make sure to test your changes on all platforms that it applies to. You're responsible for the quality of the code you ship.
  3. You can use GitHub's Reviewers functionality to request a review.
  4. When it's reviewed and merged, you will be pinged in Slack to deploy the changes to WordPress.com simple once the build is done.

If you have questions about anything, reach out in #jetpack-developers for guidance!


Wpcomsh plugin:

  • Next scheduled release: Atomic deploys happen twice daily on weekdays (p9o2xV-2EN-p2)

If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Ensures the new WordPress.com Reader module remains always active on Atomic (WoA) sites as it replaces functionality previously always loaded via mu-wpcom.

Changes:

  • Load a new wpcomsh feature plugin that force-activates Jetpack’s reader module.
  • Ensure the reader module is (re)activated during WoA post-transfer/reset processing.
  • Add a wpcomsh changelog entry for the change.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
projects/plugins/wpcomsh/wpcomsh.php Loads the new reader-link feature plugin unconditionally with other always-on feature plugins.
projects/plugins/wpcomsh/woa.php Adds reader to the set of Jetpack modules activated after transfer/reset operations.
projects/plugins/wpcomsh/feature-plugins/reader-link.php Implements “always-on” behavior by force-activating reader and hiding it from the legacy modules list table.
projects/plugins/wpcomsh/changelog/add-reader-module Records the change in the wpcomsh changelog system.

@jp-launch-control

jp-launch-control Bot commented Jan 27, 2026 •

Copy link
Copy Markdown

Code Coverage Summary

Coverage changed in 2 files.

File Coverage Δ% Δ Uncovered
projects/plugins/wpcomsh/woa.php 0/275 (0.00%) 0.00% 1 ❤️‍🩹
projects/plugins/wpcomsh/wpcomsh.php 112/359 (31.20%) -0.09% 1 ❤️‍🩹

1 file is newly checked for coverage.

File Coverage
projects/plugins/wpcomsh/feature-plugins/wpcom-reader-link.php 0/9 (0.00%) 💔

Full summary · PHP report

Coverage check overridden by I don't care about code coverage for this PR Use this label to ignore the check for insufficient code coveage. .

@jeherve jeherve added I don't care about code coverage for this PR Use this label to ignore the check for insufficient code coveage. [Feature] Reader [Status] Needs Review This PR is ready for review. and removed [Status] In Progress labels Jan 27, 2026
@jeherve
jeherve requested a review from a team January 27, 2026 17:40
@jeherve jeherve added [Status] Blocked / Hold and removed [Status] Needs Review This PR is ready for review. labels Feb 3, 2026
mehmoodak
mehmoodak previously approved these changes Feb 5, 2026

@mehmoodak mehmoodak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Left some tiny comments.

One thing I found is that the module activation stays even when I go back to stable branch.

Approving the PR as the above behavior seems normal.

Comment thread projects/plugins/wpcomsh/woa.php Resolved
Comment thread projects/plugins/wpcomsh/wpcomsh.php Resolved
Co-authored-by: Mehmood Ahmad <31419912+mehmoodak@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 5, 2026 17:05
Co-authored-by: Mehmood Ahmad <31419912+mehmoodak@users.noreply.github.com>
jeherve and others added 2 commits February 5, 2026 18:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

Comment thread projects/plugins/wpcomsh/woa.php Resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 5, 2026 17:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

@jeherve
jeherve merged commit 0804bb0 into trunk Feb 12, 2026
64 checks passed
@jeherve
jeherve deleted the add/reader-module-active-woa branch February 12, 2026 09:53
@github-actions github-actions Bot added the [Status] UI Changes Add this to PRs that change the UI so documentation can be updated. label Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Reader I don't care about code coverage for this PR Use this label to ignore the check for insufficient code coveage. [Plugin] Wpcomsh [Status] Blocked / Hold [Status] UI Changes Add this to PRs that change the UI so documentation can be updated.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants