Repository navigation
Update downloads tracking snapshot - #34
Conversation
PR Summary by QodoRefresh release download snapshot for October 7
AI Description
Diagram
High-Level Assessment
Files changed (6)
|
🐘 PostgreSQL Module Tests - ResultsTest Date: 2026-10-07 09:38:04 UTC ℹ️ Why were tests skipped? Tests are only run when:
To trigger tests:
|
Code Review by Qodo
1. The download trend loses its previous day
|
| "firstDate": "2026-10-07", | ||
| "lastDate": "2026-10-07", | ||
| "series": { | ||
| "2026-10-06": 3997 | ||
| "2026-10-07": 3997 |
There was a problem hiding this comment.
1. The download trend loses its previous day 🐞 Bug ≡ Correctness
The updated snapshot replaces the series with only 2026-10-07 while retaining a 45-day window and count of 1. Each daily update therefore discards the prior date instead of preserving it for the rolling history and trend charts.
Agent Prompt
## Issue description
The generated snapshot removes `2026-10-06` and retains only `2026-10-07`, despite declaring a 45-day history window. Daily updates should preserve existing snapshot dates until they fall outside the configured window.
## Fix Focus Areas
- stats/downloads.json[19-24]
- .github/workflows/stats-daily-with-chart.yml[34-42]
## Recommended Fix
Update the snapshot generation or staging-branch flow so each daily run merges the new date into the existing series, removes only entries older than 45 days, and recalculates `count`, `firstDate`, and `lastDate` from the retained series.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Automated update of the release download snapshot and charts.
Total: 3997
Day: 0
Week: 0
Month: 0