Page MenuHomePhabricator

[lib] check timestamps before processing delete entry operation
ClosedPublic

Authored by will on Sep 16 2024, 1:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 22, 9:26 PM
Unknown Object (File)
Sun, Dec 22, 9:26 PM
Unknown Object (File)
Sun, Dec 22, 9:26 PM
Unknown Object (File)
Sun, Dec 22, 9:26 PM
Unknown Object (File)
Nov 20 2024, 7:02 AM
Unknown Object (File)
Nov 20 2024, 6:40 AM
Unknown Object (File)
Oct 23 2024, 9:12 AM
Unknown Object (File)
Oct 23 2024, 9:12 AM
Subscribers
None

Details

Summary

Checks timestamps to unsure delete operation isn't alread out of date. If it is, produces a no-op update.

Depends on D13347

Test Plan

As previous, unsure yet how to test this. Will update test plan later

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

will requested review of this revision.Sep 16 2024, 2:09 AM
tomek added inline comments.
lib/shared/dm-ops/delete-entry-spec.js
64–65 ↗(On Diff #44202)

Can we exit early if this condition isn't met and use the same property name (time) consistently for all the operations?

This revision is now accepted and ready to land.Sep 16 2024, 5:49 AM