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.

test(ci): repin touch-target classes, snapshot size defaults, sync shipped signing doc

rcourtmana94980797bba
diff --git a/frontend-modern/public/docs/CODE_SIGNING_POLICY.md b/frontend-modern/public/docs/CODE_SIGNING_POLICY.md
index f769320694..0876f8d4dc 100644
--- a/frontend-modern/public/docs/CODE_SIGNING_POLICY.md
+++ b/frontend-modern/public/docs/CODE_SIGNING_POLICY.md
@@ -23,7 +23,7 @@ signatures remain mandatory and are not a substitute for Authenticode. The
`test-signing` policy may be used to validate the integration, but its test
certificate is untrusted and its output must never be published as a
production release. The manual
-[`SignPath Test Signing Proof`](https://github.com/rcourtman/Pulse/blob/main/.github/workflows/signpath-test-signing.yml)
+[`SignPath Test Signing Proof`](../.github/workflows/signpath-test-signing.yml)
workflow is the only test-signing entrypoint: it is restricted to `main`,
hard-codes the test policy, verifies the exact returned file set, and uploads
only a non-production JSON evidence record after verification. It never uploads
diff --git a/frontend-modern/src/components/shared/__tests__/statusBadgeModel.branchcov0713.test.ts b/frontend-modern/src/components/shared/__tests__/statusBadgeModel.branchcov0713.test.ts
index 3856f62ad0..f3f47e67cf 100644
--- a/frontend-modern/src/components/shared/__tests__/statusBadgeModel.branchcov0713.test.ts
+++ b/frontend-modern/src/components/shared/__tests__/statusBadgeModel.branchcov0713.test.ts
@@ -18,7 +18,7 @@ import {
// in sync with the source is the same pattern used by
// containerUpdateBadgeModel.branchcov2.test.ts.
const STATUS_BADGE_BASE_CLASS =
- 'inline-flex items-center justify-center text-xs font-medium rounded-md transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-blue-400';
+ 'inline-flex min-h-11 items-center justify-center rounded-md text-xs font-medium transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-blue-400 sm:min-h-0';
const STATUS_BADGE_PADDING_BY_SIZE: Record<StatusBadgeSize, string> = {
sm: 'px-2 py-0.5',
md: 'px-2.5 py-1',
diff --git a/frontend-modern/src/pages/__tests__/NotFound.test.tsx b/frontend-modern/src/pages/__tests__/NotFound.test.tsx
index 2cf58f94a2..794fb66604 100644
--- a/frontend-modern/src/pages/__tests__/NotFound.test.tsx
+++ b/frontend-modern/src/pages/__tests__/NotFound.test.tsx
@@ -16,7 +16,7 @@ describe('NotFound', () => {
expect(screen.getByText('No route matched /missing?from=test.')).toBeInTheDocument();
const action = screen.getByRole('button', { name: 'Go to workspace' });
- expect(action).toHaveClass('min-h-10');
+ expect(action).toHaveClass('min-h-11');
action.click();
expect(navigate).toHaveBeenCalledWith('/');
diff --git a/frontend-modern/src/utils/__tests__/alertThresholdDefaults.test.ts b/frontend-modern/src/utils/__tests__/alertThresholdDefaults.test.ts
index 4fe8acf19b..4596bed1f2 100644
--- a/frontend-modern/src/utils/__tests__/alertThresholdDefaults.test.ts
+++ b/frontend-modern/src/utils/__tests__/alertThresholdDefaults.test.ts
@@ -204,6 +204,8 @@ describe('alertThresholdDefaults', () => {
enabled: false,
warningDays: 30,
criticalDays: 45,
+ warningSizeGiB: 0,
+ criticalSizeGiB: 0,
});
});