Missing LastMirrorTimestamp in /stats endpoint after HDD failure #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description:
Ever since the hard drive decided to check out early, our /stats endpoint has forgotten its own memory—namely, the last_mirror_timestamp. This field is critical for rendering the “last mirror sync” time in the build status UI, but it’s nowhere to be found in the JSON response.
Steps to Reproduce:
/statsendpoint:last_mirror_timestampproperty under the stats object.Actual Behavior:
Expected Behavior:
Response should include a timestamp indicating when the last mirror synchronization occurred, for example:
Impact:
Relevant Code:
Thanks for restoring our API’s memory! 🧠💾
Fixed.