Thomas Camlong
c4a664b7ac
fix: address PR review — bugs, dead code, error handling
Critical fixes:
- Smart Home: invalidate entity state query after toggle mutation
- Beszel live mode: use 5s refetchInterval instead of global 30s
- Fix unit test assertions for 5-arg setQueryCacheAsync signature
- Fix serialize/deserialize mismatch: JSON.parse on read (matches persister's JSON.stringify)
- Remove render-time setActiveQueryCacheBoardId race (keep only useEffect)
Error handling:
- Log persistence errors instead of swallowing with catch(() => {})
- Log QueryCacheHydration failures with ErrorWithMetadata
- Beszel: log partial failures (system details, container stats)
Dead code removal:
- Remove dead queryKey from all 39 request handlers + lib files
- Delete unused Redis APIs: createCacheChannel, createChannelWithLatestAndEvents,
createChannelEventHistory, history-channel.ts
- Remove stale createCacheChannel mock from docker test
Cleanup:
- Seed system-resources chart from initial query data (no empty start)
- Remove redundant refetchOnWindowFocus/refetchOnReconnect from BoardProvider
2026-06-25 11:25:09 +02:00
..
2026-06-19 21:21:50 +02:00
2026-06-25 11:25:09 +02:00
2026-06-19 21:24:15 +02:00
2026-06-25 11:25:09 +02:00
2026-05-29 11:07:48 +02:00
2026-06-05 16:50:35 +02:00
2026-05-29 11:07:48 +02:00
2026-05-29 11:07:48 +02:00
2026-06-24 14:55:17 +02:00
2026-06-19 21:21:50 +02:00
2026-06-18 12:45:02 +02:00
2026-06-17 17:06:23 +02:00
2026-06-05 16:57:26 +02:00
2026-05-29 11:07:48 +02:00
2026-06-22 15:22:25 +02:00
2026-05-29 11:07:48 +02:00
2026-06-11 11:50:49 +02:00
2026-06-22 15:20:12 +02:00
2026-06-05 16:50:35 +02:00
2026-06-05 16:50:35 +02:00
2026-06-05 16:36:45 +02:00
2026-06-05 16:50:35 +02:00
2026-05-29 11:07:48 +02:00
2026-05-29 11:07:48 +02:00
2026-06-25 11:25:09 +02:00
2026-06-25 11:25:09 +02:00
2026-06-19 21:21:50 +02:00
2026-06-05 16:26:48 +02:00
2026-06-05 16:26:48 +02:00
2026-06-24 14:55:17 +02:00
2026-06-12 13:52:43 +02:00
2026-06-19 21:21:50 +02:00
2026-06-25 11:25:09 +02:00