Skip to content

Update website to read stats from new distribution - #2286

Merged
mcpherrinm merged 4 commits into
mainfrom
new-cert-tsv
Aug 18, 2026
Merged

Update website to read stats from new distribution#2286
mcpherrinm merged 4 commits into
mainfrom
new-cert-tsv

Conversation

@lenaunderwood22

@lenaunderwood22 lenaunderwood22 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Update source of certificate daily stats, which is now cert-daily-stats.tsv from a different distribution URL. Other artifacts are still retrieved from the old distribution URL.

New TSV file has the same columns in the same order as old TSV file. Only difference is the new TSV file has headers, which will get safely skipped.

@lenaunderwood22
lenaunderwood22 marked this pull request as ready for review August 14, 2026 14:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the website’s certificate daily statistics graph to load data from a new distribution location/file (cert-daily-stats.tsv), while keeping other graph artifacts on the existing distribution URL.

Changes:

  • Switch stats fetch from cert-timeline.tsv to cert-daily-stats.tsv and introduce a separate base URL for that file.
  • Add a header row to the locally checked-in cert-daily-stats.tsv fixture/sample file.
  • Update CSP connect-src allowlist to permit fetching stats from the new CloudFront distribution.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
static/js/stats.js Fetches daily stats TSV from the new distribution URL while keeping other artifacts on the old URL.
static/js/cert-daily-stats.tsv Adds TSV header row to match the new upstream format.
netlify.toml Adds the new CloudFront domain to CSP connect-src.
config/_default/server.toml Adds the new CloudFront domain to CSP connect-src for the dev server config.
_maintenance_update_graph_data.sh.example Updates the example maintenance script to use the new stats TSV filename/source.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread static/js/stats.js
Comment thread _maintenance_update_graph_data.sh.example
@mcpherrinm
mcpherrinm merged commit a33b4fc into main Aug 18, 2026
8 checks passed
@mcpherrinm
mcpherrinm deleted the new-cert-tsv branch August 18, 2026 20:13
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.

3 participants