Fix transaction event sequencing and frontend deduplication #8
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority:P1
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/quasar#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
PR #3 emits every event in a multi-operation transaction with the same operation ID and the same workspace revision.
The frontend event bus drops an event when:
As a result, only the first event from a multi-operation transaction is delivered to subscribers. The remaining authoritative changes can be silently ignored by the UI.
The event bus also tracks one global revision across all workspaces and retains operation IDs without a bound.
Found during review of PR #3.
Required changes
Suggested event shape:
Acceptance criteria
Related PR: #3