@@ -310,25 +310,32 @@ The target architecture is:
|
||||
- [x] If SQL wins, roll out behind a controlled flag before any default switch.
|
||||
|
||||
### 4. Phase 4: Compatibility Reduction
|
||||
- [ ] Keep legacy outputs controlled by `snapshot_table_compat_mode`.
|
||||
- [ ] Validate canonical path correctness before disabling scheduled legacy hourly table creation.
|
||||
- [ ] Preserve explicit compatibility rebuild/backfill commands from canonical sources.
|
||||
- [ ] Remove obsolete or duplicate styling rules after full UI migration completion.
|
||||
- [x] Keep legacy outputs controlled by `snapshot_table_compat_mode`.
|
||||
- Verified by compatibility-mode integration coverage (`TestSnapshotTableCompatModeSettingControlsTaskBehaviorFlag`) and capture-path mode gating in `inventorySnapshots`.
|
||||
- [x] Validate canonical path correctness before disabling scheduled legacy hourly table creation.
|
||||
- Covered by parity/integration/compatibility tests plus baseline-vs-post-change decision record (`phase-metrics-2026-04-20.md`).
|
||||
- [x] Preserve explicit compatibility rebuild/backfill commands from canonical sources.
|
||||
- Preserved through existing admin workflows (`/api/snapshots/aggregate`, `/api/snapshots/repair`, `/api/snapshots/repair/all`, `/api/snapshots/regenerate-hourly-reports`, `/api/vcenters/cache/rebuild`, `-backfill-vcenter-cache`).
|
||||
- [x] Remove obsolete or duplicate styling rules after full UI migration completion.
|
||||
- Removed unused selectors from shared UI stylesheet (`.web2-button-group*`, `.web2-list li`) in `dist/assets/css/web3.css`; router UI asset tests remain passing.
|
||||
|
||||
### 5. Validation and Quality Gates
|
||||
- [ ] Add golden-result tests for daily output parity (old vs new path).
|
||||
- [ ] Add golden-result tests for monthly output parity (old vs new path).
|
||||
- [x] Add golden-result tests for daily output parity (old vs new path).
|
||||
- [x] Add golden-result tests for monthly output parity (old vs new path).
|
||||
- [x] Add lifecycle edge-case coverage (partial presence, missing create times, deletion refinement, pool and resource changes).
|
||||
- [x] Add integration tests for canonical write/read paths and totals cache correctness.
|
||||
- [x] Add compatibility tests for legacy table generation, reports, and rebuild flows.
|
||||
- [ ] Add UI validation for token usage, responsive behavior, focus/contrast/keyboard accessibility, and auth guidance accuracy.
|
||||
- [ ] Compare baseline vs post-change metrics after each phase and record pass/fail decisions.
|
||||
- [x] Add UI validation for token usage, responsive behavior, focus/contrast/keyboard accessibility, and auth guidance accuracy.
|
||||
- Covered by router tests validating shared CSS token/responsive/focus rules and page-level auth/keyboard guidance: `TestSharedStylesExposeThemeTokensAndResponsiveAccessibilityRules`, `TestDashboardAuthGuidanceMatchesRouteProtection`, and `TestVmTraceFormUsesLabelledInputsAndKeyboardFriendlyControls`.
|
||||
- [x] Compare baseline vs post-change metrics after each phase and record pass/fail decisions.
|
||||
- Evidence and gate outcomes captured in `phase-metrics-2026-04-20.md` (baseline delta table + pass/fail decisions + benchmark snapshot).
|
||||
|
||||
### 6. Rollout and Documentation
|
||||
- [ ] Update operator docs for new settings and default behavior.
|
||||
- [ ] Document compatibility-mode lifecycle and criteria to disable legacy table generation.
|
||||
- [ ] Document benchmark method/results and default-path decision record (Go vs SQL).
|
||||
- [ ] Publish a short migration runbook for staged rollout, rollback triggers, and repair workflows.
|
||||
- [x] Update operator docs for new settings and default behavior.
|
||||
- [x] Document compatibility-mode lifecycle and criteria to disable legacy table generation.
|
||||
- [x] Document benchmark method/results and default-path decision record (Go vs SQL).
|
||||
- [x] Publish a short migration runbook for staged rollout, rollback triggers, and repair workflows.
|
||||
- Completed in `README.md` (benchmark decision record, compatibility lifecycle, and migration runbook sections).
|
||||
|
||||
## Test Plan
|
||||
|
||||
|
||||
Reference in New Issue
Block a user