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.

Gate ordinary E2E on auth renderer controls

pulse-triage[bot]9085539f0368
diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml
index 26f05ad6e0..1c7a55333c 100644
--- a/.github/workflows/test-e2e.yml
+++ b/.github/workflows/test-e2e.yml
@@ -114,6 +114,10 @@ jobs:
cache: 'npm'
cache-dependency-path: tests/integration/package-lock.json
+ - name: Validate read-only auth renderer diagnostics
+ working-directory: tests/integration
+ run: node --test scripts/capture-auth-renderer.test.mjs
+
- name: Validate telemetry schema version parity
working-directory: tests/integration
run: |
diff --git a/tests/integration/scripts/capture-auth-renderer.test.mjs b/tests/integration/scripts/capture-auth-renderer.test.mjs
index c51d478be8..08f5a5d0a9 100644
--- a/tests/integration/scripts/capture-auth-renderer.test.mjs
+++ b/tests/integration/scripts/capture-auth-renderer.test.mjs
@@ -114,3 +114,14 @@ test('every existing auth golden attaches facts before the unchanged strict asse
assert.match(spec, /getByText\('Organization', \{ exact: true \}\)/);
assert.match(spec, /getByText\('Overview', \{ exact: true \}\)/);
});
+
+test('normal E2E admission gates on these controls before installs or shard fan-out', () => {
+ const workflow = readFileSync(new URL('../../../.github/workflows/test-e2e.yml', import.meta.url), 'utf8');
+ const admission = workflow.split('\n tier-selection:\n')[1].split('\n offline-org-provisioning:\n')[0];
+ const step = admission.split('- name: Validate read-only auth renderer diagnostics\n')[1].split('\n - name:')[0];
+ assert.match(step, /working-directory: tests\/integration/);
+ assert.match(step, /run: node --test scripts\/capture-auth-renderer\.test\.mjs/);
+ assert.doesNotMatch(step, /continue-on-error|\|\||\bif:/);
+ assert.ok(admission.indexOf('Set up Node.js') < admission.indexOf('Validate read-only auth renderer diagnostics'));
+ assert.ok(admission.indexOf('Validate read-only auth renderer diagnostics') < admission.indexOf('Install integration dependencies'));
+});