Skip to content

scripts: add backfill_meter_events script#8798

Merged
Yopi merged 1 commit intomainfrom
yopi/add-event-meter-materialization-3
Jan 7, 2026
Merged

scripts: add backfill_meter_events script#8798
Yopi merged 1 commit intomainfrom
yopi/add-event-meter-materialization-3

Conversation

@Yopi
Copy link
Contributor

@Yopi Yopi commented Jan 7, 2026

Add a script to backfill the meter_events table for all existing meters. The script processes each meter and creates meter_events for matching events that don't already have entries.

The script is idempotent (safe to rerun via on_conflict_do_nothing).

Split out from #8790

Add a script to backfill the meter_events table for all existing meters.
The script processes each meter and creates meter_events for matching
events that don't already have entries.

The script is idempotent (safe to rerun via on_conflict_do_nothing).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Jan 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Review Updated (UTC)
polar Ignored Ignored Jan 7, 2026 1:31pm
polar-sandbox Ignored Ignored Jan 7, 2026 1:31pm

@Yopi Yopi merged commit 5b69b40 into main Jan 7, 2026
15 checks passed
@Yopi Yopi deleted the yopi/add-event-meter-materialization-3 branch January 7, 2026 13:40
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