Pulse/internal/mock
Pulse Test 1d9e66b24c fix(mock): keep provider fixtures fresh on slow demo ticks
The public demo runs PULSE_MOCK_UPDATE_INTERVAL=60s, which stretches the
10-cohort supplemental rotation to 600s while the unified registry still
marks TrueNAS/VMware/availability sources stale after 120s. Every row those
sources own spent ~80% of each rotation flagged as a degraded stale source,
so the TrueNAS Storage tab read Healthy 0 / Attention 21 (and the vSphere
page all-Attention) despite healthy fixture data.

Rebase provider-backed fixtures every tick once the rotation would outlive
the 120s freshness budget (at slow ticks that is cheaper per wall-clock
second than the default 2s config's once-per-20s cadence), and derive mock
supplemental stale thresholds from the actual refresh cadence the same way
PVE/PBS/PMG thresholds already derive from their polling intervals. Split
the supplemental uptime step so per-tick refreshes do not advance PBS
uptime by the rotation-scaled step.
2026-08-30 22:10:49 +01:00
..
action_fixtures.go Add mock action lifecycle data 2026-07-13 16:24:06 +01:00
action_fixtures_test.go Add mock action lifecycle data 2026-07-13 16:24:06 +01:00
alert_history.go Make informational alerts a first-class severity 2026-08-28 00:45:20 +01:00
alert_incidents.go Make mock alert history lifecycle-consistent 2026-08-27 23:36:55 +01:00
alert_incidents_test.go Make informational alerts a first-class severity 2026-08-28 00:45:20 +01:00
availability_fixtures.go Add multi-location service delivery evidence 2026-08-30 21:44:32 +01:00
branchcov0723pm_test.go feat(monitoring): alert on certificate validity 2026-08-06 09:47:03 +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 Clear all errcheck and gofmt violations so make lint gates on real findings 2026-06-09 21:42:21 +01:00
demo_scenarios.go Scale large-estate workload and Proxmox demo performance 2026-08-23 15:09:32 +01:00
demo_scenarios_benchmark_test.go feat: scale the Proxmox demo estate 2026-08-19 16:28:07 +01:00
demo_scenarios_test.go Scale large-estate workload and Proxmox demo performance 2026-08-23 15:09:32 +01:00
discovery_fixtures.go Tighten Discovery drawer signal 2026-05-20 15:55:19 +01:00
discovery_fixtures_filter_branchcov0720am_test.go Add Go branch-coverage tests for unified-resource pure helpers and platform fixtures 2026-07-20 10:49:11 +01:00
discovery_fixtures_test.go Seed mock Discovery fixtures 2026-05-20 14:54:19 +01:00
env_dev.go Remove 198 unreachable Go functions 2026-06-03 12:29:37 +01:00
env_release.go Gate release mock fixtures behind demo entitlement 2026-04-10 12:33:57 +01:00
fixture_data_version_test.go Stabilize mock snapshot memoization proof 2026-08-27 06:44:56 +01:00
fixture_graph.go fix(mock): keep provider fixtures fresh on slow demo ticks 2026-08-30 22:10:49 +01:00
generator.go fix(mock): keep provider fixtures fresh on slow demo ticks 2026-08-30 22:10:49 +01:00
generator_helpers_coverage_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
generator_test.go Restore Proxmox node network details 2026-08-26 15:17:12 +01:00
integration.go fix(mock): keep provider fixtures fresh on slow demo ticks 2026-08-30 22:10:49 +01:00
integration_additional_test.go Make demo mock cadence configurable 2026-04-11 13:50:38 +01:00
integration_concurrency_test.go Clear all errcheck and gofmt violations so make lint gates on real findings 2026-06-09 21:42:21 +01:00
integration_coverage_test.go Make informational alerts a first-class severity 2026-08-28 00:45:20 +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 Clear all errcheck and gofmt violations so make lint gates on real findings 2026-06-09 21:42:21 +01:00
integration_shutdown_test.go Clear all errcheck and gofmt violations so make lint gates on real findings 2026-06-09 21:42:21 +01:00
integration_test.go Make demo mock cadence configurable 2026-04-11 13:50:38 +01:00
metric_personas.go fix(mock): derive host-relative memory history beyond the seeded window 2026-08-06 00:21:41 +01:00
metric_runtime.go Stabilize RC runtime ownership 2026-07-20 07:50:22 +01:00
metric_runtime_test.go Stabilize RC runtime ownership 2026-07-20 07:50:22 +01:00
platform_fixtures.go Warm registry view caches before resolving mock metrics targets 2026-08-16 22:01:55 +01:00
platform_fixtures_test.go fix(mock): keep provider fixtures fresh on slow demo ticks 2026-08-30 22:10:49 +01:00
platform_support_contract_test.go Consolidate container and Kubernetes platform tabs 2026-05-24 19:20:14 +01:00
recovery_points.go fix: make Proxmox protection posture evidence-backed 2026-08-04 15:07:18 +01:00
recovery_points_test.go fix: make Proxmox protection posture evidence-backed 2026-08-04 15:07:18 +01:00
testhelpers_test.go Clear all errcheck and gofmt violations so make lint gates on real findings 2026-06-09 21:42:21 +01:00
truenas_metrics_identity.go Remove 198 unreachable Go functions 2026-06-03 12:29:37 +01:00