Skip to content

Name the remote site in the pull resume command - #6166

Merged
chubes4 merged 1 commit into
trunkfrom
chubes/pull-resume-remote-site
Nov 30, 2026
Merged

chubes4 merged 1 commit into
trunkfrom
chubes/pull-resume-remote-site

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

  • The resume hint printed after a failed first pull didn't work. Studio remembers the remote only after a successful pull, so studio pull --path … without --remote-site fails with "Multiple WordPress.com sites are available". The hint now includes --remote-site <id>.

Testing Instructions

With STUDIO_ENABLE_PULL_REPRINT=1, interrupt a first pull (Ctrl-C partway through). Run the printed resume command as-is: it resumes the pull (on trunk it fails with "Multiple WordPress.com sites are available").

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 844612b into trunk Nov 30, 2026
14 checks passed
@chubes4
chubes4 deleted the chubes/pull-resume-remote-site branch November 30, 2026 13:46
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