Skip to content

fix(server): count every promo opening, dedupe only launch - #146

Merged
kipavy merged 1 commit into
mainfrom
fix/count-every-shown
Nov 15, 2026
Merged

kipavy merged 1 commit into
mainfrom
fix/count-every-shown

Conversation

@kipavy

@kipavy kipavy commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

The unique index from migration 075 deduplicated every shown event, so paywall openings after the first were dropped and the funnel showed dismissed rows without a matching shown. Migration 076 narrows the index to launch openings; get_promos returns one seen entry per promo and occurrence (the earliest). Tests added for per-source counting and the single seen entry. 🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kipavy
kipavy merged commit add8e8d into main Nov 15, 2026
1 check passed
@kipavy
kipavy deleted the fix/count-every-shown branch November 15, 2026 11:23
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