viettranx
84babc1c3c
refactor(ws/heartbeat): accept agent_key or UUID via cache-aware resolver
...
All 7 heartbeat handlers (get/set/toggle/test/logs/checklistGet/checklistSet)
now accept either a UUID or an agent_key for params.agentId. Behavior
additive — existing UUID-only clients keep working.
Adds HeartbeatMethods.SetAgentRouter setter wired from cmd/gateway_methods.go
so the fast path avoids a DB roundtrip for cached agents. Preserves the
literal "invalid agentId" error string (no i18n key change).
Phase 3 of agent identity hardening.
2026-04-11 21:22:23 +07:00
..
2026-03-27 09:35:57 +07:00
2026-03-10 00:09:15 +07:00
2026-03-06 18:51:11 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-03-10 00:09:15 +07:00
2026-03-10 00:09:15 +07:00
2026-04-07 12:12:44 +07:00
2026-03-30 21:36:09 +07:00
2026-03-30 21:36:09 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-03-27 09:28:42 +07:00
2026-04-09 23:15:08 +07:00
2026-04-09 21:15:19 +07:00
2026-03-31 11:45:16 +07:00
2026-03-31 23:14:39 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 23:15:08 +07:00
2026-04-09 23:15:08 +07:00
2026-03-30 15:20:01 +07:00
2026-03-23 08:08:23 +07:00
2026-03-31 23:14:39 +07:00
2026-04-10 19:50:49 +07:00
2026-04-10 18:25:08 +07:00
2026-03-04 10:11:17 +07:00
2026-04-09 21:15:19 +07:00
2026-04-10 20:52:28 +07:00
2026-03-27 09:28:42 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-04 13:18:57 +07:00
2026-04-10 18:25:08 +07:00
2026-04-10 12:00:34 +07:00
2026-04-10 13:28:44 +07:00
2026-04-11 21:22:23 +07:00
2026-02-22 14:58:07 +07:00
2026-02-22 14:58:07 +07:00
2026-04-09 21:15:19 +07:00
2026-03-19 13:35:57 +07:00
2026-03-19 13:35:57 +07:00
2026-04-08 13:35:19 +07:00
2026-04-09 21:15:19 +07:00
2026-03-19 13:35:57 +07:00
2026-03-27 09:28:42 +07:00
2026-03-27 09:28:42 +07:00
2026-03-27 09:28:42 +07:00
2026-03-31 11:45:16 +07:00
2026-04-09 21:15:19 +07:00
2026-04-10 16:32:54 +07:00
2026-04-09 21:15:19 +07:00
2026-02-22 14:58:07 +07:00
2026-04-04 06:58:15 +07:00
2026-04-10 13:28:44 +07:00
2026-04-10 18:25:08 +07:00
2026-03-07 20:51:39 +07:00
2026-03-11 07:27:38 +07:00
2026-03-09 22:28:18 +07:00
2026-04-09 21:15:19 +07:00
2026-03-10 00:09:15 +07:00
2026-03-07 00:46:29 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-03-06 18:51:11 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-03-07 20:51:39 +07:00