Skip to content

Revert the Reprint exporter (#50369 and follow-ups) - #51179

Merged
haqadn merged 1 commit into
trunkfrom
revert/reprint-exporter
Aug 11, 2026
Merged

Revert the Reprint exporter (#50369 and follow-ups)#51179
haqadn merged 1 commit into
trunkfrom
revert/reprint-exporter

Conversation

@fredrikekelund

Copy link
Copy Markdown
Contributor

Proposed changes

Related product discussion/links

  • p1786453163649249-slack-CDLH4C1UZ

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

No

Testing instructions

TBD

Reverts three commits:

  ef955ac  Add Reprint exporter outside wpcomsh (#50369)
  8ab6a94  Reprint export: guard Host::is_pressable() against older
              Status packages (#51028)
  9bd2221  Reprint export: test compatibility with older Status
              packages (#51031)

#51031 is included because it only tests the guard #51028 added, and it
edits files #50369 created. It cannot stand on its own.

This drops:

  - The Reprint exporter, its REST controller and their tests.
  - Host::is_pressable() from the Status package. Nothing else used it.
  - exclude-from-classmap support for the root package in the autoloader.
    No project in the monorepo uses that setting.
  - The wp-php-toolkit/reprint-exporter dependency from the Jetpack
    plugin. composer.lock now matches its pre-#50369 content hash.

Atomic sites keep exporting through wpcomsh, which this never touched.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@fredrikekelund
fredrikekelund requested a review from haqadn August 11, 2026 14:10
@fredrikekelund fredrikekelund self-assigned this Aug 11, 2026
@github-actions

github-actions Bot commented Aug 11, 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 (Jetpack or WordPress.com Site Helper), and enable the revert/reprint-exporter branch.
  • To test on Simple, run the following command on your sandbox:
bin/jetpack-downloader test jetpack revert/reprint-exporter
bin/jetpack-downloader test jetpack-mu-wpcom-plugin revert/reprint-exporter

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 added [Package] Autoloader [Package] Status [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Tests] Includes Tests Bug When a feature is broken and / or not performing as intended labels Aug 11, 2026
@github-actions

github-actions Bot commented Aug 11, 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!


Jetpack plugin:

No scheduled milestone found for this plugin.

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

@github-actions github-actions Bot added the [Status] Needs Author Reply We need more details from you. This label will be auto-added until the PR meets all requirements. label Aug 11, 2026
@fredrikekelund fredrikekelund added the [Status] Needs Review This PR is ready for review. label Aug 11, 2026
@jp-launch-control

Copy link
Copy Markdown

Code Coverage Summary

Coverage changed in 3 files.

File Coverage Δ% Δ Uncovered
projects/packages/autoloader/src/AutoloadGenerator.php 0/155 (0.00%) -8.33% 1 ❤️‍🩹
projects/packages/status/src/class-host.php 22/57 (38.60%) -1.06% 0 💚
projects/plugins/jetpack/class.jetpack.php 923/2358 (39.14%) 0.03% -2 💚

Full summary · PHP report · JS report

@haqadn
haqadn merged commit 001a624 into trunk Aug 11, 2026
162 of 163 checks passed
@haqadn
haqadn deleted the revert/reprint-exporter branch August 11, 2026 14:46
@github-actions github-actions Bot removed [Status] Needs Author Reply We need more details from you. This label will be auto-added until the PR meets all requirements. [Status] Needs Review This PR is ready for review. labels Aug 11, 2026
haqadn added a commit that referenced this pull request Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug When a feature is broken and / or not performing as intended [Package] Autoloader [Package] Status [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Tests] Includes Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants