[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. 馃珫 Status page with uptime monitoring & API monitoring as code 馃珫 openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor

fix(status-page): order reports by latest update in getLight (#3003) master

* fix(status-page): order reports by latest update in getLight (#3002) * ci: apply automated fixes * refactor(api): extract sortStatusReportsByLatestUpdate helper Share `sortStatusReportsByLatestUpdate` between `statusPage.get` and `statusPage.getLight` and add a direct unit test for the comparator. * ci: apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>


+98 -32
2 changed files