Skip to content

host: Add clientRequestIds to code mode editor requests #2399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

backspace
Copy link
Contributor

@backspace backspace commented Apr 8, 2025

This updates code mode to include clientRequestId in POST requests produced by the editor saving changes. This should prevent data loss such as seen here:

screencast 2025-04-08 09-29-30

@backspace backspace added the bug Something isn't working label Apr 8, 2025
@backspace backspace self-assigned this Apr 8, 2025
Copy link

github-actions bot commented Apr 8, 2025

Host Test Results

  1 files  ±0    1 suites  ±0   30m 40s ⏱️ +24s
921 tests ±0  912 ✅  - 3  6 💤 ±0  0 ❌ ±0  3 🔥 +3 
928 runs  ±0  916 ✅  - 6  6 💤 ±0  3 ❌ +3  3 🔥 +3 

For more details on these errors, see this check.

Results for commit 9ff0393. ± Comparison against base commit 2e0a7c2.

This pull request removes 2 and adds 2 tests. Note that renamed tests count towards both.
Chrome ‑ Acceptance | code submode | editor tests: card instance change made in monaco editor is auto-saved
Chrome ‑ Acceptance | code submode | editor tests: non-card instance change made in monaco editor is auto-saved
Chrome ‑ Acceptance | code submode | editor tests: card instance change made in monaco editor is auto-saved and includes a clientRequestId
Chrome ‑ Acceptance | code submode | editor tests: non-card instance change made in monaco editor is auto-saved and includes a clientRequestId

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant