Repository navigation
Update downloads tracking snapshot - #39
Conversation
PR Summary by QodoRefresh release download snapshot and charts for October 7
AI Description
Diagram
High-Level Assessment
Files changed (6)
|
Code Review by Qodo
1. Offline previews show yesterday's snapshot
|
| "firstDate": "2026-10-07", | ||
| "lastDate": "2026-10-07", |
There was a problem hiding this comment.
1. Offline previews show yesterday's snapshot 🐞 Bug ≡ Correctness
The embedded FALLBACK data in stats/dashboard.html still uses 2026-10-06, while this snapshot update changes the published series to 2026-10-07. When downloads.json cannot be fetched, including file:// previews and offline use, the dashboard renders that stale fallback instead of the newly published snapshot.
Agent Prompt
## Issue description
The automated snapshot update changes the published coverage date to 2026-10-07, but the preserved embedded fallback in the dashboard remains keyed to 2026-10-06. Offline and file-based previews therefore render stale snapshot metadata whenever `downloads.json` cannot be fetched.
## Fix Focus Areas
- stats/downloads.json[21-24]
- stats/dashboard.html[162-176]
- stats/dashboard.html[211-216]
- .github/workflows/stats-daily-with-chart.yml[86-119]
## Recommended Fix
Update the embedded `snapshot-data` in `stats/dashboard.html` whenever the generated snapshot changes, or change the publishing workflow to regenerate/synchronize that fallback from `stats/downloads.json` while preserving the dashboard customization. Ensure offline rendering uses the same date, series, and statistics as the published JSON.
ⓘ 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: 2647
Day: 0
Week: 0
Month: 0