You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pm-aggregator: fixture fallbacks render invented data when sources die — fail visibly instead #14065
Finding / recommendation (PM pages review, 2026-11-23): when a data source dies, dashboard facets fall back to FIXTURES — invented sample data — instead of failing visibly. For a stack whose brief is "work with no machine", that's the wrong failure shape.
From the aggregator's own capability provenance matrix (pm-stack/aggregator/README.md, #1200): Board, Roadmap, Items, Comments, Quota, Attention, DNS, and Registry all list fixtures as their fallback when the live source is unreachable. The health page names fixture renders honestly ("0 resolved from fixtures" in coverage), but the facet pages themselves render fixture rows as ordinary content with only the small provenance line distinguishing them. When the laptop or the feed is down — exactly the failure mode the off-laptop programme (#3989, #9079) exists to remove — the dashboard's answer is to show plausible fake work items, fake quotas, and fake sessions.
Ask: change the fallback contract: a facet with no live source renders an explicit unavailable state (what's missing, since when, what would fix it), never fixture rows outside an explicitly-labelled demo mode. Keep fixtures for tests and first-run seeding only. This is a design change to the Source interface's failure semantics, so it wants a slice under #1184/#3989 rather than a patch.
Triage verdict (lane code-f, task 22504, 2026-11-24): still open and still true. pm-stack/aggregator/src/sources/live.ts serves fixtures on failed fetches for board, roadmap, items, comments, quota, usage, attention, orchestration, dns, registry and aa (provenance strings such as "fixtures (kaneo unreachable: ...)"). Attention is already withheld in live mode (line ~1821), so the contract is partly applied, not uniform. Size: a design change to Source failure semantics, so it is multi-slice and should be routed under #1184/#3989 rather than patched here. Follow-on: implement an explicit per-facet unavailable state in live.ts and the facet renderers, keeping fixtures for tests and seeding only. Tracking: #14158.
Activity
developing-today commentedon Nov 24, 2026
CODE-5170
dezren39 commentedon Nov 24, 2026
Triage verdict (lane code-f, task 22504, 2026-11-24): still open and still true. pm-stack/aggregator/src/sources/live.ts serves fixtures on failed fetches for board, roadmap, items, comments, quota, usage, attention, orchestration, dns, registry and aa (provenance strings such as "fixtures (kaneo unreachable: ...)"). Attention is already withheld in live mode (line ~1821), so the contract is partly applied, not uniform. Size: a design change to Source failure semantics, so it is multi-slice and should be routed under #1184/#3989 rather than patched here. Follow-on: implement an explicit per-facet unavailable state in live.ts and the facet renderers, keeping fixtures for tests and seeding only. Tracking: #14158.