Pulse/internal/mock
rcourtman 95171ff7bc proxmox(ceph): bespoke cluster table replaces filtered Storage view
The /proxmox/ceph tab was mounting <StorageSurface forcedView="pools"
forcedSourceFilter="proxmox-pve">. That surface ships its own internal
Pools/Physical-disks tab switcher (StoragePageControls always renders
StorageViewSwitcher), and the forcedView createEffect immediately
reverted any click on those tabs — so the buttons looked interactive
but did nothing, and neither view was Ceph-aware in the first place.

Build a real ProxmoxCephTable backed by the canonical CephCluster
resource (type='ceph') that already flows through /api/resources. Add
ResourceCephMeta/ResourceCephPoolMeta/ResourceCephServiceMeta types on
the frontend Resource (the backend already projects these on
unifiedresources.Resource.Ceph; the frontend type was missing). Render
one row per cluster with health, FSID, MON/MGR quorum, OSD up/in
counts, PGs, pool count + stored bytes, capacity utilisation, daemon
service summary, and the Ceph health message.

Also fix the mock generator: generateCephClusters returns nil unless
some Storage entry has type cephfs/rbd/ceph, and no mock storage was
ever generated with those types — so the Ceph tab has always been
empty under mock mode. Seed a cluster-wide RBD pool (48TB) and CephFS
data pool (24TB) on the mock-cluster instance so the canonical
adapter has real cluster topology to synthesize.
2026-05-16 14:35:22 +01:00
..
alert_history.go Make fixture graph the only mock runtime API 2026-03-31 15:42:16 +01:00
availability_fixtures.go Add ESPHome mock availability fixture 2026-05-06 14:25:36 +01:00
canonical_api_guardrails_test.go Make fixture graph the only mock runtime API 2026-03-31 15:42:16 +01:00
config_validation.go Make demo mock cadence configurable 2026-04-11 13:50:38 +01:00
config_validation_test.go Make demo mock cadence configurable 2026-04-11 13:50:38 +01:00
demo_scenarios.go mock(fixtures): scale default fixture sizes to a mature SMB homelab 2026-05-16 08:16:00 +01:00
demo_scenarios_test.go mock(fixtures): scale default fixture sizes to a mature SMB homelab 2026-05-16 08:16:00 +01:00
env_dev.go Gate release mock fixtures behind demo entitlement 2026-04-10 12:33:57 +01:00
env_release.go Gate release mock fixtures behind demo entitlement 2026-04-10 12:33:57 +01:00
fixture_graph.go Add mock availability endpoint fixtures 2026-05-06 14:08:03 +01:00
generator.go proxmox(ceph): bespoke cluster table replaces filtered Storage view 2026-05-16 14:35:22 +01:00
generator_helpers_coverage_test.go
generator_test.go Make demo mock cadence configurable 2026-04-11 13:50:38 +01:00
integration.go Stabilize RC release backend race proofs 2026-04-11 23:18:44 +01:00
integration_additional_test.go Make demo mock cadence configurable 2026-04-11 13:50:38 +01:00
integration_concurrency_test.go Make demo mock cadence configurable 2026-04-11 13:50:38 +01:00
integration_coverage_test.go Make demo mock cadence configurable 2026-04-11 13:50:38 +01:00
integration_release_test.go Gate release mock fixtures behind demo entitlement 2026-04-10 12:33:57 +01:00
integration_security_test.go Make demo mock cadence configurable 2026-04-11 13:50:38 +01:00
integration_shutdown_test.go
integration_test.go Make demo mock cadence configurable 2026-04-11 13:50:38 +01:00
metric_personas.go Sharpen mock summary isolation and role shaping 2026-04-01 12:21:36 +01:00
metric_runtime.go Sharpen mock summary isolation and role shaping 2026-04-01 12:21:36 +01:00
platform_fixtures.go Add mock availability endpoint fixtures 2026-05-06 14:08:03 +01:00
platform_fixtures_test.go Harden infrastructure workload identity regressions 2026-05-14 12:49:16 +01:00
platform_support_contract_test.go Bump install pins to rc.5 and refresh test fixtures for Patrol readiness + Unraid host profile tokens 2026-05-11 18:02:52 +01:00
recovery_points.go Curate canonical mock demo scenarios 2026-04-01 12:54:04 +01:00
recovery_points_test.go Stabilize RC release backend race proofs 2026-04-11 23:18:44 +01:00
truenas_metrics_identity.go fix: normalize contextual focus summaries 2026-04-01 12:06:24 +01:00