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
test(backup): set CHAIN_POSITION on sweep-up-pending-parent test fixtures
deletingLeafSweepsUpDeletePendingParent previously omitted CHAIN_POSITION
because the old PARENT_BACKUP_ID-walking sweep didn't depend on it. The new
getChainOrderedLeafToRoot helper (096bef1) sorts the chain by
CHAIN_POSITION desc; without those mocks both backups returned MAX_VALUE,
the stable sort left the leaf at index 0 and the parent never got swept.
Real backups always carry CHAIN_POSITION (set in persistChainMetadata), so
this aligns the fixtures with production data rather than papering over the
new sort assumption.
0 commit comments