Skip to content

chore: cherry-pick spec dedupe legacy chain slugs#768

Merged
Flotapponnier merged 1 commit into
mainfrom
chore/cherry-dedupe-aliased-chain
Jun 27, 2026
Merged

chore: cherry-pick spec dedupe legacy chain slugs#768
Flotapponnier merged 1 commit into
mainfrom
chore/cherry-dedupe-aliased-chain

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Cherry-pick of #767 from dev.

When a chain rename rolls through Prom while the 24h window still holds samples on the legacy label (e.g. ton → gram during the harness redeploy lag), the loader rewrote each ton row to gram but did not dedupe — so /benchmarks/l1-finality rendered Gram twice (one row per source series).

Two-pass: rewrite then dedupe by canonical slug, preferring the row whose original slug already matched the canonical (current harness emit) over the alias-rewritten historical row.
@Flotapponnier
Flotapponnier merged commit 02eac2e into main Jun 27, 2026
1 check passed
@Flotapponnier
Flotapponnier deleted the chore/cherry-dedupe-aliased-chain branch June 27, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant