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
Retire remaining settings route aliases
rcourtmanbfc79ff06d55
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.mdindex 47c83a4f21..0bbd1b172b 100644--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md@@ -1237,10 +1237,11 @@ when older workspaces need membership continuity repaired at open time. Cloud,MSP, and commercial account roles therefore have one canonical translation intotenant org permissions instead of drifting between provisioning-time seeds andhandoff-time access repair.-The old self-hosted trial activation return notice on `/settings/system-pro` is-retired with that callback: the `trial` query result must not produce owned-activation UI, a success banner, or retry copy in v6 GA. Purchase activation-continues through the Pulse Account return contract instead.+The old self-hosted trial activation return notice and `/settings/system-pro`+route are retired with that callback: the `trial` query result must not produce+owned activation UI, a success banner, retry copy, or a settings compatibility+redirect in v6 GA. Purchase activation continues through the Pulse Account+return contract instead.That same retirement applies to the old hosted control-plane completion andredeem routes: `/trial-signup/complete` and `/api/trial-signup/redeem` mustnot return customer-facing trial UX or raw acquisition errors in v6 GA.diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex 8ab7e19418..254cfac313 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -1126,6 +1126,12 @@ not a replacement status card, CTA band, or page-local nested card.conversion, or infrastructure onboarding telemetry. Those signals belong inadmin-owned metrics surfaces, not the product diagnostics UI or customerfrontend event emission.+6. Settings route models normalizing retired aliases such as+ `/settings/operations/*`, `/settings/integrations/api`,+ `/settings/system-pro`, `/settings/workloads/*`, or nested+ `/settings/infrastructure/*` paths back into current settings panels.+ Retired aliases must fail route eligibility instead of being kept as+ compatibility redirects.## Completion Obligations@@ -2839,11 +2845,11 @@ infrastructure workspace props, registry context maps, system panel prop maps,lazy loader definitions, or discovery draft state inline.That same settings-routing contract now also owns the Support group for`Diagnostics & Health`, `Data & Reports`, and `System Logs`: the navigation-model may normalize old `/settings/operations/*` settings paths into-`/settings/support/*`, but the top-level `/operations/*` browser path must stay-unregistered. The catalog plus visibility owners must treat those support-surfaces as Settings-native pages rather than as a second top-level utility-destination.+model must reject old `/settings/operations/*` settings paths instead of+normalizing them into `/settings/support/*`, and the top-level `/operations/*`+browser path must stay unregistered. The catalog plus visibility owners must+still treat support surfaces as Settings-native pages rather than as a second+top-level utility destination.The resource incident panel's collapsed activity summary is now part of thatsame shared primitive boundary. Event-type count chips, visible-event copy,diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.mdindex 1bacfb8f46..74822a3a0c 100644--- a/docs/release-control/v6/internal/subsystems/unified-resources.md+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md@@ -2027,7 +2027,8 @@ found the value.Command-availability guidance inside that analysis surface must consume theshared `frontend-modern/src/utils/discoveryPresentation.ts` settings targetsand scan-error copy instead of hard-coding legacy settings labels such as-Unified Agents, API Tokens, or `/settings/integrations/api`.+Unified Agents, API Tokens, or `/settings/integrations/api`; the canonical API+access route is `/settings/security/api`.The overview keeps access, investigation detail, service detail, and hostdetail as collapsed sibling disclosures under the primary card pair, so thedrawer keepsdiff --git a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.tsindex 228013dc5e..4d28de8d66 100644--- a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts+++ b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts@@ -126,11 +126,12 @@ describe('settings architecture guardrails', () => {);});- it('keeps retired operations browser paths out of the settings routing model', () => {+ it('keeps retired operations paths out of the settings routing model', () => {expect(settingsNavigationModelSource).toContain(- "const LEGACY_SETTINGS_OPERATIONS_PREFIX = '/settings/operations';",+ "const RETIRED_SETTINGS_OPERATIONS_PREFIX = '/settings/operations';",);- expect(settingsNavigationModelSource).toContain('buildLegacyOperationsSettingsPath');+ expect(settingsNavigationModelSource).not.toContain('buildLegacyOperationsSettingsPath');+ expect(settingsNavigationModelSource).not.toContain('LEGACY_SETTINGS_OPERATIONS_PREFIX');expect(settingsNavigationModelSource).not.toContain("normalizedPath === '/operations/logs'");expect(settingsNavigationModelSource).not.toContain("normalizedPath.startsWith('/operations/logs/')",diff --git a/frontend-modern/src/components/Settings/__tests__/settingsRouting.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsRouting.test.tsindex 171ab6e199..9bae5b7928 100644--- a/frontend-modern/src/components/Settings/__tests__/settingsRouting.test.ts+++ b/frontend-modern/src/components/Settings/__tests__/settingsRouting.test.ts@@ -1,6 +1,5 @@import { describe, expect, it } from 'vitest';import {- buildLegacyOperationsSettingsPath,agentKeyFromPlatformType,DEFAULT_SETTINGS_TAB,deriveTabFromPath,@@ -82,24 +81,14 @@ describe('settingsNavigationModel', () => {expect(resolveCanonicalSettingsPath('/settings/infrastructure/api')).toBeNull();expect(resolveCanonicalSettingsPath('/settings/infrastructure/api/pve')).toBeNull();expect(resolveCanonicalSettingsPath('/settings/infrastructure/proxmox')).toBeNull();- expect(resolveCanonicalSettingsPath('/settings/integrations/api')).toBe(- '/settings/security/api',- );- expect(resolveCanonicalSettingsPath('/settings/operations')).toBe(- '/settings/support/diagnostics',- );- expect(resolveCanonicalSettingsPath('/settings/operations/reporting')).toBe(- '/settings/support/reporting',- );- expect(resolveCanonicalSettingsPath('/settings/operations/logs')).toBe(- '/settings/support/logs',- );+ expect(resolveCanonicalSettingsPath('/settings/integrations/api')).toBeNull();+ expect(resolveCanonicalSettingsPath('/settings/operations')).toBeNull();+ expect(resolveCanonicalSettingsPath('/settings/operations/reporting')).toBeNull();+ expect(resolveCanonicalSettingsPath('/settings/operations/logs')).toBeNull();expect(resolveCanonicalSettingsPath('/settings/system/billing')).toBe('/settings/system/billing/plan',);- expect(resolveCanonicalSettingsPath('/settings/system-pro')).toBe(- '/settings/system/billing/plan',- );+ expect(resolveCanonicalSettingsPath('/settings/system-pro')).toBeNull();expect(resolveCanonicalSettingsPath('/not-settings')).toBeNull();});@@ -115,6 +104,11 @@ describe('settingsNavigationModel', () => {'/settings/infrastructure/proxmox','/settings/infrastructure/truenas','/settings/infrastructure/vmware',+ '/settings/operations',+ '/settings/operations/reporting',+ '/settings/operations/logs',+ '/settings/integrations/api',+ '/settings/system-pro',];for (const path of retiredPaths) {@@ -150,7 +144,6 @@ describe('settingsNavigationModel', () => {['?tab=infrastructure', 'infrastructure-systems'],['?tab=system-ai', 'system-ai'],['?tab=system-relay', 'system-relay'],- ['?tab=system-pro', 'system-billing'],['?tab=system-billing', 'system-billing'],['?tab=diagnostics', 'support-diagnostics'],['?tab=reporting', 'support-reporting'],@@ -164,6 +157,7 @@ describe('settingsNavigationModel', () => {['?tab=workloads', null],['?tab=install', null],['?tab=docker', null],+ ['?tab=system-pro', null],['?tab=unknown', null],];for (const [query, expectedTab] of queryCases) {@@ -223,18 +217,12 @@ describe('settingsNavigationModel', () => {expect(agentKeyFromPlatformType('agent')).toBeNull();});- it('maps support and legacy settings operations routes back to support tabs', () => {+ it('maps support routes back to support tabs without legacy operations aliases', () => {expect(deriveTabFromPath('/settings/support/diagnostics')).toBe('support-diagnostics');expect(deriveTabFromPath('/settings/support/reporting')).toBe('support-reporting');expect(deriveTabFromPath('/settings/support/logs')).toBe('support-logs');- expect(buildLegacyOperationsSettingsPath('/settings/operations')).toBe(- '/settings/support/diagnostics',- );- expect(buildLegacyOperationsSettingsPath('/settings/operations/reporting')).toBe(- '/settings/support/reporting',- );- expect(buildLegacyOperationsSettingsPath('/settings/operations/logs')).toBe(- '/settings/support/logs',- );+ expect(isRouteableSettingsPath('/settings/operations')).toBe(false);+ expect(isRouteableSettingsPath('/settings/operations/reporting')).toBe(false);+ expect(isRouteableSettingsPath('/settings/operations/logs')).toBe(false);});});diff --git a/frontend-modern/src/components/Settings/__tests__/useSettingsNavigation.test.tsx b/frontend-modern/src/components/Settings/__tests__/useSettingsNavigation.test.tsxindex 1cf2ee5982..f5e4c293e4 100644--- a/frontend-modern/src/components/Settings/__tests__/useSettingsNavigation.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/useSettingsNavigation.test.tsx@@ -104,4 +104,20 @@ describe('useSettingsNavigation', () => {expect(navigateSpy).not.toHaveBeenCalled();});});++ it('does not translate remaining retired settings aliases', async () => {+ for (const path of [+ '/settings/operations/reporting',+ '/settings/integrations/api',+ '/settings/system-pro',+ ]) {+ cleanup();+ navigateSpy.mockReset();+ renderHarness(path);++ await waitFor(() => {+ expect(navigateSpy).not.toHaveBeenCalled();+ });+ }+ });});diff --git a/frontend-modern/src/components/Settings/settingsNavigationModel.ts b/frontend-modern/src/components/Settings/settingsNavigationModel.tsindex 1d1a26f115..4a7ab72230 100644--- a/frontend-modern/src/components/Settings/settingsNavigationModel.ts+++ b/frontend-modern/src/components/Settings/settingsNavigationModel.ts@@ -87,15 +87,15 @@ export type SettingsHeaderMetaMap = Record<SettingsTab, SettingsHeaderMeta>;export const DEFAULT_SETTINGS_TAB: SettingsTab = 'infrastructure-systems';const INFRASTRUCTURE_SYSTEMS_PREFIX = '/settings/infrastructure';const RETIRED_SETTINGS_WORKLOADS_PREFIX = '/settings/workloads';+const RETIRED_SETTINGS_OPERATIONS_PREFIX = '/settings/operations';+const RETIRED_SETTINGS_INTEGRATIONS_API_PREFIX = '/settings/integrations/api';+const RETIRED_SETTINGS_SYSTEM_PRO_PREFIX = '/settings/system-pro';const SUPPORT_PREFIX = '/settings/support';const SUPPORT_DIAGNOSTICS_PREFIX = `${SUPPORT_PREFIX}/diagnostics`;const SUPPORT_REPORTING_PREFIX = `${SUPPORT_PREFIX}/reporting`;const SUPPORT_LOGS_PREFIX = `${SUPPORT_PREFIX}/logs`;-const LEGACY_INTEGRATIONS_API_PREFIX = '/settings/integrations/api';-const LEGACY_SETTINGS_OPERATIONS_PREFIX = '/settings/operations';const SECURITY_API_PREFIX = '/settings/security/api';const SYSTEM_BILLING_PREFIX = SELF_HOSTED_PRO_BILLING_ROUTE;-const LEGACY_SYSTEM_PRO_PREFIX = '/settings/system-pro';const PROXMOX_AGENT_META: Record<AgentKey,@@ -136,6 +136,12 @@ export function isRetiredSettingsCompatibilityPath(path: string): boolean {return (normalizedPath === RETIRED_SETTINGS_WORKLOADS_PREFIX ||normalizedPath.startsWith(`${RETIRED_SETTINGS_WORKLOADS_PREFIX}/`) ||+ normalizedPath === RETIRED_SETTINGS_OPERATIONS_PREFIX ||+ normalizedPath.startsWith(`${RETIRED_SETTINGS_OPERATIONS_PREFIX}/`) ||+ normalizedPath === RETIRED_SETTINGS_INTEGRATIONS_API_PREFIX ||+ normalizedPath.startsWith(`${RETIRED_SETTINGS_INTEGRATIONS_API_PREFIX}/`) ||+ normalizedPath === RETIRED_SETTINGS_SYSTEM_PRO_PREFIX ||+ normalizedPath.startsWith(`${RETIRED_SETTINGS_SYSTEM_PRO_PREFIX}/`) ||normalizedPath.startsWith(`${INFRASTRUCTURE_SYSTEMS_PREFIX}/`));}@@ -153,21 +159,9 @@ export function resolveCanonicalSettingsPath(path: string): string | null {if (normalizedPath === SUPPORT_PREFIX) {return SUPPORT_DIAGNOSTICS_PREFIX;}- if (normalizedPath === LEGACY_SETTINGS_OPERATIONS_PREFIX) {- return SUPPORT_DIAGNOSTICS_PREFIX;- }- if (normalizedPath.startsWith(`${LEGACY_SETTINGS_OPERATIONS_PREFIX}/`)) {- return buildLegacyOperationsSettingsPath(normalizedPath);- }- if (normalizedPath === LEGACY_INTEGRATIONS_API_PREFIX) {- return SECURITY_API_PREFIX;- }if (normalizedPath === SYSTEM_BILLING_PREFIX) {return SELF_HOSTED_PRO_BILLING_PLAN_ROUTE;}- if (normalizedPath === LEGACY_SYSTEM_PRO_PREFIX) {- return SELF_HOSTED_PRO_BILLING_PLAN_ROUTE;- }return normalizedPath;}@@ -185,11 +179,7 @@ export function deriveTabFromPath(path: string): SettingsTab {if (canonicalPath.includes('/settings/system-recovery')) return 'system-recovery';if (canonicalPath.includes('/settings/system-ai')) return 'system-ai';if (canonicalPath.includes('/settings/system-relay')) return 'system-relay';- if (- canonicalPath.includes(SYSTEM_BILLING_PREFIX) ||- canonicalPath.includes(LEGACY_SYSTEM_PRO_PREFIX)- )- return 'system-billing';+ if (canonicalPath.includes(SYSTEM_BILLING_PREFIX)) return 'system-billing';if (canonicalPath.startsWith(SUPPORT_LOGS_PREFIX)) return 'support-logs';if (canonicalPath.startsWith(SUPPORT_REPORTING_PREFIX)) return 'support-reporting';if (canonicalPath.startsWith(SUPPORT_DIAGNOSTICS_PREFIX) || canonicalPath === SUPPORT_PREFIX)@@ -202,7 +192,6 @@ export function deriveTabFromPath(path: string): SettingsTab {if (canonicalPath.includes('/settings/organization')) return 'organization-overview';if (canonicalPath.includes(SECURITY_API_PREFIX)) return 'api';- if (canonicalPath.includes(LEGACY_INTEGRATIONS_API_PREFIX)) return 'api';if (canonicalPath.includes('/settings/security-overview')) return 'security-overview';if (canonicalPath.includes('/settings/security-data-handling')) return 'security-data-handling';@@ -262,7 +251,6 @@ export function deriveTabFromQuery(search: string): SettingsTab | null {return 'system-ai';case 'system-relay':return 'system-relay';- case 'system-pro':case 'system-billing':return 'system-billing';case 'diagnostics':@@ -383,23 +371,3 @@ export function isRouteableSettingsPath(path: string): boolean {export function isInfrastructureSettingsTab(tab: SettingsTab): tab is InfrastructureSettingsTab {return tab === 'infrastructure-systems';}--export function buildLegacyOperationsSettingsPath(path: string): string {- const normalizedPath = normalizeSettingsPath(path);-- if (- normalizedPath === `${LEGACY_SETTINGS_OPERATIONS_PREFIX}/logs` ||- normalizedPath.startsWith(`${LEGACY_SETTINGS_OPERATIONS_PREFIX}/logs/`)- ) {- return SUPPORT_LOGS_PREFIX;- }-- if (- normalizedPath === `${LEGACY_SETTINGS_OPERATIONS_PREFIX}/reporting` ||- normalizedPath.startsWith(`${LEGACY_SETTINGS_OPERATIONS_PREFIX}/reporting/`)- ) {- return SUPPORT_REPORTING_PREFIX;- }-- return SUPPORT_DIAGNOSTICS_PREFIX;-}diff --git a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.tsindex 881f8a3920..c6e5088a78 100644--- a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts+++ b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts@@ -4305,7 +4305,7 @@ describe('frontend resource type boundaries', () => {);expect(appSource).not.toContain("import('./pages/Operations')");expect(appSource).not.toContain('<Route path="/operations/*"');- expect(settingsNavigationModelSource).toContain(+ expect(settingsNavigationModelSource).not.toContain('export function buildLegacyOperationsSettingsPath',);expect(reportingPanelSource).toContain('OperationsPanel');