Skip to content

fix(realtime): preserve debounced subblock save order - #7770

Draft
j15z wants to merge 1 commit into
codex/fix-search-replacement-comparisonfrom
codex/fix-realtime-save-order
Draft

fix(realtime): preserve debounced subblock save order#7770
j15z wants to merge 1 commit into
codex/fix-search-replacement-comparisonfrom
codex/fix-realtime-save-order

Conversation

@j15z

@j15z j15z commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

Serialize debounced saves for each subblock so a slow older save cannot overwrite a newer edit. Coalesce pending edits, continue after failed saves, and acquire the shared workflow-row lock before reading block state.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Other: ___________

Testing

Seven regression tests pass, covering stalled lookups, confirmation order, coalescing, failed saves, recovery, and independent subblocks. The full realtime suite passes 393 tests.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Screenshots/Videos

Not applicable.

@vercel

vercel Bot commented Sep 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Sep 12, 2026 8:29pm UTC

Request Review

@j15z
j15z force-pushed the codex/fix-search-replacement-comparison branch from 5d57793 to 26dc6fc Compare September 12, 2026 20:27
@j15z
j15z force-pushed the codex/fix-realtime-save-order branch from 96669d3 to 98f72cc Compare September 12, 2026 20:27
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