Skip to content

fix(release-stats): merge both repos and preserve daily history - #298

Merged
zheli merged 1 commit into
mainfrom
zzz/f7a599f4
Jul 31, 2026
Merged

fix(release-stats): merge both repos and preserve daily history#298
zheli merged 1 commit into
mainfrom
zzz/f7a599f4

Conversation

@zheli

@zheli zheli commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Fix release download stats so canton-devkit and homebrew-canton-devkit counts are actually merged, and so the daily history JSONL accumulates instead of being reset from main each run.

Changes

  • Fix scripts/release-stats.sh multi-repo merge (bash-safe jq concatenate) so canton-devkit downloads are no longer dropped
  • Seed release-downloads-history.jsonl from release-stats-data before generating charts
  • Harden curl auth header path under set -u
  • Regenerate README chart assets and backfill recent history snapshots

Test plan

  • bash scripts/release-stats.sh locally (fetched both repos; total 63 across 27 releases)
  • Confirm next scheduled/workflow_dispatch release-stats run publishes updated charts to release-stats-data
  • make test (N/A for script/docs-only change; optional)
  • make lint (N/A for script/docs-only change; optional)

Checklist

  • Tests pass locally (script regeneration verified)
  • No coverage regression on touched code (no Go coverage impact)
  • Docs updated (and website/ synced if any mirrored docs/*.md changed) — README only; no mirrored docs pages
  • CLI ↔ Web UI parity maintained (or follow-up issue + TODO(#issue) comment) — N/A

The bash double-here-string merge dropped canton-devkit counts, so charts
only reflected homebrew-canton-devkit. Seed history from release-stats-data
before each run so daily snapshots are not wiped by main's stale copy.
@zheli
zheli marked this pull request as ready for review July 31, 2026 07:27
@zheli
zheli merged commit c723410 into main Jul 31, 2026
@zheli
zheli deleted the zzz/f7a599f4 branch July 31, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant