Skip to content

state: Make review draft updates atomic - #1438

Merged
abhinav merged 1 commit into
review-command-cleanupfrom
review-draft-atomic
Sep 6, 2026
Merged

state: Make review draft updates atomic#1438
abhinav merged 1 commit into
review-command-cleanupfrom
review-draft-atomic

Conversation

@abhinav

@abhinav abhinav commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Concurrent review commands can derive changes from one draft document.
Saving either precomputed document can discard the winning change
or assign one branch-local ID twice.

Store drafts in an ID-keyed object
and update additions and edits with replayable JSON transformations.
Concurrent additions receive distinct IDs,
while edits to separate drafts preserve both changes.

Concurrent review commands can derive changes from one draft document.
Saving either precomputed document can discard the winning change
or assign one branch-local ID twice.

Store drafts in an ID-keyed object
and update additions and edits with replayable JSON transformations.
Concurrent additions receive distinct IDs,
while edits to separate drafts preserve both changes.
@abhinav abhinav added the skip changelog PRs that don't need a changelog. label Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changelog PRs that don't need a changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant