mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-19 16:27:37 +00:00
Two specific platform-page quality issues from the audit: 1. **/kubernetes/overview only had 1 cluster.** Bumping the K8s cluster count past 1 had been deferred because the prior monitor-broadcast equivalence test compared the raw snapshot count to the broadcast count exactly, and broadcast's `coalesceBroadcastResources` + second-pass coalesce inside `convertResourcesForBroadcast` legitimately drops merge candidates that the raw snapshot keeps. Switch the test to compare against the canonical snapshot count within a ±5% tolerance so future fixture bumps stay green without loosening any of the test's exact-name and exact-identity assertions. With that in place, bump `K8sClusterCount` 1 → 3 in `internal/mock/generator.go`, `scripts/toggle-mock.sh`, and the matching `scripts/tests/test-toggle-mock.sh` so the canonical mock estate ships with production + staging + edge clusters end-to-end. Live mock survey: k8s-cluster: 3, k8s-deployment: 42, pod: 120, plus 15 K8s nodes merged onto their agent hosts. 2. **/vmware/storage looked empty under platform-page chrome.** `resolveStorageSourceKey` was reading only `storage.type` (the on-disk technology like `vsan`, `vmfs`, `nfs41`, `zfs-pool`) and never consulted `storage.platform` (the canonical platform key like `vmware-vsphere` or `truenas`). Source filter chip options were therefore generated as `vsan`, `vmfs`, `nfs41`, etc., and `forcedSourceFilter='vmware-vsphere'` had nothing to match. Prefer the canonical `storage.platform` tag when set, so VMware datastores group under `vmware-vsphere`, TrueNAS pools group under `truenas`, PBS datastores under `proxmox-pbs`, etc., for both the chip options and the embedded platform-page filter. Browser verification (Playwright, chromium, live mock-mode dev runtime): - 9 tests pass. Targeted vitest: - `src/features/storageBackups` + `src/utils/__tests__/sourcePlatforms.test.ts` + `src/components/Storage/__tests__/storageSourceOptions.test.ts` (31 files / 141 tests) green. Go tests: - `go test ./internal/mock/... ./internal/monitoring/... ./internal/vmware/...` all green. Contracts updated: - `monitoring.md` Shared Boundaries: new K8s multi-cluster default, ±5% tolerance for the broadcast equivalence assertion. - `deployment-installability.md` Shared Boundaries: toggle-mock.sh / DefaultConfig parity updated for the K8sClusterCount=3 baseline. |
||
|---|---|---|
| .. | ||
| dev | ||
| eval | ||
| installtests | ||
| lib | ||
| lint-fixer | ||
| release_control | ||
| systemd | ||
| tests | ||
| .go-version | ||
| audit-private-boundary.sh | ||
| backfill-release-assets.sh | ||
| build-release.sh | ||
| bundle.manifest | ||
| bundle.sh | ||
| check-bench-regression.sh | ||
| check-workflow-dispatch-inputs.py | ||
| clean-mock-alerts.sh | ||
| cleanup.sh | ||
| cloud-backup.sh | ||
| com.pulse.hot-dev.plist.template | ||
| conformance-smoke.sh | ||
| demo_public_browser_smoke.cjs | ||
| dev-check.sh | ||
| dev-deploy-agent.sh | ||
| dev-launchd-setup.sh | ||
| dev-launchd-wrapper.sh | ||
| docker-build.sh | ||
| ensure_test_assets.sh | ||
| exclusive-lock.mjs | ||
| generate-release-notes.sh | ||
| generate-self-hosted-feature-catalog.go | ||
| generate-types.go | ||
| hot-dev-bg.sh | ||
| hot-dev.sh | ||
| install-container-agent.sh | ||
| install-docker.sh | ||
| install-go-toolchain.sh | ||
| install-mcp.ps1 | ||
| install-mcp.sh | ||
| install.ps1 | ||
| install.sh | ||
| package-helm-chart.sh | ||
| patrol_e2e_matrix.sh | ||
| pulse-auto-update.sh | ||
| release_asset_common.sh | ||
| release_ldflags.sh | ||
| release_update_key.go | ||
| remerge-parallel.sh | ||
| render_installers.go | ||
| repo-boundary-paid-surface.allowlist | ||
| run_cloud_public_signup_smoke.sh | ||
| run_demo_public_browser_smoke.sh | ||
| run_hosted_staging_smoke.sh | ||
| session-handoff.sh | ||
| standalone.manifest | ||
| sync-production-config.sh | ||
| sync_chart_release_metadata.py | ||
| telemetry_adoption_report.py | ||
| test-vm-disk.sh | ||
| toggle-mock.sh | ||
| trigger-release-dry-run.sh | ||
| trigger-release.sh | ||
| validate-published-release.sh | ||
| validate-release.sh | ||