Skip to content

fix(browser): wait for resolved editor post - #2427

Merged
chubes4 merged 2 commits into
mainfrom
fix/2426-editor-post-readiness
Aug 30, 2026
Merged

fix(browser): wait for resolved editor post#2427
chubes4 merged 2 commits into
mainfrom
fix/2426-editor-post-readiness

Conversation

@chubes4

@chubes4 chubes4 commented Aug 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • require resolved post targets to match core/editor.getCurrentPostId() before editor-open readiness succeeds
  • retain generic semantic readiness for URL, site, and post-new targets
  • cover delayed post hydration followed by presentation capture in a real browser

Fixes #2426.
Unblocks Automattic/static-site-importer#1434.

Verification

  • npm run build
  • npm run test:browser-routed-command-security
  • npx tsx tests/editor-actions.test.ts
  • git diff --check

AI assistance

OpenAI GPT-5.6 Sol via OpenCode analyzed the immutable SSI evidence, traced the post-store hydration race, implemented the fix and regression coverage, and ran verification under human direction.

@chubes4
chubes4 merged commit 0e1972b into main Aug 30, 2026
5 checks passed
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.

Editor-open readiness can precede the resolved post identity

1 participant