Skip to content

fix(analytics): report the shared contract revision in health - #40

Merged
yaacovcorcos merged 1 commit into
mainfrom
fix/health-contract-revision-20260909
Sep 9, 2026
Merged

fix(analytics): report the shared contract revision in health#40
yaacovcorcos merged 1 commit into
mainfrom
fix/health-contract-revision-20260909

Conversation

@yaacovcorcos

@yaacovcorcos yaacovcorcos commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

The analytics health endpoint reported revision 3 while its validator supported revision 4. It now reads ANALYTICS_CONTRACT_REVISION from the generated shared contract, so the health response follows the desktop producer version.

Validation: 32 gateway/contract tests passed, including the health response assertion; Worker TypeScript check and generated-source parity passed. No analytics permissions, activation flags, or notification behavior changes.

Documentation impact: None — corrects technical status metadata without changing collection or user workflows.

Companion desktop PR: ScientFactory/scient-desktop#271 moves the existing constant into the source of the generated contract. Either merge order is compatible.

Reviewed by GPT-6 in Codex desktop. CI provides full repository qualification.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying scientfactory-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5897222
Status: ✅  Deploy successful!
Preview URL: https://98f0d4ea.scientfactory-website.pages.dev
Branch Preview URL: https://fix-health-contract-revision.scientfactory-website.pages.dev

View logs

@yaacovcorcos
yaacovcorcos merged commit 7e6691d into main Sep 9, 2026
2 checks passed
@yaacovcorcos
yaacovcorcos deleted the fix/health-contract-revision-20260909 branch September 9, 2026 11:56
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