Hermes CI Fix
e3695088a4
fix(alerts): deterministic tiebreaker for paginated alert list
...
list_alerts ordered by created_at DESC alone; kpi_alerts has many rows sharing the same second timestamp (07:00 batches), so MySQL tie order is unstable and offset pagination both duplicated and skipped rows (entity 1 read-only probe: total=281, 281 rows walked, only 268 unique ids, 13 duplicates; id 587 unreachable in the unfiltered list while visible in ?status=pending).
Add secondary key id DESC so pages form a total order; add regression suite test_alerts_pagination_stability_20260925.py (tie-heavy fixture: unique==total, zero duplicates, strict id DESC inside a tie group, page concat == single-shot ordered query, unfiltered vs status-filtered visibility, entity isolation negative control).
2026-09-25 14:06:38 +08:00
..
2026-05-28 17:42:15 +08:00
2026-07-12 17:46:08 +08:00
2026-09-18 17:33:25 +08:00
2026-08-27 12:50:30 +08:00
2026-09-18 20:03:55 +08:00
2026-09-18 20:12:46 +08:00
2026-09-21 15:13:27 +08:00
2026-07-27 17:16:01 +08:00
2026-09-18 21:04:30 +08:00
2026-09-15 18:36:46 +08:00
2026-09-25 10:39:18 +08:00
2026-09-19 11:12:31 +08:00
2026-09-19 11:12:31 +08:00
2026-09-25 10:39:18 +08:00
2026-09-25 14:06:38 +08:00
2026-07-27 17:16:01 +08:00
2026-09-22 11:06:02 +08:00
2026-09-15 17:00:52 +08:00
2026-09-15 17:00:52 +08:00
2026-09-15 17:00:52 +08:00
2026-08-30 19:16:19 +08:00
2026-09-23 21:39:24 +08:00
2026-09-03 18:08:27 +08:00
2026-08-27 10:59:56 +08:00
2026-09-23 18:29:52 +08:00
2026-09-15 18:36:46 +08:00
2026-09-25 10:39:18 +08:00
2026-09-14 20:37:12 +08:00
2026-09-13 07:38:58 +08:00
2026-09-11 17:13:07 +08:00
2026-09-15 18:36:46 +08:00
2026-09-03 01:22:46 +08:00
2026-08-27 15:51:19 +08:00
2026-09-23 01:03:19 +08:00
2026-09-05 09:10:35 +08:00
2026-09-18 18:15:22 +08:00
2026-09-18 19:03:49 +08:00
2026-09-18 19:34:59 +08:00
2026-09-21 09:37:38 +08:00
2026-09-21 10:36:02 +08:00
2026-09-21 14:56:43 +08:00
2026-09-10 09:56:50 +08:00
2026-09-14 17:39:53 +08:00
2026-08-26 07:51:39 +08:00
2026-09-14 17:39:53 +08:00
2026-08-30 10:27:01 +08:00
2026-07-27 17:16:01 +08:00
2026-09-18 20:33:39 +08:00
2026-09-24 01:07:29 +08:00
2026-09-23 21:39:24 +08:00
2026-09-23 23:08:26 +08:00
2026-09-15 17:00:52 +08:00
2026-09-15 18:12:05 +08:00
2026-08-26 06:53:25 +08:00
2026-09-15 17:00:52 +08:00
2026-09-14 17:39:53 +08:00
2026-09-14 18:12:38 +08:00
2026-07-27 17:16:01 +08:00
2026-09-14 17:39:53 +08:00
2026-09-16 14:48:06 +08:00
2026-09-14 17:39:53 +08:00
2026-09-14 17:39:53 +08:00
2026-09-14 17:39:53 +08:00
2026-09-22 11:06:02 +08:00
2026-07-12 17:46:08 +08:00
2026-07-12 17:46:08 +08:00
2026-09-21 10:36:02 +08:00
2026-08-20 06:57:24 +08:00
2026-08-30 23:13:32 +08:00
2026-09-18 20:23:53 +08:00
2026-09-18 17:33:25 +08:00
2026-09-16 01:17:09 +08:00
2026-09-15 17:00:52 +08:00
2026-09-12 10:42:46 +08:00
2026-09-15 18:36:46 +08:00
2026-09-14 17:39:53 +08:00
2026-09-14 17:39:53 +08:00
2026-08-25 23:59:33 +08:00
2026-09-21 10:36:02 +08:00
2026-09-11 17:25:24 +08:00
2026-09-11 17:27:12 +08:00
2026-08-20 06:57:24 +08:00
2026-07-12 17:46:08 +08:00
2026-07-12 17:46:08 +08:00
2026-07-12 17:46:08 +08:00
2026-09-14 19:05:16 +08:00
2026-09-14 19:05:16 +08:00
2026-09-22 11:21:24 +08:00