Issue: Missing LTRIM support and ziplist edge‑case fixes
Issue: Missing LTRIM support and ziplist edge‑case fixes: a task in LegoFlow-SWE (Harbor dataset). The Redis list command LTRIM is not implemented, causing errors when clients attempt to trim a list. The underlying ziplist data structure lacks the necessary trim and truncate operations…
The task
The Redis list command `LTRIM` is not implemented, causing errors when clients attempt to trim a list. The underlying ziplist data structure lacks the necessary trim and truncate operations. Additionally, the existing `ziplist_remove_val` and `ziplist_remove` functions incorrectly return an error when `count=0`,…
Part of Lego-X/LegoFlow-SWE.