kshitijk4poor
5c3afeee45
refactor(memory): derive a payload's destructive ops in one place
...
"The replace/remove ops of a staged payload, single or batch" was spelled
three ways across apply_memory_pending, the CLI pending list and the pin
step, one of them re-typing _BG_DELETE_ACTIONS as a literal tuple. One
destructive_ops() helper beside the constant replaces them, and the CLI
drops isinstance guards on records this code itself wrote (the apply path
never checked them either).
Tests: the legacy/unpinned case had its own outcome and an early return
inside the parametrised "names the removed entry" test; it is its own
test now, so each name states what it asserts.
2026-09-24 15:38:22 +05:30
..
2026-09-23 16:58:39 -07:00
2026-09-24 05:02:30 -05:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 16:21:19 -07:00
2026-09-23 18:29:35 -05:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-24 00:17:13 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 17:55:23 -07:00
2026-09-23 19:54:47 -07:00
2026-09-24 13:58:24 +05:30
2026-09-24 15:37:00 +05:30
2026-09-23 03:15:26 -07:00
2026-09-23 16:59:09 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 10:34:54 -07:00
2026-09-23 10:34:54 -07:00
2026-09-23 10:34:54 -07:00
2026-09-24 02:40:53 -05:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-24 15:38:22 +05:30
2026-09-24 04:31:47 -05:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 17:09:54 -07:00
2026-09-23 03:15:26 -07:00
2026-09-21 20:05:27 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 19:26:00 -07:00
2026-09-23 21:26:49 +05:30
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 08:09:47 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-22 16:15:34 +05:30
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-22 00:09:45 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 15:05:44 -07:00
2026-09-21 08:58:37 -07:00
2026-09-23 03:15:26 -07:00