Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

Align sharing validation with its explicit safety state

pulse-triage[bot]578ad0f01adf
diff --git a/frontend-modern/.bundlesize.json b/frontend-modern/.bundlesize.json
index 9b86338ca2..0b55a9f7a6 100644
--- a/frontend-modern/.bundlesize.json
+++ b/frontend-modern/.bundlesize.json
@@ -105,7 +105,8 @@
"baselineGzip": 5321
},
"OrganizationSharingPanel": {
- "baselineGzip": 5194
+ "baselineGzip": 5706,
+ "$comment": "31 Oct 2026: 512-byte reference allowance for selected-organization admission and no-replay sharing safety; the 15% threshold and total budgets are unchanged."
},
"RelaySettingsPanel": {
"baselineGzip": 5156
diff --git a/frontend-modern/src/components/Settings/__tests__/OrganizationSharingPanel.test.tsx b/frontend-modern/src/components/Settings/__tests__/OrganizationSharingPanel.test.tsx
index 66c19588aa..715233d177 100644
--- a/frontend-modern/src/components/Settings/__tests__/OrganizationSharingPanel.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/OrganizationSharingPanel.test.tsx
@@ -446,7 +446,7 @@ describe('selected sharing snapshot', () => {
await waitFor(() =>
expect(screen.queryByText('Alpha private workload')).not.toBeInTheDocument(),
);
- expect(screen.queryByRole('button', { name: 'Remove', exact: true })).not.toBeInTheDocument();
+ expect(screen.queryByRole('button', { name: 'Remove' })).not.toBeInTheDocument();
expect(screen.queryByRole('heading', { name: 'Create Share' })).not.toBeInTheDocument();
expect(await screen.findByRole('button', { name: 'Reload sharing' })).toBeEnabled();
});
@@ -588,7 +588,7 @@ describe('sharing read admission and recovery', () => {
listSharesMock.mockReturnValueOnce(next.promise);
emit('organizations_changed');
expect(screen.queryByText(outgoing.resourceName)).not.toBeInTheDocument();
- expect(screen.queryByRole('button', { name: 'Remove', exact: true })).not.toBeInTheDocument();
+ expect(screen.queryByRole('button', { name: 'Remove' })).not.toBeInTheDocument();
next.resolve([]);
await screen.findByRole('heading', { name: 'Outgoing Shares' });
expect(screen.queryByText(outgoing.resourceName)).not.toBeInTheDocument();