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:
- Persist merge telemetry in the merge result JSON (already written and retained) so it's always available
- Or ensure merge snapshots are retained until the dashboard has read them
Related
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:
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:
Related