Repository navigation
Push: Wait for a running import on the live site instead of failing - #6172
Merged
Merged
Conversation
…h with a 409 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issues
How AI was used in this PR
Claude Code read the WordPress.com sync endpoint and the server logs for the reported site, wrote the change and its tests, and ran two overlapping real pushes against a WordPress.com test site. I reviewed the diff and the test results.
Proposed Changes
Testing Instructions
npm run cli:buildnode apps/cli/dist/cli/main.mjs push --path <first site> --remote-site <site ID> --options allstudio uirunning (npm run cli:build:ui && node apps/cli/dist/cli/main.mjs ui --no-open), the second site's publishing notice shows the waiting step.Tested this way on a WordPress.com Atomic site: the second push waited about 12 minutes, then finished, and both local sites recorded their push. The staging-sync message is covered by unit tests only, because none of my test sites has a staging site.
The only visible change is the new waiting text in the publishing notice. I checked it in light and dark in
studio uibut couldn't attach the screenshots here.Pre-merge Checklist
🤖 Generated with Claude Code