Skip to content

pm-aggregator /health: SLO budgets read 'exhausted' inside target; feed permanently 'stale' at its own cadence #14062

Todo

Description

@developing-today-fleet

Finding (PM pages review, 2026-11-23): the Health page's own signals contradict themselves, so the one page whose job is trust can't be trusted at a glance.

Exhibits (live, 2026-11-24T03:33Z, screenshots/health.png in the review record):

  1. SLO error budgets table: "Feed age — target p95 ≤ 10 min — current 5m old — budget remaining 0.0% — burn 0.00 — state: exhausted." A facet inside its target is "exhausted" with zero burn. Aggregator and Projector read "up" yet also 0.0% / exhausted. Intake and Tunnel are "unknown / no signal source" but still display a 3.33 / 16.74 burn figure. Only one of seven facets reads "ok".
  2. Permanent stale: the fleet-feed collector runs a ~5 min cadence and the freshness threshold is 5 min, so the feed is "stale — at or past the threshold" essentially whenever anyone looks (7m old at capture). The page banner "Something below is degraded" is therefore permanent, training the reader to ignore it. /api/health likewise reports status: ok alongside degraded: true and a not-ok fleet-feed service.
  3. The quota-gatherer table lists ~44 rows with duplicate providers under variant keys (_openai, _openai.main, opencode-go · popesdrew ×3), raw internal ids as names, 11 providers in "error" with no error text, and a "Behind by: unknown" + identical lag-note sentence on nearly every row.

Ask: reconcile the SLO math with its display (a facet inside target cannot be exhausted; unknown facets show no burn), align the feed freshness threshold with the collector's real cadence (or report age without a stale verdict inside one cadence+margin), dedupe the gatherer table to one row per provider with the actual error message, and make the top-level status agree with the degraded flag.

Review record: doc/2026-11-24T03-51-11Z_review_pm-stack-pages.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T03:52:30Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": null,
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": null,
    "auth_subject": "archer",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. developing-today commented on Nov 24, 2026

    @developing-today
    Contributor
  2. added
    epic/pm-stack-maintenance
    primary-parent/pm-stack-maintenance
    stray-work
    on Nov 24, 2026
  3. dezren39 commented on Nov 24, 2026

    @dezren39
    Member

    Triage verdict (lane code-j, 2026-11-24): open, a defect, not resolved. No fix PR exists for the SLO budget or the permanent-stale feed. Related: #13093 (server.ts split, open) touches the same file, so the fix should land after or with it. Size: effort/m, a logic fix in pm-aggregator /health plus a test for the 'inside target reads exhausted' case. Route: keep open as the bug item for feature-slice. Refs #14068, #13052, #14158.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    epic/pm-stack-maintenanceprimary-parent/pm-stack-maintenancestray-work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions