Skip to content

pm-aggregator /aa: dataset-version picker lists the same version six times with identical labels #14066

Todo

Description

@developing-today-fleet

Finding (PM pages review, 2026-11-23): the Cost Explorer's dataset-version picker lists the same version six times with indistinguishable labels.

Live /aa (2026-11-24): the "Dataset version" select shows six identical rows — "2026-10-31 · ai_model_benchmark_inventory_advanced_2026-10…" — plus one 2026-10-29 and one 2026-10-21, every label truncated at the same point. A reader cannot tell the six apart (they're separate imports of the same inventory), so the version-comparison feature is unusable as labelled. Underneath, the page is honest about provenance (latest batch collected 2026-11-23 23:13Z; Test_Runs snapshots end 2026-11-16) — the picker is the broken part.

Ask: dedupe the picker by dataset (one row per inventory version, latest import preselected) or disambiguate each row with its import timestamp + row counts; never render two options with identical visible labels.

Review record: doc/2026-11-24T03-51-11Z_review_pm-stack-pages (screenshots/aa.png).

{
  "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:43Z",
    "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
    on Nov 24, 2026
  3. added
    stray-work
    on Nov 24, 2026
  4. dezren39 commented on Nov 24, 2026

    @dezren39
    Member

    Triage verdict (code-j, 2026-11-24): real and still open, not resolved.

    Root cause in pm-stack/aggregator/src/aa-batches.ts summarizeBatches: rows are collapsed only when a fingerprint is known and matches. Batches whose fingerprint is null (not yet built) are never collapsed, so six carriers of the same workbook all render. The label (batchLabel) truncates the workbook name at 46 chars and has no import time or row counts, so the rows look identical.

    Sized as one small fix (~1 file plus a test): either dedupe by workbook name + normalised content when fingerprints are missing, or extend batchLabel with the full import timestamp and a row-count suffix so every option is distinct. Follow-on packet: fix in aa-batches.ts with a test that six same-name rows render distinct labels or collapse to one.

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