Skip to content

state: Couple drafts to branch lifecycle - #1439

Merged
abhinav merged 1 commit into
review-draft-atomicfrom
review-draft-lifecycle
Sep 6, 2026
Merged

state: Couple drafts to branch lifecycle#1439
abhinav merged 1 commit into
review-draft-atomicfrom
review-draft-lifecycle

Conversation

@abhinav

@abhinav abhinav commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Review drafts live separately from branch records.
Their ID allocator therefore persists after publication.
Deleting or renaming a branch without updating that document
leaves orphaned state or strands drafts under an obsolete name.

Delete or move the draft document with the branch state transaction.
Draft mutations read the owning branch from the same snapshot.
A concurrent untrack therefore cannot recreate discarded state.

Review drafts live separately from branch records.
Their ID allocator therefore persists after publication.
Deleting or renaming a branch without updating that document
leaves orphaned state or strands drafts under an obsolete name.

Delete or move the draft document with the branch state transaction.
Draft mutations read the owning branch from the same snapshot.
A concurrent untrack therefore cannot recreate discarded state.
@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