Skip to content

feat(analytics): prepare observable production gateway - #36

Merged
yaacovcorcos merged 1 commit into
mainfrom
codex/analytics-production-20260908
Sep 8, 2026
Merged

feat(analytics): prepare observable production gateway#36
yaacovcorcos merged 1 commit into
mainfrom
codex/analytics-production-20260908

Conversation

@yaacovcorcos

Copy link
Copy Markdown
Contributor

Summary

Prepare the existing desktop analytics gateway for an owner-approved production activation without enabling ingress or export yet. Configure the non-secret PostHog project ID, require the two production PostHog secrets, expose Cloudflare Worker version metadata in health, and correct the advertised maximum contract revision to revision 3.

Safety

Both desktop production gates remain false. This PR does not apply D1 migrations, deploy the Worker, change secrets, or accept production desktop events.

Validation

  • full website formatting, typecheck, Worker type generation, tests, Astro build, and Pages Functions build
  • 135 tests passed; one opt-in cross-repository test skipped in the ordinary suite
  • cross-repository built desktop worker to local gateway/D1/mocked PostHog proof passed
  • the same proof passed under the actual Electron runtime

Deployment

After merge: apply migrations 0004-0006, deploy this revision with both gates false, configure and qualify deletion credentials, verify health and synthetic delivery, then activate through a separate auditable gate change.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying scientfactory-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1f47dc8
Status: ✅  Deploy successful!
Preview URL: https://18c6ab17.scientfactory-website.pages.dev
Branch Preview URL: https://codex-analytics-production-2.scientfactory-website.pages.dev

View logs

@yaacovcorcos
yaacovcorcos merged commit 9489edc into main Sep 8, 2026
2 checks passed
@yaacovcorcos
yaacovcorcos deleted the codex/analytics-production-20260908 branch September 8, 2026 16:32
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