Skip to content

Verify saved diagrams across reload and canvas-lock timing - #6

Merged
ooiyeefei merged 2 commits into
mainfrom
fix/excalidraw-ci-save-race
Oct 16, 2026
Merged

ooiyeefei merged 2 commits into
mainfrom
fix/excalidraw-ci-save-race

Conversation

@ooiyeefei

@ooiyeefei ooiyeefei commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

Browser tests raced asynchronous editor events in two places: a successful Mermaid save's brief status was replaced by its own live-reload notice, and a reply appeared through SSE before the reply request released the locked canvas. Both could report a failed save while the backend behaved correctly.

Keep both orderings as deterministic regressions using actual requests and original responses. Check HTTP status, exact native geometry, embedded scene/SVG/revision, preservation of earlier diagrams, accepted UI selection and clean state. Wait for the real toolbar/canvas to unlock before raw mouse/keyboard gestures, select the exact shape ID, and verify the native export deleted only that target before saving. Retain source/network diagnostics as CI artifacts. No product or package files change.

Validation: independently reviewed real-transport reproductions; focused browser UAT 9/9; full npm suite 67 feature checks + 3 encryption + 10 token checks pass. Node 20/22 CI is the final merge gate. The published 1.17.0 npm archive remains byte-identical to the already reviewed package.

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 41ae2525-f0a9-4dec-81ca-8e097b038c83
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ooiyeefei ooiyeefei changed the title Verify saved Mermaid source across live-reload timing Verify saved diagrams across reload and canvas-lock timing Oct 16, 2026
@ooiyeefei
ooiyeefei merged commit cfb0aac into main Oct 16, 2026
3 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.

1 participant