Govern unified resource presentation helpers

This commit is contained in:
rcourtman 2026-03-24 15:50:11 +00:00
parent 9b9ee97f85
commit c1e453a2fb
2 changed files with 34 additions and 6 deletions

View file

@ -3866,6 +3866,7 @@
"frontend-modern/src/components/Infrastructure/useResourceDetailDrawerState.ts",
"frontend-modern/src/components/Infrastructure/useUnifiedResourceTableState.ts",
"frontend-modern/src/components/Infrastructure/useUnifiedResourceTableViewportSync.ts",
"frontend-modern/src/components/PMG/ServiceHealthBadge.tsx",
"frontend-modern/src/features/infrastructure/infrastructurePageModel.ts",
"frontend-modern/src/features/infrastructure/InfrastructurePageSurface.tsx",
"frontend-modern/src/features/infrastructure/useInfrastructurePageRouteState.ts",
@ -3886,6 +3887,9 @@
"frontend-modern/src/utils/resourceStateAdapters.ts",
"frontend-modern/src/utils/resourceTypeCompat.ts",
"frontend-modern/src/utils/resourceTypePresentation.ts",
"frontend-modern/src/utils/serviceHealthPresentation.ts",
"frontend-modern/src/utils/sourceTypePresentation.ts",
"frontend-modern/src/utils/workloadTypePresentation.ts",
"internal/api/resources.go"
],
"verification": {
@ -4050,23 +4054,31 @@
},
{
"id": "resource-type-badge-presentation-helpers",
"label": "resource type and badge presentation helper proof",
"label": "resource type, badge, and service-health presentation helper proof",
"match_prefixes": [],
"match_files": [
"frontend-modern/src/components/Infrastructure/resourceBadges.ts",
"frontend-modern/src/components/PMG/ServiceHealthBadge.tsx",
"frontend-modern/src/utils/canonicalResourceTypes.ts",
"frontend-modern/src/utils/resourceBadgePresentation.ts",
"frontend-modern/src/utils/resourceTypeCompat.ts",
"frontend-modern/src/utils/resourceTypePresentation.ts"
"frontend-modern/src/utils/resourceTypePresentation.ts",
"frontend-modern/src/utils/serviceHealthPresentation.ts",
"frontend-modern/src/utils/sourceTypePresentation.ts",
"frontend-modern/src/utils/workloadTypePresentation.ts"
],
"allow_same_subsystem_tests": false,
"test_prefixes": [],
"exact_files": [
"frontend-modern/src/components/Infrastructure/__tests__/resourceBadges.test.ts",
"frontend-modern/src/utils/__tests__/canonicalResourceTypes.test.ts",
"frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",
"frontend-modern/src/utils/__tests__/resourceBadgePresentation.test.ts",
"frontend-modern/src/utils/__tests__/resourceTypeCompat.test.ts",
"frontend-modern/src/utils/__tests__/resourceTypePresentation.test.ts"
"frontend-modern/src/utils/__tests__/resourceTypePresentation.test.ts",
"frontend-modern/src/utils/__tests__/serviceHealthPresentation.test.ts",
"frontend-modern/src/utils/__tests__/sourceTypePresentation.test.ts",
"frontend-modern/src/utils/__tests__/workloadTypePresentation.test.ts"
]
},
{