Skip to content

[codex] Enable production analytics sends#200

Merged
JBallin merged 1 commit into
mainfrom
codex/issue-185-enable-production-analytics
Jun 30, 2026
Merged

[codex] Enable production analytics sends#200
JBallin merged 1 commit into
mainfrom
codex/issue-185-enable-production-analytics

Conversation

@JBallin

@JBallin JBallin commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • deploys and verifies the Cloudflare Worker/D1 analytics backend for issue Enable production analytics sends #185
  • enables production analytics sends through the verified workers.dev endpoint and public client token
  • updates backend/analytics docs from setup-gated wording to the durable production state

Deployment and Verification

  • Worker URL: https://ballin-scripts-analytics.jballin.workers.dev/v1/events
  • D1 migration applied remotely to ballin-scripts-analytics
  • Worker deploy confirmed ANALYTICS_DB and ANALYTICS_RATE_LIMITER bindings
  • Synthetic checks passed:
    • valid event returned 204
    • missing token returned 401
    • unsupported payload field returned 400
    • invalid command enum returned 400
  • Remote D1 inspection confirmed a 64-character hashed install/day row plus aggregate command/runtime counts only

Local DNS had not propagated yet for the newly registered workers.dev hostname during verification, so the synthetic requests used the real HTTPS hostname with curl --resolve pinned to a Cloudflare DNS result.

Validation

  • npm test passed: 223 passing

Closes #185.
Updates #82.

@JBallin JBallin marked this pull request as ready for review June 30, 2026 03:39
@JBallin JBallin merged commit 1d7148a into main Jun 30, 2026
4 checks passed
@JBallin JBallin deleted the codex/issue-185-enable-production-analytics branch June 30, 2026 04:00
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.

Enable production analytics sends

1 participant