gsxdsm
b6243d68fe
FN-6197: suppress tab-resume fetch errors in dashboard
Keep cached dashboard data visible while reconnecting after transient tab-resume fetch failures.
- detect likely tab suspension and visibility-resume fetch errors across dashboard data hooks
- suppress transient "Failed to fetch" errors when cached project and node data already exist
- show a "Connecting…" executor status state instead of surfacing raw resume-time fetch errors
- add dashboard tests covering visibility suspension handling and executor reconnect rendering
- add a patch changeset for the published CLI package
Files changed:
.changeset/tame-tab-resume-fetch.md | 5 +
packages/dashboard/app/App.tsx | 16 ++-
.../dashboard/app/components/ExecutorStatusBar.css | 19 ++-
.../dashboard/app/components/ExecutorStatusBar.tsx | 12 ++
.../__tests__/ExecutorStatusBar.test.tsx | 20 ++-
.../dashboard/app/hooks/__tests__/useNodes.test.ts | 149 ++++++++++++++++++++-
.../app/hooks/__tests__/useProjects.test.ts | 72 +++++++++-
.../hooks/__tests__/visibilitySuspension.test.ts | 13 ++
packages/dashboard/app/hooks/useExecutorStats.ts | 15 ++-
.../dashboard/app/hooks/useManagedDockerNodes.ts | 25 +++-
packages/dashboard/app/hooks/useMeshState.ts | 25 +++-
packages/dashboard/app/hooks/useNodes.ts | 25 +++-
packages/dashboard/app/hooks/useProjectHealth.ts | 18 ++-
packages/dashboard/app/hooks/useProjects.ts | 27 +++-
packages/dashboard/app/hooks/useUsageData.ts | 24 +++-
.../dashboard/app/hooks/visibilitySuspension.ts | 4 +
16 files changed, 435 insertions(+), 34 deletions(-)
Fusion-Task-Id: FN-6197
Fusion-Task-Lineage: 834f56d8-8391-414f-8cbd-7e626c5724d0
2026-06-10 09:21:48 -07:00
..
2026-06-10 09:21:48 -07:00
2026-06-09 01:57:16 -07:00
2026-06-10 01:10:11 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-05-30 16:25:09 -07:00
2026-06-03 20:52:44 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-08 10:33:17 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 17:14:42 -07:00
2026-06-03 20:56:05 -07:00
2026-05-16 18:40:03 -07:00
2026-06-03 20:52:44 -07:00
2026-06-08 13:32:58 -07:00
2026-06-08 13:32:58 -07:00
2026-05-30 14:20:12 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-06-07 23:30:16 -07:00
2026-06-09 09:10:57 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-06-09 22:44:30 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-06-10 06:02:12 -07:00
2026-06-05 01:16:13 -07:00
2026-05-19 03:21:17 -07:00
2026-06-09 16:02:08 -07:00
2026-06-08 13:32:58 -07:00
2026-06-01 16:24:21 -07:00
2026-06-03 20:56:05 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-04 08:00:33 -07:00
2026-06-09 12:51:20 -07:00
2026-06-10 00:16:35 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:06:53 -07:00
2026-06-05 02:38:38 -07:00
2026-06-09 01:29:47 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 01:08:09 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-05-22 17:24:38 -07:00
2026-06-07 22:07:47 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 19:48:40 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:48:40 -07:00
2026-06-03 20:52:44 -07:00
2026-05-20 14:28:45 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 20:52:44 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-06-06 01:32:06 -07:00
2026-06-06 07:01:48 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 19:48:40 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-06-07 23:30:16 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 20:52:44 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-06-10 09:21:48 -07:00
2026-06-10 09:21:48 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-06-09 12:51:20 -07:00
2026-06-09 12:51:20 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:48:40 -07:00
2026-06-03 19:06:53 -07:00
2026-05-17 08:22:26 -07:00
2026-06-09 00:32:23 -07:00
2026-06-09 00:32:23 -07:00
2026-06-03 22:35:28 -07:00
2026-06-03 22:35:28 -07:00
2026-06-03 20:52:44 -07:00
2026-06-02 17:58:41 -07:00
2026-06-03 19:06:53 -07:00
2026-06-01 05:15:14 -07:00
2026-06-03 20:56:05 -07:00
2026-05-23 00:03:22 -07:00
2026-06-09 03:39:14 -07:00
2026-06-03 20:52:44 -07:00
2026-06-09 02:09:31 -07:00
2026-06-09 12:51:20 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 19:48:40 -07:00
2026-05-16 09:21:06 -07:00
2026-06-09 16:02:08 -07:00
2026-06-09 12:51:20 -07:00
2026-06-10 01:10:11 -07:00
2026-06-03 17:33:16 -07:00
2026-06-07 23:30:16 -07:00
2026-06-07 23:39:51 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-05-16 09:42:37 -07:00
2026-06-10 00:25:10 -07:00
2026-06-03 20:52:44 -07:00
2026-06-10 00:25:10 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 01:08:09 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 20:52:44 -07:00
2026-06-02 23:47:32 -07:00
2026-06-03 20:52:44 -07:00
2026-06-02 18:15:14 -07:00
2026-06-03 20:52:44 -07:00
2026-06-08 14:22:03 -07:00
2026-06-08 14:22:03 -07:00
2026-06-09 17:56:24 -07:00
2026-06-09 08:30:35 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-06-09 12:51:20 -07:00
2026-06-03 20:52:44 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-05-22 17:24:38 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-05-29 09:44:17 -07:00
2026-06-04 23:47:24 -07:00
2026-06-03 20:52:44 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:06:53 -07:00
2026-06-09 23:52:37 -07:00
2026-06-03 20:52:44 -07:00
2026-05-27 21:31:12 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:48:40 -07:00
2026-06-03 19:48:40 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 20:52:44 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-05-31 21:59:06 -07:00
2026-06-03 20:52:44 -07:00
2026-06-09 07:00:05 -07:00
2026-06-09 07:00:05 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 01:08:09 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 22:35:28 -07:00
2026-06-07 18:51:46 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-06-07 23:30:16 -07:00
2026-06-09 03:39:14 -07:00
2026-05-28 23:31:03 -07:00
2026-06-03 20:52:44 -07:00
2026-06-10 06:02:12 -07:00
2026-06-05 22:18:34 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-06-09 22:13:54 -07:00
2026-06-09 22:13:54 -07:00
2026-06-09 12:51:20 -07:00
2026-06-09 12:50:26 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 20:52:44 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 20:52:44 -07:00
2026-06-09 18:49:02 -07:00
2026-06-03 20:52:44 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-05-22 17:24:38 -07:00
2026-06-05 01:16:13 -07:00
2026-06-08 13:32:58 -07:00
2026-06-05 02:27:46 -07:00
2026-06-08 13:32:58 -07:00
2026-06-07 22:07:47 -07:00
2026-06-03 19:06:53 -07:00
2026-06-09 18:49:02 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:48:40 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-06-02 19:10:50 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-05-23 13:06:48 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:48:40 -07:00
2026-06-03 20:52:44 -07:00
2026-06-10 06:02:12 -07:00
2026-06-09 01:29:47 -07:00
2026-06-02 07:40:37 -07:00
2026-06-07 18:51:46 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-06-09 03:57:40 -07:00
2026-06-09 23:21:46 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-06-10 06:02:12 -07:00
2026-06-04 16:16:50 -07:00
2026-06-04 23:47:24 -07:00
2026-06-03 19:48:40 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 15:32:29 -07:00
2026-06-07 18:51:46 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-09 23:03:51 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-06-03 19:48:40 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 20:52:44 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-06-06 00:56:12 -07:00
2026-06-08 13:32:58 -07:00
2026-06-09 09:16:59 -07:00
2026-06-07 22:07:47 -07:00
2026-06-05 09:29:04 -07:00
2026-06-10 01:10:11 -07:00
2026-06-04 12:44:43 -07:00
2026-06-10 08:37:01 -07:00
2026-06-10 08:37:01 -07:00
2026-06-08 10:33:17 -07:00
2026-06-08 10:33:17 -07:00
2026-06-09 09:16:59 -07:00
2026-06-09 08:14:16 -07:00
2026-06-10 01:10:11 -07:00
2026-06-09 06:25:16 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00
2026-06-04 12:26:05 -07:00
2026-05-22 17:24:38 -07:00
2026-06-03 19:06:53 -07:00