Skip to content

Attribute Kingston broad actions to public outreach with daily aggregates - #8

Merged
truegoodcraft merged 1 commit into
mainfrom
codex/kfh-outreach-analytics
Sep 10, 2026
Merged

truegoodcraft merged 1 commit into
mainfrom
codex/kfh-outreach-analytics

Conversation

@truegoodcraft

@truegoodcraft truegoodcraft commented Sep 9, 2026 •

Copy link
Copy Markdown
Member

Kingston's current aggregate report loses action attribution, and all recent campaign labels were untagged. Add strict ingestion v3 for the existing broad actions and a report 1.2 that exposes independent public source/campaign/content totals while keeping historical actions unclassified.

  • Version 1.33.0 → 1.34.0; SOT, CHANGELOG, measurement contract, operations and release review updated.
  • Add only reddit, outreach_2026_09 and post_02 labels. Preserve strict v1/v2 clients and unattributed installation signals.
  • Add unapplied migration 0017 for kfh_outreach_daily; atomically write its independent margins and original totals. Keep original-table page labels compatible with a rollback Worker; migration 0016 stays unchanged.
  • Reconcile page discovery and each outreach margin, expose classified/unclassified counts, prune both tables at 400 days, and return unavailable/null on missing schema or corrupt/inconsistent data.
  • No raw events, identifiers, provider/destination context, combined source/campaign/content history, new secrets, bindings, routes, dependency versions or other reporting changes.

Validation: typecheck and 214 tests passed, including SQL constraints, atomic two-table rollback, mixed legacy/v3 history, migration reapplication/missing migration, retention and report validation. Shared validators and all seven fixtures match Smith exactly. No remote database mutation or production analytics request was made.

Release gate: deploy Smith 0.29.0 first. After owner review, merge this PR, apply exactly migration 0017 to the existing Lighthouse DB after checking pending migrations, verify its receipt, then dispatch the existing Deploy Lighthouse to Cloudflare manual main workflow. Deploy Kingston 0.2.0 last. Merging this PR uploads a version only; it does not apply SQL or promote production.

Read-only 2026-09-09 settings verification confirmed both Lighthouse Workers Builds triggers use npx wrangler versions upload. Review publication can create a preview/version. No settings were changed.

Exact files, seven review impacts and rollback.

Coordinated review PRs (release order): Smith #11 → Lighthouse #8 (migration + manual promotion) → Kingston #2.

GitHub validation: Governance Validation passed on the proposed commit.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
buscore-lighthouse 4b82797 Commit Preview URL

Branch Preview URL
Sep 09 2026, 11:54 PM

@truegoodcraft
truegoodcraft marked this pull request as ready for review September 10, 2026 00:05
@truegoodcraft
truegoodcraft merged commit cf00258 into main Sep 10, 2026
2 checks passed
@truegoodcraft
truegoodcraft deleted the codex/kfh-outreach-analytics branch September 10, 2026 00:05
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