fix: add explicit cloud conflict resolution - #150
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryPlayers with rejected cloud edits can now choose whether to keep their local work or adopt the cloud version. The cloud path refreshes the remote snapshot before removing selected rejected work, keeps unfinished text drafts during reload, and suppresses discarded page intents until the authoritative page is hydrated. Partial durable deletion and pre-hydration synchronization were exercised directly. A rejected edit whose durable deletion fails remains visible locally after the cloud refresh, while successfully discarded edits are not recreated as outgoing sync work before hydration. Confidence Score: 5/5The verified conflict-resolution paths are safe to merge. The partial durable-deletion scenario and the stale-canvas synchronization window were both executed with focused checks. The retained local entity remained visible after hydration, and the remote-adoption path prevented a discarded entity from creating new outgoing work before hydration. Files Needing Attention: No additional files need attention from the verified conflict-resolution behavior.
What T-Rex did
Reviews (1): Last reviewed commit: "fix: add explicit cloud conflict resolut..." | Re-trigger Greptile |
Adds an explicit Keep mine / Use cloud decision to rejected sync work. Use cloud refreshes the authoritative snapshot before mutation, durably removes only the selected rejected entity records and their successors, adopts only successfully deleted entities, preserves unrelated work and text drafts, and blocks reconciliation until remote hydration. Keep mine remains the explicit retry/rebase path. Includes deterministic queue, session, strategy-metadata, restart, partial-deletion, successor, no-resubmission, and widget failure-path coverage. Stacked on #144.