-
Notifications
You must be signed in to change notification settings - Fork 0
Late comment reads can erase newer comment mutations from the shared cache #3303
Copy link
Copy link
Open
Labels
Priority IIThe active direction's next tranche: wedge capabilities, significant defects, near-term hardening.The active direction's next tranche: wedge capabilities, significant defects, near-term hardening.bugSomething isn't workingSomething isn't workingfrontendPrimary implementation impact in Vue/TypeScript UI and client runtime.Primary implementation impact in Vue/TypeScript UI and client runtime.testingTest coverage, harnesses, regression prevention, and verification pipeline work.Test coverage, harnesses, regression prevention, and verification pipeline work.
Description
Activity
Metadata
Metadata
Assignees
Labels
Priority IIThe active direction's next tranche: wedge capabilities, significant defects, near-term hardening.The active direction's next tranche: wedge capabilities, significant defects, near-term hardening.bugSomething isn't workingSomething isn't workingfrontendPrimary implementation impact in Vue/TypeScript UI and client runtime.Primary implementation impact in Vue/TypeScript UI and client runtime.testingTest coverage, harnesses, regression prevention, and verification pipeline work.Test coverage, harnesses, regression prevention, and verification pipeline work.
Projects
- StatusShow more project fieldsReview
Summary
cardCommentStore.fetchCardCommentscommits every response directly intocardCommentsByCardId, while create/update/delete mutate the same cache independently. The modal's generation token protects only its local loading/error state; it does not prevent the store from committing a stale payload.Confirmed races
Two overlapping fetches can also resolve out of order, and a request that outlives board navigation can repopulate the cache for the board that is no longer selected.
Expected contract
Acceptance