Skip to content

Do not re-sort the history of metric definitions - it's already ordered#2337

Merged
badboy merged 1 commit into
mainfrom
dont-reverse-history
Jul 22, 2026
Merged

Do not re-sort the history of metric definitions - it's already ordered#2337
badboy merged 1 commit into
mainfrom
dont-reverse-history

Conversation

@badboy

@badboy badboy commented Jul 22, 2026

Copy link
Copy Markdown
Member

The probeinfo service already orders the list:
The first entry (index 0) is the very first.
The last entry (in Python accessible by index -1) is the last.

There's some edge cases where we can have multiple entries with the same date, because they are for the same commit. That happens after we extend the data.
In this case the previous logic could reorder those fields wrongly, leading to inconsistent data

The probeinfo service already orders the list:
The first entry (index 0) is the very first.
The last entry (in Python accessible by index -1) is the last.

There's some edge cases where we can have multiple entries
_with the same date_, because they are for the same commit.
That happens after we extend the data.
In this case the previous logic could reorder those fields wrongly,
leading to inconsistent data.
@badboy
badboy requested a review from jeddai July 22, 2026 18:04
@badboy
badboy merged commit fa35d3f into main Jul 22, 2026
7 checks passed
@badboy
badboy deleted the dont-reverse-history branch July 22, 2026 18:10
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.

2 participants