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
11 changes: 6 additions & 5 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.
11 changes: 6 additions & 5 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.
11 changes: 6 additions & 5 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.
11 changes: 6 additions & 5 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.
11 changes: 6 additions & 5 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.
13 changes: 7 additions & 6 deletions stats/downloads.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,26 @@
"owner": "Bearsampp",
"repo": "module-ghostscript",
"visibility": "public",
"generatedAt": "2026-10-07T09:45:29.034Z",
"generatedAt": "2026-10-08T09:56:09.994Z",
"stats": {
"total": 915,
"day": 0,
"week": 0,
"month": 0
},
"partial": {
"day": true,
"day": false,
"week": true,
Comment on lines 8 to 15

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

2. Offline dashboard shows old totals 🐞 Bug ≡ Correctness

The embedded snapshot-data fallback in stats/dashboard.html still contains the previous 5,924
total, one snapshot, and 45-day window instead of the new snapshot values. When fetching
downloads.json fails for a file:// or offline preview, rendering remains on this stale fallback
and shows users obsolete statistics.
Agent Prompt
## Issue description
The dashboard's embedded fallback data is not updated when the automated snapshot changes, causing offline or file-based views to display obsolete totals and coverage.

## Fix Focus Areas
- stats/downloads.json[6-25]
- stats/dashboard.html[158-182]
- stats/dashboard.html[255-269]
- .github/workflows/stats-daily-with-chart.yml[100-126]

## Recommended Fix
Synchronize the `snapshot-data` JSON in `stats/dashboard.html` with the generated `downloads.json` during the stats workflow, or change the build process to regenerate the fallback block whenever the snapshot is replaced.

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

Dismiss ↗ | View ↗

"month": true
},
"snapshots": {
"windowDays": 45,
"count": 1,
"windowDays": 90,
"count": 2,
Comment on lines +14 to +20

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. Dashboard shows stale snapshot coverage 🐞 Bug ≡ Correctness

stats/dashboard.md still hard-codes the previous 45-day window, one collected snapshot, and fully
partial status. The workflow preserves this file while replacing the generated stats directory, so
every published dashboard continues to contradict the new JSON metadata.
Agent Prompt
## Issue description
The snapshot update changes the coverage window, snapshot count, and partial flags, but the preserved Markdown dashboard still displays the previous values.

## Fix Focus Areas
- stats/downloads.json[13-25]
- stats/dashboard.md[40-46]
- .github/workflows/stats-daily-with-chart.yml[100-126]

## Recommended Fix
Update the dashboard metadata from the generated JSON during the stats workflow, or generate the Markdown dashboard from the current snapshot so its window, count, dates, and partial status cannot remain stale after an automated snapshot update.

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

Dismiss ↗ | View ↗

"firstDate": "2026-10-07",
"lastDate": "2026-10-07",
"lastDate": "2026-10-08",
"series": {
"2026-10-07": 915
"2026-10-07": 915,
"2026-10-08": 915
}
},
"profile": {
Expand Down
Loading