Skip to content

Dashboard: merge agent telemetry missing for some waves (snapshot not captured) #509

@HenryLach

Description

@HenryLach

Problem

After the #498 fix (waveIndex-based merge telemetry matching), some waves show merge telemetry and others show ——. The fix correctly associates telemetry with the right wave, but some waves never get a telemetry snapshot captured.

Evidence

Polyrepo test batch with 5 waves:

  • Wave 1: no telemetry (3 repos)
  • Wave 2: telemetry shown (11m 29s, 10 tools)
  • Wave 3: no telemetry (2 repos)
  • Wave 4: telemetry shown (4m 55s, 11 tools)

Likely Cause

The merge snapshot (merge-N.json) is written during merge execution and cleaned up after. Fast merges may complete before the dashboard's next poll captures the snapshot. Or the snapshot is written with a waveIndex that doesn't match the dashboard's expectation.

Fix

Either:

  1. Persist merge telemetry in the merge result JSON (already written and retained) so it's always available
  2. Or ensure merge snapshots are retained until the dashboard has read them

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions