mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-06 14:00:09 +02:00
P0: Add onSettled: invalidateQueries to 10 mutations that had onMutate optimistic updates but no server confirmation. With staleTime: Infinity, missing onSettled means cache could permanently drift from server state. Mutations fixed: - useDeleteIssue, useBatchDeleteIssues (issue list) - useUpdateComment, useDeleteComment, useToggleCommentReaction (timeline) - useToggleIssueReaction (reactions) - useToggleIssueSubscriber (subscribers) - useMarkInboxRead, useArchiveInbox, useMarkAllInboxRead (inbox) P2: Change refetchOnReconnect from false to true as safety net for HTTP reconnection before WS reconnection. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>