thoth-station / mi

an experiment on Source Operation Metrics
GNU General Public License v3.0
6 stars 10 forks source link

Add first_response field and fix first_response_at #599

Closed xtuchyna closed 2 years ago

xtuchyna commented 2 years ago

Bug description

Related to https://github.com/thoth-station/mi/blob/85b52496245d1e5a62aeeccd0a2c4c24fd563135/srcopsmetrics/entities/issue.py#L87

The min function returns whole dictionary instead of timestamp

Solution

Fix first_response_at and add first_response field for more additional metadata. Although redundant, this is handy for the user who only focuses on first response times and not other additional metadata.

goern commented 2 years ago

/sig user-experience

xtuchyna commented 2 years ago

Fixed in https://github.com/thoth-station/mi/pull/574