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.

Compose the canonical Markdown and router maintenance graph

pulse-triage[bot]bfef0321123e
diff --git a/docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md b/docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md
index a452591d62..81afb0823c 100644
--- a/docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md
+++ b/docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md
@@ -1410,3 +1410,21 @@ as verification progresses:
source checks do not replace their terminal artifact or the subsequent signed
installed transaction and public-browser evidence. No workflow retry, release
decision or worker production authority is added.
+
+## Shared Markdown and router graph compatibility
+
+- Reconcile only the intended package records onto the current canonical lock;
+ retain the complete serializer, DOMPurify, glob and lint-tooling security
+ floors. `dependencySecurity.test.ts` and the actual Solid serialization
+ consumers still apply without new exceptions. Marked and Router installed
+ identities in `dependencyTooling.test.ts` must match that exact lock.
+- Run the existing Markdown/XSS, Docs and release-note consumers, and Kubernetes
+ URL-filter consumers. The latter restores the bookmarked selected row, clears
+ its namespace when deselecting/replacing the cluster, and preserves shared
+ search through the real router and tables. Full types must reject any possible
+ repeated-query array passed as a selected cluster string.
+- Clean exact-graph build, unchanged chunk budgets and entry/dynamic SRI/preload
+ checks, full lint and a complete dependency audit are separate from source
+ acquisition. Desktop/narrow consuming navigation and Markdown interactions
+ require actual inspected browser captures, not an acquisition receipt or
+ passing component tests. No installed recovery or publication is implied.
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index 956a8af873..c6587653f1 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -9717,3 +9717,30 @@ browser proof at desktop and phone must inspect the rendered safety boundaries,
keyboard/touch linked recovery navigation and direct/reload fragments. These
are help qualification, not installed upgrade, native recovery, paid deployment
or release acceptance.
+
+### Canonical Markdown and router graph maintenance (3 November 2026)
+
+The shared frontend manifest and lock are one graph. A managed proposal's
+package records must not replace newer canonical serializer, sanitizer, glob
+or lint-tooling security repairs. Marked 18.1.1 and Solid Router 1.0.0 retain
+every other canonical lock record and every override; Vite remains on the
+reviewed 6.4.5 line. The separate Vite 8 bundler migration is not implied by
+those runtime updates, and neither chunk budgets nor SRI/preload requirements
+are relaxed to admit it.
+
+Kubernetes Overview reads its selected cluster query value once before
+narrowing it to a string. Its selected-row state and toggle use that same
+accessor, preserving ordinary bookmark restoration, namespace clearing and
+shared-search state without passing a possible query array into the table.
+This does not grant access to resources or change server-side filtering.
+
+Completion requires the exact committed graph's clean install, registered
+security/serializer/Markdown/router consumers, full types and lint, embedded
+build and unchanged bundle/preload/SRI checks. The installed-package assertions
+in `dependencyTooling.test.ts` include Marked and Router so a stale local tree
+cannot stand in for those consumers. `KubernetesPageSurfaceUrlFilters.test.tsx`
+exercises bookmarked selection, deselection and replacement through the real
+router and containing tables. Required desktop/narrow browser interactions and
+native pixel inspection, the complete dependency audit and independent review
+remain distinct proofs; a lock acquisition or metadata read establishes none
+of them.
diff --git a/frontend-modern/package-lock.json b/frontend-modern/package-lock.json
index fd3c186895..69d2ee7f34 100644
--- a/frontend-modern/package-lock.json
+++ b/frontend-modern/package-lock.json
@@ -9,10 +9,10 @@
"version": "1.0.0",
"license": "MIT",
"dependencies": {
- "@solidjs/router": "^0.10.10",
+ "@solidjs/router": "^1.0.0",
"dompurify": "^3.4.17",
"lucide-solid": "^0.577.0",
- "marked": "^17.0.1",
+ "marked": "^18.1.1",
"qrcode": "^1.5.4",
"solid-js": "^1.9.17"
},
@@ -1548,9 +1548,9 @@
]
},
"node_modules/@solidjs/router": {
- "version": "0.10.10",
- "resolved": "https://registry.npmjs.org/@solidjs/router/-/router-0.10.10.tgz",
- "integrity": "sha512-nGl7gMgsojuaupI5MAK2cFtkndmWWSAPhill/8La3IjujY3vMBamcQFymBsA2ejzxEYJjkOlEQHYgp2jNFkwuQ==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@solidjs/router/-/router-1.0.0.tgz",
+ "integrity": "sha512-cCSk1hvgCowiMa9bzzYWHiLu1U4E22+DfJe6/rOwAyECKrxc3jrd5QnoW3sDDJtW+e077cz/M67bPl3DqOBw1Q==",
"license": "MIT",
"peerDependencies": {
"solid-js": "^1.8.6"
@@ -4534,9 +4534,9 @@
}
},
"node_modules/marked": {
- "version": "17.0.6",
- "resolved": "https://registry.npmjs.org/marked/-/marked-17.0.6.tgz",
- "integrity": "sha512-gB0gkNafnonOw0obSTEGZTT86IuhILt2Wfx0mWH/1Au83kybTayroZ/V6nS25mN7u8ASy+5fMhgB3XPNrOZdmA==",
+ "version": "18.1.1",
+ "resolved": "https://registry.npmjs.org/marked/-/marked-18.1.1.tgz",
+ "integrity": "sha512-zEGgrtUG8crk+TrMacJSVABU4DYDDkS8uqgU3ohrn/2fW9C2AEfUrO3m6IhpIpQpl7YcVpiXXC9cSMWDANT3dg==",
"license": "MIT",
"bin": {
"marked": "bin/marked.js"
diff --git a/frontend-modern/package.json b/frontend-modern/package.json
index ade27d635f..4e953dda8a 100644
--- a/frontend-modern/package.json
+++ b/frontend-modern/package.json
@@ -52,10 +52,10 @@
"check:bundlesize": "node scripts/check-bundle-size.mjs"
},
"dependencies": {
- "@solidjs/router": "^0.10.10",
+ "@solidjs/router": "^1.0.0",
"dompurify": "^3.4.17",
"lucide-solid": "^0.577.0",
- "marked": "^17.0.1",
+ "marked": "^18.1.1",
"qrcode": "^1.5.4",
"solid-js": "^1.9.17"
},
diff --git a/frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx b/frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx
index be03791131..7fc63d550e 100644
--- a/frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx
+++ b/frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx
@@ -707,6 +707,12 @@ function KubernetesConfiguration(props: { model: KubernetesPageModel }) {
function KubernetesOverview(props: KubernetesOverviewProps) {
const [searchParams, setSearchParams] = useSearchParams();
+ const selectedClusterId = (): string => {
+ // Read the reactive query property once so the checked value stays
+ // narrowed when the router can also return repeated parameters as arrays.
+ const value = searchParams[KUBERNETES_QUERY_PARAMS.cluster];
+ return typeof value === 'string' ? value : '';
+ };
const workloadAttention = createMemo(() => {
const posture = buildKubernetesOverviewPosture(props.model());
return posture.podAttention + posture.deploymentAttention;
@@ -760,17 +766,13 @@ function KubernetesOverview(props: KubernetesOverviewProps) {
emptyTitle="No clusters reported"
emptyDescription="Kubernetes clusters appear here once at least one agent reports cluster context."
showToolbar={false}
- selectedClusterId={
- typeof searchParams[KUBERNETES_QUERY_PARAMS.cluster] === 'string'
- ? searchParams[KUBERNETES_QUERY_PARAMS.cluster]
- : ''
- }
+ selectedClusterId={selectedClusterId()}
onSelectCluster={(cluster) => {
const clusterId =
cluster.kubernetes?.clusterId?.trim() || cluster.kubernetes?.clusterName?.trim() || '';
setSearchParams({
[KUBERNETES_QUERY_PARAMS.cluster]:
- searchParams[KUBERNETES_QUERY_PARAMS.cluster] === clusterId ? null : clusterId,
+ selectedClusterId() === clusterId ? null : clusterId,
[KUBERNETES_QUERY_PARAMS.namespace]: null,
});
}}
diff --git a/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurfaceUrlFilters.test.tsx b/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurfaceUrlFilters.test.tsx
index 9401bf885a..37717a5086 100644
--- a/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurfaceUrlFilters.test.tsx
+++ b/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurfaceUrlFilters.test.tsx
@@ -245,6 +245,57 @@ describe('Kubernetes URL-backed shared toolbar filters', () => {
expect(screen.queryByText('east-api')).not.toBeInTheDocument();
});
+ it('restores a bookmarked cluster and toggles scope without losing the shared search', async () => {
+ setResources([
+ makeResource({
+ id: 'cluster-west',
+ type: 'k8s-cluster',
+ name: 'West',
+ kubernetes: { clusterId: 'cluster-west', clusterName: 'West' },
+ }),
+ makeResource({
+ id: 'cluster-east',
+ type: 'k8s-cluster',
+ name: 'East',
+ kubernetes: { clusterId: 'cluster-east', clusterName: 'East' },
+ }),
+ makeResource({
+ id: 'west-api',
+ type: 'k8s-deployment',
+ kubernetes: { clusterId: 'cluster-west', clusterName: 'West', namespace: 'prod' },
+ }),
+ makeResource({
+ id: 'east-api',
+ type: 'k8s-deployment',
+ kubernetes: { clusterId: 'cluster-east', clusterName: 'East', namespace: 'prod' },
+ }),
+ ]);
+
+ renderSurfaceAt('/kubernetes/overview?cluster=cluster-west&namespace=prod&q=-cache');
+
+ const west = screen.getByRole('button', { name: 'Show workloads for West' });
+ const east = screen.getByRole('button', { name: 'Show workloads for East' });
+ expect(west).toHaveAttribute('aria-pressed', 'true');
+ expect(east).toHaveAttribute('aria-pressed', 'false');
+ expect(screen.queryByText('east-api')).not.toBeInTheDocument();
+
+ fireEvent.click(west);
+ await waitFor(() => expect(window.location.search).toBe('?q=-cache'));
+ expect(west).toHaveAttribute('aria-pressed', 'false');
+ expect(screen.getByText('east-api')).toBeInTheDocument();
+
+ fireEvent.click(east);
+ await waitFor(() => {
+ expect(new URLSearchParams(window.location.search).get('cluster')).toBe('cluster-east');
+ expect(east).toHaveAttribute('aria-pressed', 'true');
+ });
+ expect(new URLSearchParams(window.location.search).get('namespace')).toBeNull();
+ expect(new URLSearchParams(window.location.search).get('q')).toBe('-cache');
+ expect(west).toHaveAttribute('aria-pressed', 'false');
+ expect(screen.queryByText('west-api')).not.toBeInTheDocument();
+ expect(screen.getByText('east-api')).toBeInTheDocument();
+ });
+
it('applies the URL search filter on the services tab', () => {
setResources([
makeResource({ id: 'checkout-svc', type: 'k8s-service' }),
diff --git a/frontend-modern/src/security/__tests__/dependencyTooling.test.ts b/frontend-modern/src/security/__tests__/dependencyTooling.test.ts
index 42a5a41fb3..d65cb7e552 100644
--- a/frontend-modern/src/security/__tests__/dependencyTooling.test.ts
+++ b/frontend-modern/src/security/__tests__/dependencyTooling.test.ts
@@ -34,6 +34,8 @@ describe('reviewed formatter behaviour', () => {
describe('patched transitive dependency compatibility', () => {
it.each([
+ '@solidjs/router',
+ 'marked',
'solid-js',
'seroval',
'seroval-plugins',