Repository navigation
Update downloads tracking snapshot - #46
Conversation
PR Summary by QodoRefresh download snapshot and charts for module-mailpit
AI Description
Diagram
High-Level Assessment
Files changed (6)
|
Code Review by Qodo
1. Offline dashboard shows old downloads
|
| "repo": "module-mailpit", | ||
| "visibility": "public", | ||
| "generatedAt": "2026-10-06T00:45:27.711Z", | ||
| "generatedAt": "2026-10-06T06:07:08.244Z", | ||
| "stats": { | ||
| "total": 5924, | ||
| "total": 1736, |
There was a problem hiding this comment.
1. Offline dashboard shows old downloads 🐞 Bug ≡ Correctness
The embedded FALLBACK snapshot in gh-dl/dashboard.html still reports the old Bearsampp repository and 5,924 downloads instead of the updated snapshot values. When downloads.json cannot be fetched, including file:// previews and offline use, the dashboard displays the stale repository, totals, date and series.
Agent Prompt
## Issue description
The downloads snapshot now identifies `Bearsampp/module-mailpit` with 1,736 total downloads, but the dashboard's embedded fallback still contains the prior Bearsampp snapshot with 5,924 downloads. Offline or failed-fetch dashboard views therefore show stale repository and download data.
## Fix Focus Areas
- gh-dl/downloads.json[4-8]
- gh-dl/dashboard.html[157-173]
## Recommended Fix
Update the embedded `snapshot-data` JSON in `gh-dl/dashboard.html` to match the current `gh-dl/downloads.json`, or change the generation workflow so every snapshot update refreshes the fallback automatically. Keep the fallback repository, generated timestamp, totals, partial flags, and series synchronized with the published snapshot.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
| "repo": "module-mailpit", | ||
| "visibility": "public", | ||
| "generatedAt": "2026-10-06T00:45:27.711Z", | ||
| "generatedAt": "2026-10-06T06:07:08.244Z", | ||
| "stats": { | ||
| "total": 5924, | ||
| "total": 1736, |
There was a problem hiding this comment.
2. Download page reports the wrong repository 🐞 Bug ≡ Correctness
The checked-in gh-dl/dashboard.md still identifies the data as Bearsampp/Bearsampp and its badges fetch that repository's snapshot, while downloads.json now identifies Bearsampp/module-mailpit. Readers of the Markdown page see incorrect release links and badge values instead of the module-mailpit download statistics.
Agent Prompt
## Issue description
The snapshot now tracks `Bearsampp/module-mailpit`, but `gh-dl/dashboard.md` still links to `Bearsampp/Bearsampp`, queries that repository's JSON in every badge, and labels the data as the parent repository. The published Markdown download page consequently displays unrelated repository totals and directs users to the wrong releases.
## Fix Focus Areas
- gh-dl/downloads.json[3-8]
- gh-dl/dashboard.md[1-8]
- gh-dl/dashboard.md[31-33]
## Recommended Fix
Replace the Markdown page title, repository links, badge JSON URLs, release links, and repository table value with `Bearsampp/module-mailpit`. Update the generation process or workflow so these references are regenerated whenever the tracked repository changes.
ⓘ 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: 1736
Day: 0
Week: 0
Month: 0