Files
AutopilotMonitor/src/Web
Oliver Kieselbach 0dfef290e3 fix(metrics+mcp+web): address DO-rollup + GA-inventory review findings
- 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>
2026-06-07 18:11:17 +02:00
..
2026-03-26 07:02:33 +01:00