shankar0123
ee25f00207
M-029 Pass 1 batch 3: migrate 3 three-mutation pages to useTrackedMutation
Drains 9 more useMutation sites (42 -> 33). HealthMonitorPage hoists the
shared invalidation pair into a healthCheckInvalidates const so the three
mutations don't repeat the array literal.
Pages migrated:
- HealthMonitorPage.tsx create + delete + acknowledge all invalidate
[['health-checks'], ['health-checks-summary']]
(hoisted to a shared const)
- AgentGroupsPage.tsx delete + create + update all invalidate [['agent-groups']]
(queryClient kept — modal onSuccess props still use it)
- JobsPage.tsx cancel + approve + reject all invalidate [['jobs']]
Verification:
legacy useMutation count 42 -> 33 (-9)
useTrackedMutation count 14 -> 23 (+9)
Closes 23 of 56 sites toward M-029 Pass 1 completion.
2026-04-27 02:43:02 +00:00
..
2026-04-25 18:35:41 +00:00
2026-04-25 16:07:31 +00:00
2026-03-30 22:10:45 -04:00
2026-04-25 18:35:41 +00:00
2026-04-27 02:43:02 +00:00
2026-04-25 18:35:41 +00:00
2026-04-27 02:37:25 +00:00
2026-03-26 23:27:42 -04:00
2026-04-25 13:52:54 +00:00
2026-04-25 18:35:41 +00:00
2026-04-27 02:37:25 +00:00
2026-04-19 14:49:04 +00:00
2026-04-27 02:40:54 +00:00
2026-04-27 02:37:25 +00:00
2026-04-25 18:35:41 +00:00
2026-04-27 02:40:54 +00:00
2026-04-27 02:43:02 +00:00
2026-04-27 02:37:25 +00:00
2026-04-25 18:35:41 +00:00
2026-04-25 16:07:31 +00:00
2026-04-05 21:09:48 -04:00
2026-04-27 02:43:02 +00:00
2026-03-26 23:27:42 -04:00
2026-03-27 15:59:27 -04:00
2026-04-25 16:07:31 +00:00
2026-04-27 02:40:54 +00:00
2026-03-30 14:10:58 -04:00
2026-04-20 18:53:01 +00:00
2026-04-20 18:53:01 +00:00
2026-04-25 18:35:41 +00:00
2026-04-25 15:23:15 +00:00
2026-04-25 18:35:41 +00:00
2026-04-18 13:02:04 +00:00
2026-04-25 15:23:15 +00:00
2026-04-25 18:35:41 +00:00
2026-04-25 15:23:15 +00:00
2026-03-26 23:27:42 -04:00
2026-04-27 02:40:54 +00:00
2026-04-25 18:35:41 +00:00
2026-04-27 02:40:54 +00:00
2026-04-25 18:35:41 +00:00
2026-04-25 15:23:15 +00:00