feat(ui): ship quota health aoc operations cutover

This commit is contained in:
master
2026-03-08 08:18:51 +02:00
parent c9484c33ee
commit ac22ee3ce2
31 changed files with 1241 additions and 93 deletions

View File

@@ -0,0 +1,71 @@
# Quota Health AOC Operations UI
## Module
Web
## Status
VERIFIED
## Description
Shipped the canonical `Ops > Operations` cutover for `Quotas & Limits`, `Health & SLO`, and `AOC Compliance`. The work repaired stale `/ops/*` and `platform-ops` deep links, completed quota actions that still stopped at placeholder behavior, and kept health and AOC drill-ins inside the mounted operations shell with usable route-backed filter state.
## Implementation Details
- **Feature directories**:
- `src/Web/StellaOps.Web/src/app/features/quota-dashboard/`
- `src/Web.StellaOps.Web/src/app/features/platform-health/`
- `src/Web.StellaOps.Web/src/app/features/aoc-compliance/`
- `src/Web.StellaOps.Web/src/app/features/platform/ops/`
- **Primary routes**:
- `/ops/operations/quotas`
- `/ops/operations/quotas/tenants`
- `/ops/operations/quotas/forecast`
- `/ops/operations/quotas/alerts`
- `/ops/operations/quotas/reports`
- `/ops/operations/health-slo`
- `/ops/operations/health-slo/services/:serviceName`
- `/ops/operations/health-slo/incidents`
- `/ops/operations/aoc`
- `/ops/operations/aoc/violations`
- `/ops/operations/aoc/provenance`
- `/ops/operations/aoc/ingestion`
- `/ops/operations/aoc/report`
- **Legacy aliases**:
- `/ops/quotas/*`
- `/ops/aoc/*`
- `/ops/health-slo/*`
- `/platform-ops/*`
- `/platform/ops/*`
- **Notable repaired behaviors**:
- quota dashboard query-driven category loading
- quota forecast action routing into alerts or reports
- tenant-detail CSV export and audit-log handoff
- quota alert test-payload generation
- route-backed AOC provenance validation
- AOC guard-violation request filtering
## E2E Test Plan
- **Setup**:
- [x] Start the local Angular test server with `npm run serve:test`.
- [x] Use a test session with Ops and admin scopes.
- **Core verification**:
- [x] Verify old quota alert deep links land on the canonical Operations route.
- [x] Verify stale platform health detail bookmarks land on canonical health service detail.
- [x] Verify old AOC provenance links keep query intent and still render a successful validation result.
- **Cutover verification**:
- [x] Verify the Angular unit suite covers route alias inventory, quota query actions, and AOC violation filter behavior.
- [x] Verify the production build still completes after the cutover.
## Verification
- Run:
- `npm test -- --watch=false --include src/tests/platform-ops/platform-ops-routes.spec.ts --include src/tests/quotas/quota-operations-cutover.spec.ts --include src/tests/aoc_verification/guard-violations-list.component.spec.ts --include src/tests/platform_health/platform-health-dashboard.spec.ts`
- `npm run serve:test`
- `PLAYWRIGHT_BASE_URL=https://127.0.0.1:4400 npx playwright test tests/e2e/quota-health-aoc-operations.spec.ts --workers=1`
- `npm run build`
- Tier 0 (source): pass
- Tier 1 (build/tests): pass
- Tier 2 (behavior): pass
- Notes:
- Angular targeted tests passed: `4` files, `13` tests.
- Playwright passed: `3` scenarios.
- Production build passed; existing bundle-budget warnings remain unchanged from the baseline.
- Verified on (UTC): 2026-03-08T06:10:00Z