You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6093d2a
Browse filesBrowse the repository at this point in the historyBrowse files
abort-merge
committed
test(task-history): assert the values a duplicate-id restore puts back
The duplicate-id restore test asserted membership: that the cache holds the id,
that an mtime record exists beside it, and that the write-through payload
mentions the id. A restoration that rebuilt the entry with different metadata, or
wrote back a zero mtime, satisfied every one of those.
Capture the entry and the mtime this store serves before the batch runs - as a
copy, because the restoration hands back the very object a plain capture would
have aliased - and compare the restored entry, the restored mtime and the whole
published payload against them. The three-attempt test beside it gets the same
treatment.
Control: with the restore site changed to write a mutated prompt and a zeroed
mtime, both tests fail - 2 failed | 38 passed, each on the deep equality of the
restored entry - and both pass at 60f9c8c, so this pins what the restore must
preserve without changing what it does. Spec-only: no production line moved in
this commit.
0 commit comments