mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-25 13:10:13 +00:00
0dfef290e3
- DO rollup no longer drops legacy telemetry. MetricsMath.BuildAppMetricsPayload now delegates to DoAggregator.Compute (the existing single source), which falls back to peers + http when DoTotalBytesDownloaded is 0 and filters to rows that actually carry DO telemetry (DoDownloadMode >= 0). Removes the duplicate summation that used DoTotalBytesDownloaded directly as the denominator. - InstallsTab DO card now renders whenever any DO source bytes exist (effective total = max(total, peers+MCC+http)) instead of hiding on totalBytesDownloaded <= 0. - get_software_inventory: guard the GA inventory path — a Global Admin call with scope="inventory" and no tenantId now returns actionable guidance instead of a raw backend 400. Tests: new MetricsMath fallback test; DO test rows set DoDownloadMode so they pass the telemetry filter. Backend 2203/2203, MCP 220, web 446, all tsc clean. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>