Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions stats/charts/daily--black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions stats/charts/monthly--black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions stats/charts/total-trend--black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions stats/charts/weekly--black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions stats/downloads-trend.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions stats/downloads.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"owner": "Bearsampp",
"repo": "module-composer",
"visibility": "public",
"generatedAt": "2026-10-06T06:07:02.900Z",
"generatedAt": "2026-10-07T09:59:38.286Z",
"stats": {
"total": 2647,
"day": 0,
Expand All @@ -18,10 +18,10 @@
"snapshots": {
"windowDays": 45,
"count": 1,
"firstDate": "2026-10-06",
"lastDate": "2026-10-06",
"firstDate": "2026-10-07",
"lastDate": "2026-10-07",
Comment on lines +21 to +22

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remediation recommended

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

Dismiss ↗ | View ↗

"series": {
"2026-10-06": 2647
"2026-10-07": 2647
}
},
"profile": {
Expand Down
Loading