Skip to content

Share cold status reports and reduce daily aggregation work - #246

Merged
kinqsradio merged 1 commit into
mainfrom
fix/status-report-performance
Oct 30, 2026
Merged

kinqsradio merged 1 commit into
mainfrom
fix/status-report-performance

Conversation

@kinqsradio

Copy link
Copy Markdown
Member

Cold status-page requests each rebuilt the same report, multiplying database work during concurrent visits. Share one in-flight report, retry after failures, and format daily dates after aggregation while retaining the existing 15-second cache and full history.

Validation: 14 focused status tests, backend typecheck, formatting and diff checks passed. Three alternating synthetic comparisons at one million history rows preserved complete JSON responses: median cold report 651→566ms; three concurrent reports 1,918→562ms, reducing history/clock queries from 12+3 to 4+1. These are local stress measurements, not a reproduction of production latency. Hosted CI is not a merge gate for this change per maintainer instruction.

@kinqsradio
kinqsradio merged commit bb6fb75 into main Oct 30, 2026
1 check passed
@kinqsradio
kinqsradio deleted the fix/status-report-performance branch November 2, 2026 07:56
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