Hermes CI Fix
d785a22efd
fix(alerts): scope check-timeout batch upgrade by KPIAlert.entity_id
...
GET /api/cma/alerts/check-timeout picked candidates via the join on KPIDefinition.entity_id, so a session could batch-upgrade (red + processing) alert rows whose own entity_id belongs to another account. Switch the filter to the alert row's own entity_id, drop the now-unneeded join and the unused KPIDefinition import. Write path only; no data change, candidate ids on consistent rows are identical before/after.
Derived from dama-20260919-cma-alert-filter-and-cash-baseline-fix (C1/C2 residual in the write endpoint).
2026-09-19 08:35:25 +08:00
..
2026-05-28 17:32:22 +08:00
2026-09-18 20:03:55 +08:00
2026-09-07 10:22:24 +08:00
2026-09-18 21:04:30 +08:00
2026-09-10 09:56:50 +08:00
2026-09-19 08:35:25 +08:00
2026-09-18 17:18:52 +08:00
2026-07-29 18:25:08 +08:00
2026-09-12 10:07:20 +08:00
2026-09-17 00:10:07 +08:00
2026-08-23 18:20:29 +08:00
2026-09-13 00:37:10 +08:00
2026-09-13 00:37:10 +08:00
2026-08-28 00:31:31 +08:00
2026-09-15 17:48:56 +08:00
2026-09-03 18:08:27 +08:00
2026-08-11 11:29:39 +08:00
2026-07-12 17:46:08 +08:00
2026-09-18 18:15:22 +08:00
2026-08-28 18:03:47 +08:00
2026-09-11 17:13:07 +08:00
2026-09-14 20:37:12 +08:00
2026-09-18 00:34:04 +08:00
2026-09-18 18:42:38 +08:00
2026-07-12 17:46:08 +08:00
2026-09-18 15:39:12 +08:00
2026-08-26 07:51:39 +08:00
2026-09-14 12:09:04 +08:00
2026-09-08 11:19:38 +08:00
2026-08-28 18:03:47 +08:00
2026-09-18 20:23:53 +08:00
2026-07-22 12:58:04 +08:00
2026-07-19 10:07:46 +08:00
2026-08-23 18:20:29 +08:00
2026-09-15 18:12:05 +08:00
2026-08-11 11:29:39 +08:00
2026-09-03 23:09:58 +08:00
2026-09-03 23:00:15 +08:00
2026-08-27 15:51:19 +08:00
2026-08-21 16:28:23 +08:00
2026-09-15 17:48:56 +08:00
2026-07-22 18:22:48 +08:00
2026-09-16 14:48:06 +08:00
2026-09-14 16:41:15 +08:00
2026-08-26 23:45:20 +08:00
2026-09-16 14:48:06 +08:00
2026-09-18 20:03:55 +08:00
2026-08-27 10:59:56 +08:00
2026-05-28 17:32:22 +08:00
2026-09-14 16:41:15 +08:00
2026-09-14 16:41:15 +08:00
2026-09-14 16:41:15 +08:00
2026-09-16 01:17:09 +08:00
2026-07-12 17:46:08 +08:00
2026-07-21 23:41:40 +08:00
2026-08-11 11:32:30 +08:00
2026-08-10 23:40:31 +08:00
2026-09-14 16:41:15 +08:00
2026-09-11 17:27:12 +08:00
2026-09-16 14:56:57 +08:00
2026-05-28 17:32:22 +08:00
2026-08-28 18:03:47 +08:00
2026-08-30 19:16:19 +08:00
2026-09-08 20:11:59 +08:00
2026-08-28 18:03:47 +08:00