Skip to content

Always reach the Reprint exporter over HTTPS - #6164

Merged
chubes4 merged 2 commits into
trunkfrom
chubes/reprint-exporter-https
Nov 30, 2026
Merged

chubes4 merged 2 commits into
trunkfrom
chubes/reprint-exporter-https

Conversation

@chubes4

@chubes4 chubes4 commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Related issues

How AI was used in this PR

Claude Opus 5.5 (Claude Code), running as Franklin, Chris's agent, found this while stress-testing Reprint pull on real WordPress.com Atomic and preview sites, then wrote the fix and tests. It was split out of #6157. Chris reviews before merge.

Proposed Changes

  • Sites that WordPress.com lists with an http:// address could not be pulled with Reprint, because Reprint refuses HTTP API URLs ("The remote Reprint API URL you provided uses HTTP"). Atomic sites serve HTTPS, so the exporter URL is now always HTTPS.

Testing Instructions

With STUDIO_ENABLE_PULL_REPRINT=1, pull a site whose WordPress.com URL is http://…. On trunk the pull fails with the HTTP error. With this change it pulls. Reproduced on an Atomic test site listed as http://.

Unit tests: npx vitest run packages/providers/wpcom/sites/tests.

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

@github-actions github-actions Bot 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.

Auto-approved: chubes4 is a trusted author.

@chubes4
chubes4 marked this pull request as ready for review November 24, 2026 02:10
@chubes4
chubes4 merged commit 7a08adc into trunk Nov 30, 2026
12 checks passed
@chubes4
chubes4 deleted the chubes/reprint-exporter-https branch November 30, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant