GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pm-aggregator: fixture fallbacks render invented data when sources die — fail visibly instead · Issue #14065 · developing-today/code

pm-aggregator: fixture fallbacks render invented data when sources die — fail visibly instead #14065

New issue
Copy link
New issue
Copy link
Done
#15417
Done
pm-aggregator: fixture fallbacks render invented data when sources die — fail visibly instead#14065
#15417
Copy link

Description

@developing-today-fleet
developing-today-fleet
bot
opened on Nov 24, 2026
Issue body actions

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.

Review record: doc/2026-11-24T03-51-11Z_review_pm-stack-pages (laptop-reliance map + per-facet paths).

{
  "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:57:36Z",
    "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
    developing-todayBot
    on Nov 24, 2026 – with developing.today
    Contributor
    More actions

    CODE-5170

  2. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    Member
    More actions

    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.

  3. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    Member
    More actions

    Triage verdict (oc-code-03, queue task 23313, 2026-11-24 15:05Z): open-remaining, valid.

    • Fresh state: OPEN. pm-stack/aggregator/src/sources/live.ts still serves fixtures on failed fetch (lines ~1395, ~1427, ~1582 for board, roadmap, quota and the others). PR docs(pm): PM stack pages review — every page live, with screenshots (2026-11-24) #14068 (merged) is a docs review record only; it does not fix this.
    • Size: a feature slice across the source adapters, with a fail-visible contract per source. Too big to triage here.
    • Routed: a scoped feature-slice packet against this issue. Recorded default: fail visibly with an explicit unavailable state, not invented data.
  4. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    Member
    More actions

    Claimed by lane 1, 2026-11-25T06:55Z.

    Slice 1 applies the recorded default (fail visibly, no invented data) to the two work facets, board (Kaneo) and roadmap (Grist), following the pattern attention already uses (#1116). In live mode, a failed read serves an empty list with an unavailable (…; fixtures withheld in live mode) provenance. The freshness chip gets its own unavailable state; today attention's unavailable string falls through to a fixtures chip. Quota, usage, items, comments and the rest stay for later slices.


    Generated by Claude Code

  5. dezren39
    added 4 commits that reference this issue on Nov 25, 2026

    fix(pm-aggregator): board and roadmap fail visibly in live mode inste…

    ed6bd7e

    test(pm-aggregator): roadmap horizon contract expects no fixture rows…

    177f290

    pm aggregator fails visibly, Needs Drew checklists, and the id refere…

    a01fd03

    pm-service dashboard pages, live quota/usage fail visibly, and fleet …

    d30c842
  6. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    Member
    More actions

    Slice 2 landed in PR #15205 (merged, d30c842). In live mode the aggregator no longer serves fixture numbers when sources die: quota with no fleet feed returns an empty view marked unavailable (no fleet feed file yet; fixtures withheld in live mode), usage with unreadable sources returns empty sections marked unavailable (feed charges, uninstrumented services, domains and history still shown), and the orchestration, DNS and AA sections say unavailable instead of fixtures. Test: pm-stack/aggregator/test/fail-visibly-14065.test.ts, green in pm-aggregator run 45685397826 and pm-stack run 45690771774. The README capability matrix now shows "none" as the fallback for Board, Roadmap, Quota and DNS.

    Items and comments already render their fixture sourcing visibly (#1141, #1500), so with slice 1 (PR #15050) and this slice I believe the issue's acceptance is met; leaving it open for a check that no other live view still falls back to fixtures.


    Generated by Claude Code

  7. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    Member
    More actions

    Claimed by lane 1, 2026-11-25T23:20Z (slice 3).

    Slice 3 takes items and comments, the two facets the issue names that still served fixtures in live mode. A ref neither the project pool nor the projector resolves is left unresolved instead of filled with a fixture item, and the comment stream is empty instead of fixture-sourced. Both facets say unavailable with the cause, and item pages say why linked refs are unresolved and why the stream is empty. The README matrix rows for Items, Comments, Attention and Registry are corrected too. Remote tests are running now.


    Generated by Claude Code

  8. dezren39
    added a commit that references this issue on Nov 26, 2026

    pm-aggregator: live mode serves no fixture items or comments (#14065 …

    4053b26
  9. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026 – with Claude
    Member
    More actions

    Lane 1: slice 3 merged in PR #15368 (4053b26). In live mode the aggregator now serves no fixture items or comments.

    • Refs that neither the pool nor the projector can resolve are left out. The items provenance says how many and why, and the facet reads partial-unavailable.
    • With the projector off or unreachable, comments are empty. Their provenance is unavailable and names the cause.
    • The item page says the comment stream is unavailable, so an empty stream does not read as no discussion.
    • provenance:check now fails if live mode calls the fixture items or comments.

    Proof: remote run https://github.com/developing-today/code/actions/runs/45746216718 on the PR head printed 3865 pass, 0 fail, TSC=0, PROV=0.

    With slices 1 to 3, no row of the README matrix falls back to fixtures in live mode. Fixtures remain only behind the explicit dev mode (PM_AGG_SOURCE=fixtures with PM_AGG_DEV=1) and in tests. One part of the ask is not covered: a facet does not yet say "since when" it has been unavailable. The issue stays open for that.


    Generated by Claude Code

  10. dezren39
    added a commit that references this issue on Nov 26, 2026

    pm-aggregator: an unavailable facet says since when (#14065 slice 4) (#…

    32b03eb
  11. dezren39
    closed this as completedin #15417on Nov 26, 2026
  12. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026 – with Claude
    Member
    More actions

    Lane 1: slice 4 merged in PR #15417 (32b03eb). An unavailable facet now says since when: provenanceDetail carries unavailableSince and the freshness chip shows it in UTC minutes. Remote run https://github.com/developing-today/code/actions/runs/45748153918: 3870 pass, 0 fail, TSC=0, PROV=0.

    With slices 1 to 4, no facet falls back to fixtures in live mode, and each unavailable facet says what is missing, why, and since when. Fixtures remain only for tests and the explicit dev mode.


    Generated by Claude Code

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.