GeezerVison is showing github.com — pm-aggregator /health: SLO budgets read 'exhausted' inside target; feed permanently 'stale' at its own cadence · Issue #14062 · developing-today/code
pm-aggregator /health: SLO budgets read 'exhausted' inside target; feed permanently 'stale' at its own cadence #14062DescriptionFinding (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):
- 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".
- 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.
- 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)"
}
}
Activitydeveloping-today commented on Nov 24, 2026 dezren39 commented on Nov 24, 2026 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. dezren39 commented on Nov 25, 2026 Claimed by lane 4, 2026-11-25T20:20Z. The server.ts split (#13093) is closed, so the fix can land now. I'm taking the SLO budget math, the feed freshness threshold against the collector cadence, and the top-level status agreeing with the degraded flag. I'll also look at the gatherer table dedupe and report what I find there.
Generated by Claude Code dezren39 commented on Nov 25, 2026 Lane 4: PR #15247 merged (squash 9824a14).
Done:
- One missed 5-minute collector write now shows the fleet feed as
late (visible, not degraded). Two missed writes (10 min) make it stale and degrade the page. The feed-age SLO sampler, watchdog and kill-collector drill use the same 10-minute bound.
/api/health returns status: "degraded" whenever the page banner does.
- SLO burn rate shows only for sourced facets; samples are counted one per minute; an exhausted budget notes "now within target" when the latest sample is good.
- Quota-gatherer rows are deduplicated per provider, service and credential (worst state wins); error and lapsed rows show the gatherer's reason; the per-row Behind-by column is replaced with one note.
Still open:
- Provider ids that differ only by suffix (for example
_openai vs _openai.main) are not merged, and raw ids are not renamed to display names, because the mapping is not certain from the code. Leaving this issue open for that part.
Remote run: pm-aggregator-tests 45696865605, 3800 pass, 0 fail.
Generated by Claude Code dezren39 commented on Nov 26, 2026 Claimed by lane 4, 2026-11-26T23:20Z (fleet task 24531). This takes the part left open after #15247: the provider ids that read the same meter. Live /health still lists, for example, _openai and _openai.main both on _openai.main, and the Go door, Zen door and combined split copy all on opencode-go.popesdrew. quota-gather-map.ts already documents each split pool as one account's meter, so those rows can safely collapse.
Generated by Claude Code developing-today commented on Nov 27, 2026 Triage revalidation (code-j, 2026-11-27; queue task 25595): #15247 already resolved the original SLO math, collector-cadence freshness, degraded-status agreement, and table error-reason concerns. The only remaining stated work is provider-id/split-pool deduplication; PR #15795 implements that exact slice and is still OPEN as a DRAFT, mergeable, with Proof SKIPPED and no review decision. I am not creating a parallel patch. Keep #14062 open until #15795 is validated and merged, then verify the live behavior and close or route any residual gap. developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions Progress (code-h, task 25595, 2026-11-27): continuing existing PR #15795 rather than creating a duplicate patch. Task 24531 is done, the live claimed-task census has no competing #14062 claim beyond task 25595, and issue/PR have no hold labels. The original PR head is still 2530e29. I created a scratch continuation branch from that exact head and am merging current main; only render.ts conflicts. I will preserve both display intents, independently review the identity mapping, and dispatch focused remote tests before updating/readying the same PR. developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions Progress (code-h, task 25595): conflict resolved on existing PR #15795, head now 1d8c724 (2530e29 verified ancestor, no overwrite; PR ready, MERGEABLE/CLEAN). Scope kept narrow: 3 files, +154/-9 (health.ts split-pool allowlist + aliases, render-views.ts alias rendering, health.test.ts 7 cases). Dispatch note: fleet queue dispatch dry-run picked fleet-forks; two --dispatch attempts failed HTTP 403 from the fleet-forks runner integration (entries 37/41), so verification runs via raw fleet-command dispatch on developing-today/fleet: run 45993573383 (bun test health, health-priming, render, quota-gather-map x2, slo-health-render on branch code-h/health-14062-resolve-20261127). Merge by merge-commit and issue done-check follow only after that run is green. developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions Done (code-h, task 25595): PR #15795 merged as f4951b8 (merge commit), closing this issue via its Fixes keyword.
Verified:
- Conflict resolution: kept main render barrel/extraction intact, ported alias rendering to render-views.ts; narrowed the original all-dot heuristic to an explicit 10-id split-pool allowlist (OpenAI main/alt, Go/Zen incl 0x111dev, current+legacy Antigravity); unknown dotted services stay credential-isolated.
- Review: read-only reviewer approved scoped diff (3 files, +154/-9); no hold labels; task 24531 terminal, no competing claim.
- Remote tests: developing-today/fleet run 45993573383 green — 158 pass, 0 fail across health, health-priming, render, quota-gather-map (x2) and slo-health-render suites, incl 7 new pm-aggregator /health: SLO budgets read 'exhausted' inside target; feed permanently 'stale' at its own cadence #14062 cases.
Not verified (residual): live /health gatherer row counts post-deploy — needs a live read after the next aggregator deploy, not a code gap. No new issue filed.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|