Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Issue the first Actions read before racing its late response
pulse-triage[bot]523b0fc974b0
diff --git a/frontend-modern/src/features/actions/__tests__/Actions.requestOwnership.test.tsx b/frontend-modern/src/features/actions/__tests__/Actions.requestOwnership.test.tsxindex d55e77437b..799ff5f8d7 100644--- a/frontend-modern/src/features/actions/__tests__/Actions.requestOwnership.test.tsx+++ b/frontend-modern/src/features/actions/__tests__/Actions.requestOwnership.test.tsx@@ -107,10 +107,14 @@ describe('Actions request ownership', () => {fireEvent.click(await screen.findByRole('button', { name: /Review Update on docker:container:edge-a/ }),);+ // Consecutive synchronous navigations may coalesce. Issue the first read+ // before selecting the next action, or there is no stale response to race.+ await waitFor(() => expect(ResourceActionsAPI.getAction).toHaveBeenCalledWith('edge-a'));fireEvent.click(screen.getByRole('button', { name: /Review Update on docker:container:edge-b/ }),);expect(await screen.findByText('docker:container:edge-b')).toBeVisible();+ expect(ResourceActionsAPI.getAction).toHaveBeenCalledWith('edge-b');first.resolve(detail('edge-a'));await waitFor(() => expect(ResourceActionsAPI.getAction).toHaveBeenCalledTimes(2));