Skip to content

fix: standardize token analytics shared secret naming#46

Merged
newbish merged 2 commits into
mainfrom
docs/plugin-install-procedures
Jun 12, 2026
Merged

fix: standardize token analytics shared secret naming#46
newbish merged 2 commits into
mainfrom
docs/plugin-install-procedures

Conversation

@newbish

@newbish newbish commented Jun 12, 2026

Copy link
Copy Markdown
Member

Summary

  • standardize the ingest secret naming on both Hermes and Worker sides to HERMES_TOKEN_ANALYTICS_SHARED_SECRET
  • keep backward compatibility with legacy INGEST_SHARED_SECRET and HERMES_TOKEN_ANALYTICS_TOKEN during migration
  • clarify the operator runbook that install-cron-wrapper installs one sync wrapper and operators should run one cron job that covers both rollups and heartbeat freshness

Testing

  • uv run --with pytest python -m pytest plugins/hermes-token-analytics/tests/test_token_analytics_plugin.py -q
  • npm test
  • npm run typecheck
  • npm run build

@newbish newbish changed the title docs: add plugin install and cron runbook fix: standardize token analytics shared secret naming Jun 12, 2026
@github-actions

Copy link
Copy Markdown

🚀 Cloudflare preview: https://token-usage-analytics-pr-46.tevpro.workers.dev

@newbish newbish merged commit f40c9df into main Jun 12, 2026
3 of 4 checks passed
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.

2 participants