axelray-dev
5692f7a68a
refactor(session): return RetentionResult instead of bare tuple
...
Replace the tuple(list[dict], int) return of
Session.retain_recent_legal_suffix with a named RetentionResult
dataclass that exposes retained, dropped,
already_consolidated_count, and new_last_consolidated fields.
The tuple return was easy to misuse because the second value only
made sense relative to the first and the old last_consolidated
cursor. The named fields make the archive-skip semantics explicit
at every call site.
No behavior change. All existing tests pass unchanged in semantics.
Refs #4136
Signed-off-by: axelray-dev <110029405+axelray-dev@users.noreply.github.com>
2026-06-29 14:24:00 +08:00
..
2026-06-29 14:23:55 +08:00
2026-04-16 23:44:26 +08:00
2026-06-29 14:23:55 +08:00
2026-06-29 14:24:00 +08:00
2026-06-02 22:46:47 +08:00
2026-06-10 18:09:45 +08:00
2026-04-26 20:24:42 +08:00
2026-06-18 00:03:22 +08:00
2026-05-12 11:28:20 +08:00
2026-05-23 00:33:31 +08:00
2026-06-17 00:47:52 +08:00
2026-06-21 13:05:57 +08:00
2026-05-29 15:31:03 +08:00
2026-06-27 16:29:31 +08:00
2026-05-12 11:28:20 +08:00
2026-06-18 00:03:26 +08:00
2026-06-12 18:13:25 +08:00
2026-06-27 16:47:48 +08:00
2026-04-04 10:01:45 +00:00
2026-06-05 01:09:45 +08:00
2026-06-10 18:09:45 +08:00
2026-03-25 22:07:14 +08:00
2026-06-21 16:55:23 +08:00
2026-05-16 16:33:49 +08:00
2026-05-19 15:35:19 +08:00
2026-06-10 18:10:44 +08:00
2026-06-10 14:47:20 +08:00
2026-06-27 11:04:36 +08:00
2026-05-12 11:28:20 +08:00
2026-06-29 14:23:55 +08:00
2026-06-22 18:59:50 +08:00
2026-06-04 10:43:09 +08:00
2026-06-25 22:53:10 +08:00
2026-06-25 22:52:50 +08:00
2026-06-10 14:47:20 +08:00
2026-05-29 15:31:17 +08:00
2026-06-19 14:59:44 +08:00
2026-06-16 11:19:24 +08:00
2026-06-28 19:46:59 +08:00
2026-06-06 19:49:33 +08:00
2026-06-15 15:13:03 +08:00
2026-06-27 11:04:41 +08:00
2026-05-18 22:01:33 +08:00
2026-06-24 15:45:34 +08:00
2026-05-13 12:49:17 +08:00
2026-06-09 14:50:40 +08:00
2026-06-02 22:46:47 +08:00
2026-06-18 00:03:13 +08:00
2026-06-03 15:01:29 +08:00
2026-06-27 16:52:54 +08:00
2026-06-27 16:52:54 +08:00
2026-06-29 14:24:00 +08:00
2026-03-24 15:12:22 +08:00
2026-04-14 15:29:59 +08:00
2026-05-13 12:49:17 +08:00
2026-06-04 19:41:32 +08:00
2026-06-25 22:53:36 +08:00
2026-06-12 11:57:35 +08:00
2026-06-28 19:46:59 +08:00
2026-05-12 11:28:20 +08:00
2026-05-12 11:28:20 +08:00
2026-06-12 11:57:35 +08:00
2026-06-18 00:03:26 +08:00