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-apache",
"visibility": "public",
"generatedAt": "2026-10-06T06:06:48.113Z",
"generatedAt": "2026-10-07T09:57:03.697Z",
"stats": {
"total": 2095,
"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",
"series": {
"2026-10-06": 2095
"2026-10-07": 2095
Comment on lines +21 to +24

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 dashboard shows an old snapshot 🐞 Bug ≡ Correctness

The embedded FALLBACK in stats/dashboard.html remains dated October 6 while this update advances
the canonical snapshot and chart data to October 7. When fetching downloads.json fails or the page
is opened from file://, the dashboard keeps rendering that fallback, showing stale coverage and
statistics alongside the current charts.
Agent Prompt
## Issue description
The workflow preserves `stats/dashboard.html` while replacing the generated snapshot, so its embedded fallback remains on the previous snapshot after each daily update. Offline or failed-fetch views can therefore show stale dates and statistics.

## Fix Focus Areas
- stats/downloads.json[6-24]
- stats/dashboard.html[157-170]
- .github/workflows/stats-daily-with-chart.yml[107-130]

## Recommended Fix
Update the embedded `snapshot-data` in `stats/dashboard.html` whenever the generated `stats/downloads.json` changes, preferably by adding a workflow step that replaces the embedded JSON from the current snapshot while preserving the rest of the customized dashboard. Add validation to ensure the fallback and external JSON have matching generated dates, totals, and snapshot series before creating the pull request.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Dismiss ↗ | View ↗

}
},
"profile": {
Expand Down
Loading